Skip to content

Add option to fail build if remote server is set but is not immediately reachable / getCapabilities() initial grpc call fails #25965

@oliviernotteghem

Description

@oliviernotteghem

Description of the feature request:

Current behavior is for bazel to display an error message in output, and proceed running entire build without remote cache. This leads to user experiencing huge build time, without knowing everything is being rebuilt on your machine. We'd like an option to fail the build immediately and force user to retry.

We also suspect cases where user briefly loosing internet connectivity in the middle of a bazel build, which disabled remote cache for the rest of the build.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions