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.1.0] Fix a hanging issue with skymeld & --combined_report=lcov. #21271

Merged
merged 1 commit into from
Feb 12, 2024

Commits on Feb 9, 2024

  1. Fix a hanging issue with skymeld & --combined_report=lcov.

    With Skymeld, the combined report is done right before the end of the build. This works fine except for a buggy case:
    - `--nokeep_going`
    - when there's an error that the Coverage action transitively depends on
    - The error would try to interrupt the build, and since we evaluate coverage actions uninterruptibly (consistent with the noskymeld behavior), we're stuck in an infinite loop [1].
    
    This happened because we did not fail fast like we should have. This CL fixes the issue by checking, before generating the combined report, whether we should fail fast.
    
    Fixes bazelbuild#21154
    
    [1] https:/bazelbuild/bazel/blob/026f493a5a403fa5d770cae0b3a3baf8dcf33488/src/main/java/com/google/devtools/build/lib/concurrent/Uninterruptibles.java#L33-L39
    
    PiperOrigin-RevId: 605572100
    Change-Id: I8d57dacca58358771799161352819ec65bef6ac2
    joeleba authored and bazel-io committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ce8a6ab View commit details
    Browse the repository at this point in the history