Skip to content

[9.3.0] Register discovered headers for path mapping - #30442

Open
fmeum wants to merge 2 commits into
bazelbuild:release-9.3.0from
fmeum:30308-cherry
Open

[9.3.0] Register discovered headers for path mapping#30442
fmeum wants to merge 2 commits into
bazelbuild:release-9.3.0from
fmeum:30308-cherry

Conversation

@fmeum

@fmeum fmeum commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

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

  • I have added tests for the new use cases (if any).
  • I have updated the documentation (if applicable).

RELNOTES: None

Closes #29547.

PiperOrigin-RevId: 949155011
Change-Id: I7f5a8e2194d8a98c9d9f253d875265c51074229c (cherry picked from commit deaa7a9)

Closes #30308

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
@fmeum
fmeum requested a review from a team as a code owner July 23, 2026 13:59
@fmeum
fmeum requested a review from trybka July 23, 2026 13:59
@github-actions github-actions Bot added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Jul 23, 2026
@trybka

trybka commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

I assume the test failures are unrelated, but could you take a look?

@fmeum

fmeum commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author

@trybka They are now showing up on more 9.3.0 PRs. They are unrelated.

@Wyverald @tjgq

@iancha1992
iancha1992 enabled auto-merge July 28, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-Configurability platforms, toolchains, cquery, select(), config transitions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants