Skip to content
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

[8.0.0-pre.20240805.3] Be resilient to outdated exec paths in action cache entries #23269

Conversation

keertk
Copy link
Member

@keertk keertk commented Aug 12, 2024

60924fd changed the canonical repo name separator from ~ to +. Older repo names containing ~ now trigger a syntax error. If an action cache entry refers to an exec path from a previous version of Bazel that used ~, we need to be resilient and treat the cache entry as corrupted, rather than just crash.

Fixes #23180.

Closes #23227.

PiperOrigin-RevId: 660105601
Change-Id: Iea5d86c635056d12ba20598383da463bdde03ab0

60924fd changed the canonical repo name separator from `~` to `+`. Older repo names containing `~` now trigger a syntax error. If an action cache entry refers to an exec path from a previous version of Bazel that used `~`, we need to be resilient and treat the cache entry as corrupted, rather than just crash.

Fixes #23180.

Closes #23227.

PiperOrigin-RevId: 660105601
Change-Id: Iea5d86c635056d12ba20598383da463bdde03ab0
@keertk keertk requested a review from lberki as a code owner August 12, 2024 13:27
@keertk keertk requested review from meteorcloudy and fweikert and removed request for lberki August 12, 2024 13:27
@github-actions github-actions bot added team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels Aug 12, 2024
@keertk keertk enabled auto-merge (squash) August 12, 2024 13:28
@meteorcloudy meteorcloudy changed the title Be resilient to outdated exec paths in action cache entries [release-8.0.0-pre.20240805.3] Be resilient to outdated exec paths in action cache entries Aug 12, 2024
@meteorcloudy meteorcloudy changed the title [release-8.0.0-pre.20240805.3] Be resilient to outdated exec paths in action cache entries [8.0.0-pre.20240805.3] Be resilient to outdated exec paths in action cache entries Aug 12, 2024
@keertk keertk merged commit 26cf11e into bazelbuild:release-8.0.0-pre.20240805.3rc1 Aug 12, 2024
52 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants