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

[6.1.0]Make bazel coverage work with minimal mode #17322

Closed
wants to merge 2 commits into from
Closed

[6.1.0]Make bazel coverage work with minimal mode #17322

wants to merge 2 commits into from

Conversation

ShreeM01
Copy link
Contributor

This PR solves the problem in a different way that #16475 tries to solve:

  1. Only inject metadata for outputs that cannot be reconstructed by skyframe later #16812 allows skyframe read metadata from ActionFS.
  2. Use ActionFileSystem to check existence of coverage data.
  3. Fire event CoverageReport in the action after the coverage report is generated and listen to it in ToplevelArtifactsDownloader to download the report.

Closes #16556.

PiperOrigin-RevId: 502854552
Change-Id: I2796baaa962857831ff161423be6dffa6eb73e5c

coeuvre and others added 2 commits January 25, 2023 11:34
This PR solves the problem in a different way that #16475 tries to solve:

1. #16812 allows skyframe read metadata from ActionFS.
2. Use `ActionFileSystem` to check existence of coverage data.
3. Fire event `CoverageReport` in the action after the coverage report is generated and listen to it in `ToplevelArtifactsDownloader` to download the report.

Closes #16556.

PiperOrigin-RevId: 502854552
Change-Id: I2796baaa962857831ff161423be6dffa6eb73e5c
@ShreeM01 ShreeM01 requested a review from tjgq January 25, 2023 19:36
@ShreeM01 ShreeM01 closed this Jan 25, 2023
@ShreeM01 ShreeM01 deleted the ks.cherry-pick16556 branch January 25, 2023 21:15
@ShreeM01 ShreeM01 removed the request for review from tjgq January 25, 2023 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants