Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Pipelines] Work around BuildBuddy CLI signal bug (#55279)
Due to a BuildBuddy CLI bug (buildbuddy-io/buildbuddy#8326), when using `./bazelw run`, we get invoked with the `SIGINT` handler being `SIG_IGN`. This is annoying because it becomes much harder to terminate the process when `SIGINT` is disabled. While less-commonly used, BuildBuddy also disables `SIGTERM` and `SIGQUIT`. Detect this situation and return the state to what it would have been if we had been invoked without the BuildBuddy CLI. Part of AITLIB-132. MODULAR_ORIG_COMMIT_REV_ID: bf1a3105755564fa03eaad2cf7c6e2636418e7a0
- Loading branch information