Skip to content

resources:RESOURCE:AMOUNT tags should work for non-test actions #25792

Closed as duplicate

Description

@brentleyjones

Description of the feature request:

The resources:RESOURCE:AMOUNT tags are great for sizing tests, but they don't work for build actions. Currently only resource_sets work for build actions, but that requires adjustment to rules to work, so realistically there is no way to size non-test targets.

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

No response

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?

No response

Activity

  1. added
    untriaged
    on Apr 8, 2025
  2. brentleyjones commented on Apr 8, 2025

    @brentleyjones
    ContributorAuthor

    Though probably #25793 is a better solution.

  3. added
    team-Local-Exec
    on Apr 9, 2025
  4. added
    team-Configurability
    and removed
    team-Local-Exec
    on Apr 15, 2025
  5. DavidANeil commented on Apr 23, 2025

    @DavidANeil

    See also #19679

  6. keith commented on Apr 13, 2026

    @keith
    Member
  7. iancha1992 commented on Jun 26, 2026

    @iancha1992
    Contributor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-Configurabilitytype: feature requestuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions