Bazel: remote: treat failed actions as a cache miss

Created on 16 Jan 2019  路  1Comment  路  Source: bazelbuild/bazel

If a remote cache returns a failed action (exit code != 0) then Bazel should treat this as a cache miss and attempt to re-execute the action. See for details https://gitlab.com/BuildGrid/buildgrid/issues/151

P1 team-Remote-Exec bug

Most helpful comment

We need to fix this for remote execution and caching across all protocols. In the case of remote execution, we'll also need to set skip_cache_lookup to true in order to ensure re-execution.

>All comments

We need to fix this for remote execution and caching across all protocols. In the case of remote execution, we'll also need to set skip_cache_lookup to true in order to ensure re-execution.

Was this page helpful?
0 / 5 - 0 ratings