Skip to content

Allow --experimental_remote_cache_compression to be used as common option #14802

@keith

Description

@keith

If you'd like to always enable --experimental_remote_cache_compression it's natural to put it in your .bazelrc as:

common --experimental_remote_cache_compression

But this ends up breaking commands that don't support this flag:

% bazel help
INFO: Reading rc options for 'help' from .../.bazelrc:
  Inherited 'common' options: --experimental_remote_cache_compression
ERROR: --experimental_remote_cache_compression :: Unrecognized option: --experimental_remote_cache_compression

It would be great if this flag was ignored instead as others such as --experimental_downloader_config are.

What's the output of bazel info release?

release 5.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)team-Remote-ExecIssues and PRs for the Execution (Remote) teamtype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions