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

[7.4.0] Support layering_check with C++ path mapping #23671

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 19, 2024

Users can opt into path mapping for C++ module map actions via --modify_execution_info=CppModuleMap=+supports-path-mapping. This is achieved by mapping paths in the module map files as well as converting the sequence variable for module map paths to a new structured ArtifactSequenceVariable.

Also makes it so that ExecutionServer gracefully handles failing commands instead of crashing.

Closes #22957.

PiperOrigin-RevId: 675073116
Change-Id: I13835c7fb01354a89ec5fd141cf892c6b733efe4

Fixes #23178

Users can opt into path mapping for C++ module map actions via `--modify_execution_info=CppModuleMap=+supports-path-mapping`. This is achieved by mapping paths in the module map files as well as converting the sequence variable for module map paths to a new structured `ArtifactSequenceVariable`.

Also makes it so that `ExecutionServer` gracefully handles failing commands instead of crashing.

Closes bazelbuild#22957.

PiperOrigin-RevId: 675073116
Change-Id: I13835c7fb01354a89ec5fd141cf892c6b733efe4
@fmeum fmeum requested a review from a team as a code owner September 19, 2024 08:37
@fmeum fmeum changed the title Support layering_check with C++ path mapping [7.4.0] Support layering_check with C++ path mapping Sep 19, 2024
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Remote-Exec Issues and PRs for the Execution (Remote) team team-Rules-CPP Issues for C++ rules labels Sep 19, 2024
@fmeum fmeum requested a review from comius September 19, 2024 09:17
@iancha1992 iancha1992 added this pull request to the merge queue Sep 23, 2024
@comius comius added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Sep 23, 2024
Merged via the queue into bazelbuild:release-7.4.0 with commit fd83239 Sep 23, 2024
51 checks passed
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Sep 23, 2024
@fmeum fmeum deleted the 23178-cherry branch September 23, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants