bazel-contrib / bazel-contrib/rules_scala
Support worker cancellation
- Dominant language
- Starlark
- Stars
- 384
- Forks
- 292
- Avg merge
- 3d 28m
- Merged PRs (30d)
- 40
Description
**This issue is part of a broader proposal to merge some of the features in [lucidsoftware/rules_scala](https://github.com/lucidsoftware/rules_scala) into this ruleset.**
[The tracking issue for this effort](https://github.com/bazelbuild/rules_scala/issues/1658)
[The relevant proposal section](https://docs.google.com/document/d/12BmUPpJpworA9ep2P_J00TxXwFRBZDQttUCsoYo0Yao/edit?tab=t.0#heading=h.5g9rdoh86mi).
From the [documentation](https://bazel.build/remote/creating#cancellation) on worker cancellation:
> Workers can optionally allow work requests to be cancelled before they finish. This is particularly useful in connection with dynamic execution, where local execution can regularly be interrupted by a faster remote execution. To allow cancellation, add `supports-worker-cancellation: 1` to the execution-requirements field (see below) and set the `--experimental_worker_cancellation` flag.
Worker cancellation will be particularly helpful when using the ruleset with remote execution.
Contributor guide
Assessment
This issue has not been assessed yet.