Skip to content

[llvm][cas] Extend on-disk CAS validation to ActionCache #10406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

benlangmuir
Copy link

Validate the ActionCache hash-mapped trie structure and sanity check the resulting values. Unlike the CAS itself there is no direct way to check the values are "correct", but at least we can check for invalid zero offsets, which is what we would get if we dropped page writes or truncated the file.

Validate the ActionCache hash-mapped trie structure and sanity check the
resulting values. Unlike the CAS itself there is no direct way to check
the values are "correct", but at least we can check for invalid zero
offsets, which is what we would get if we dropped page writes or
truncated the file.
@benlangmuir
Copy link
Author

@swift-ci please test llvm

@benlangmuir
Copy link
Author

The hanging test on macOS appears to be in clangd.

@benlangmuir benlangmuir merged commit aa5fcf6 into swiftlang:next Apr 2, 2025
1 of 2 checks passed
@benlangmuir benlangmuir deleted the validate-ac branch April 2, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants