Skip to content

Conversation

@coeuvre
Copy link
Member

@coeuvre coeuvre commented Dec 3, 2025

Currently, if the endpoint specified by --remote_cache is not available at the start of the build, the build fails with a message saying that the remote cache is not available.

This change introduces a new flag --incompatible_remote_local_fallback_for_remote_cache, which when combined with --remote_local_fallback, allow build to continue build even if the remote cache is not available initially.

Fixes #27734, #25965.

available at the start of the build.

Currently, if the endpoint specified by `--remote_cache` is not
available at the start of the build, the build fails with a message
saying that the remote cache is not available.

This change introduces a new flag `--incompatible_remote_local_fallback_for_remote_cache`,
which when combined with `--remote_local_fallback`, allow build to
continue build even if the remote cache is not available initially.
@coeuvre coeuvre requested a review from a team as a code owner December 3, 2025 15:50
@github-actions github-actions bot added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Dec 3, 2025
@coeuvre coeuvre requested a review from tjgq December 3, 2025 15:51
@coeuvre
Copy link
Member Author

coeuvre commented Dec 3, 2025

@bazel-io fork 9.0.0

@tjgq tjgq changed the title Add an option to continue local execution if remote cache is not Add option to continue with local execution if remote cache is unavailable. Dec 11, 2025
@tjgq tjgq added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 11, 2025
@linzhp
Copy link
Contributor

linzhp commented Dec 12, 2025

Are we planning to release 8.4.3 or 8.5.1 to include this? So we don't need to wait for 8.6.0

@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Dec 15, 2025
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Dec 15, 2025
…lable.

Currently, if the endpoint specified by `--remote_cache` is not available at the start of the build, the build fails with a message saying that the remote cache is not available.

This change introduces a new flag `--incompatible_remote_local_fallback_for_remote_cache`, which when combined with `--remote_local_fallback`, allow build to continue build even if the remote cache is not available initially.

Fixes bazelbuild#27734, bazelbuild#25965.

Closes bazelbuild#27846.

PiperOrigin-RevId: 844783391
Change-Id: Id414458b27c2673318ac9767d07bd54887a74e45
linzhp pushed a commit to linzhp/bazel that referenced this pull request Dec 15, 2025
…lable.

Currently, if the endpoint specified by `--remote_cache` is not available at the start of the build, the build fails with a message saying that the remote cache is not available.

This change introduces a new flag `--incompatible_remote_local_fallback_for_remote_cache`, which when combined with `--remote_local_fallback`, allow build to continue build even if the remote cache is not available initially.

Fixes bazelbuild#27734, bazelbuild#25965.

Closes bazelbuild#27846.

PiperOrigin-RevId: 844783391
Change-Id: Id414458b27c2673318ac9767d07bd54887a74e45
@iancha1992
Copy link
Member

@bazel-io fork 8.6.0

bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Dec 15, 2025
…lable.

Currently, if the endpoint specified by `--remote_cache` is not available at the start of the build, the build fails with a message saying that the remote cache is not available.

This change introduces a new flag `--incompatible_remote_local_fallback_for_remote_cache`, which when combined with `--remote_local_fallback`, allow build to continue build even if the remote cache is not available initially.

Fixes bazelbuild#27734, bazelbuild#25965.

Closes bazelbuild#27846.

PiperOrigin-RevId: 844783391
Change-Id: Id414458b27c2673318ac9767d07bd54887a74e45
github-merge-queue bot pushed a commit that referenced this pull request Dec 15, 2025
…s unavailable (#27996)

Cherry-picking #27846.

---------

Co-authored-by: Chi Wang <coeuvre@gmail.com>
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2025
…s unavailable. (#28001)

Currently, if the endpoint specified by `--remote_cache` is not
available at the start of the build, the build fails with a message
saying that the remote cache is not available.

This change introduces a new flag
`--incompatible_remote_local_fallback_for_remote_cache`, which when
combined with `--remote_local_fallback`, allow build to continue build
even if the remote cache is not available initially.

Fixes #27734, #25965.

Closes #27846.

PiperOrigin-RevId: 844783391
Change-Id: Id414458b27c2673318ac9767d07bd54887a74e45

Commit
461c074

Co-authored-by: Chi Wang <coeuvre@gmail.com>
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2025
…s unavailable. (#27990)

Currently, if the endpoint specified by `--remote_cache` is not
available at the start of the build, the build fails with a message
saying that the remote cache is not available.

This change introduces a new flag
`--incompatible_remote_local_fallback_for_remote_cache`, which when
combined with `--remote_local_fallback`, allow build to continue build
even if the remote cache is not available initially.

Fixes #27734, #25965.

Closes #27846.

PiperOrigin-RevId: 844783391
Change-Id: Id414458b27c2673318ac9767d07bd54887a74e45

Commit
461c074

Co-authored-by: Chi Wang <coeuvre@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Remote-Exec Issues and PRs for the Execution (Remote) team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote gRPC cache failure fails the build

4 participants