You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resource use for local actions should be able to be specified via exec_properties (and exec groups) #25793
Right now for test actions you can set resources:RESOURCE:AMOUNT tags to influence local resource allocation for tests. For build targets you can use resource_sets. The tags method doesn't allow assigning the resource allocation to individual actions/exec groups. The resource_sets aren't able to be easily influenced from target definitions. And finally, neither method influences how remote actions are scheduled. Building the capability into exec_properties instead would bring uniformity to how the resource allocation overrides work, allow targeting exec groups, and hint to remote executors on how they should adjust scheduling.
Which category does this issue belong to?
Local Execution, Remote Execution
What underlying problem are you trying to solve with this feature?
Proper sizing of actions both test/non-test and local/remote.
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
A fix for this issue has been included in Bazel 9.2.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=9.2.0rc1. Thanks!
Activity
gregestren commentedon Jul 25, 2025
Self-assigned for triage.
Make local scheduling respect exec_properties resources
keith commentedon Apr 13, 2026
#29284
exec_properties#19805Make local scheduling respect exec_properties resources
Make local scheduling respect exec_properties resources (#29284)
[9.2.0] Make local scheduling respect exec_properties resources (baze…
iancha1992 commentedon Jun 26, 2026
A fix for this issue has been included in Bazel 9.2.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting
USE_BAZEL_VERSION=9.2.0rc1. Thanks!