-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #21154 [1] https://github.com/bazelbuild/bazel/blob/026f493a5a403fa5d770cae0b3a3baf8dcf33488/src/main/java/com/google/devtools/build/lib/concurrent/Uninterruptibles.java#L33-L39 PiperOrigin-RevId: 605572100 Change-Id: I8d57dacca58358771799161352819ec65bef6ac2
- Loading branch information
1 parent
9f74a1d
commit 37247d5
Showing
1 changed file
with
41 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters