[9.3.0] Register discovered headers for path mapping - #30442
Open
fmeum wants to merge 2 commits into
Open
Conversation
This PR adds all the discovered headers to the list of artifacts checked for collision by path mapping. This ensure we do not apply path mapping when several of these headers conflict. Otherwise it fails later on, when computing merkle hashes, with a big bad crash. Fixes bazelbuild#29546 Not really. It may silently disable path mapping on actions that used to support it before. - [X] I have added tests for the new use cases (if any). - [X] I have updated the documentation (if applicable). RELNOTES: None Closes bazelbuild#29547. PiperOrigin-RevId: 949155011 Change-Id: I7f5a8e2194d8a98c9d9f253d875265c51074229c (cherry picked from commit deaa7a9) Closes bazelbuild#30308
Contributor
|
I assume the test failures are unrelated, but could you take a look? |
Collaborator
Author
trybka
approved these changes
Jul 23, 2026
iancha1992
enabled auto-merge
July 28, 2026 01:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds all the discovered headers to the list of artifacts checked for collision by path mapping. This ensure we do not apply path mapping when several of these headers conflict. Otherwise it fails later on, when computing merkle hashes, with a big bad crash.
Motivation
Fixes #29546
Build API Changes
Not really. It may silently disable path mapping on actions that used to support it before.
Checklist
RELNOTES: None
Closes #29547.
PiperOrigin-RevId: 949155011
Change-Id: I7f5a8e2194d8a98c9d9f253d875265c51074229c (cherry picked from commit deaa7a9)
Closes #30308