Skip to content

Conversation

@benlangmuir
Copy link
Collaborator

Check that action cache references point to valid CAS objects by ensuring they are contained within the corresponding CAS and also that the offsets match. This prevents accidentally referencing "dead" index records that were not properly flushed to disk, which can lead to the action cache pointing to the wrong data or to garbage data.

rdar://126642956

…refs

Check that action cache references point to valid CAS objects by ensuring they
are contained within the corresponding CAS and also that the offsets match.
This prevents accidentally referencing "dead" index records that were not
properly flushed to disk, which can lead to the action cache pointing to the
wrong data or to garbage data.

rdar://126642956
@benlangmuir benlangmuir force-pushed the validate-action-cache-cas-refs branch from 2761bd7 to 19ffd80 Compare December 11, 2025 00:23
@benlangmuir benlangmuir merged commit a451ff0 into llvm:main Dec 11, 2025
10 checks passed
@benlangmuir benlangmuir deleted the validate-action-cache-cas-refs branch December 11, 2025 17:38
benlangmuir added a commit to swiftlang/llvm-project that referenced this pull request Dec 11, 2025
…refs (llvm#171732)

Check that action cache references point to valid CAS objects by
ensuring they are contained within the corresponding CAS and also that
the offsets match. This prevents accidentally referencing "dead" index
records that were not properly flushed to disk, which can lead to the
action cache pointing to the wrong data or to garbage data.

rdar://126642956
(cherry picked from commit a451ff0)
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