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.1] Fix symlink planting for multiple aspects #24741

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

bazel-io
Copy link
Member

When Skymeld is enabled, symlinks for external repositories are planted lazily in response to an event sent in BuildDriverFunction. For top-level aspects, this event needs to be sent individually for each aspect as the transitive packages required can differ per aspect. BuildDriverFunction deduplicated all events, including the one for symlink planting, by type, which resulted in missing symlinks for actions registered by the second (and later) aspects.

Fixes #24619

Closes #24676.

PiperOrigin-RevId: 707458188
Change-Id: I9fe523bc746d29e6c6ddb6367e08ce2c6c48c69b

Commit f4b071c

When Skymeld is enabled, symlinks for external repositories are planted lazily in response to an event sent in `BuildDriverFunction`. For top-level aspects, this event needs to be sent individually for each aspect as the transitive packages required can differ per aspect. `BuildDriverFunction` deduplicated all events, including the one for symlink planting, by type, which resulted in missing symlinks for actions registered by the second (and later) aspects.

Fixes bazelbuild#24619

Closes bazelbuild#24676.

PiperOrigin-RevId: 707458188
Change-Id: I9fe523bc746d29e6c6ddb6367e08ce2c6c48c69b
@bazel-io bazel-io requested a review from a team as a code owner December 18, 2024 10:12
@bazel-io bazel-io added team-Local-Exec Issues and PRs for the Execution (Local) team awaiting-review PR is awaiting review from an assigned reviewer labels Dec 18, 2024
@fmeum fmeum requested a review from joeleba December 18, 2024 19:22
@iancha1992 iancha1992 enabled auto-merge December 18, 2024 19:39
@iancha1992 iancha1992 added this pull request to the merge queue Dec 19, 2024
Merged via the queue into bazelbuild:release-8.0.1 with commit 9264ea1 Dec 19, 2024
46 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants