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.2.0] Do not delay TargetCompleteEvents with coverage #22278

Closed
wants to merge 1 commit into from

Conversation

bazel-io
Copy link
Member

@bazel-io bazel-io commented May 7, 2024

Baseline coverage artifacts are now requested in CompletionFunction to ensure that they are built before the TargetCompleteEvent is generated. This makes it unnecessary to delay sending these events until after a Skymeld build has had the chance to request all coverage artifacts directly, which could only be done after the analysis & execution phase, thus delaying events until the end of the build.

Fixes #21475

Closes #22238.

PiperOrigin-RevId: 631414420
Change-Id: Idc77b6f5c8b5b775e6c69e35c5563f63b3bf974f

Commit fd2cc92

Baseline coverage artifacts are now requested in `CompletionFunction` to ensure that they are built before the `TargetCompleteEvent` is generated. This makes it unnecessary to delay sending these events until after a Skymeld build has had the chance to request all coverage artifacts directly, which could only be done after the analysis & execution phase, thus delaying events until the end of the build.

Fixes bazelbuild#21475

Closes bazelbuild#22238.

PiperOrigin-RevId: 631414420
Change-Id: Idc77b6f5c8b5b775e6c69e35c5563f63b3bf974f
@bazel-io bazel-io requested a review from a team as a code owner May 7, 2024 14:24
@bazel-io bazel-io added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels May 7, 2024
@bazel-io bazel-io requested a review from joeleba May 7, 2024 14:24
@keertk
Copy link
Member

keertk commented May 9, 2024

@joeleba is there another commit that needs to be cherry-picked into 7.2? Can you take a look at the failures please?

@joeleba
Copy link
Member

joeleba commented May 10, 2024

Edit: I manually resolved the conflict here #22315

Hi. Should be this one 84c15a0.
Could you please help me cherrypick it?

@keertk
Copy link
Member

keertk commented May 10, 2024

Closing in favour of #22315

@keertk keertk closed this May 10, 2024
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants