)]}'
{
  "commit": "f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3",
  "tree": "3dc17dc8d81c9123cce57fc10bdce8937b1897ff",
  "parents": [
    "bd8f1e61e15205737058de3362e77bb7b86e089e"
  ],
  "author": {
    "name": "Chi Wang",
    "email": "chiwang@google.com",
    "time": "Sun Nov 07 20:05:55 2021 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Sun Nov 07 20:07:24 2021 -0800"
  },
  "message": "Remote: Fixes an issue when --experimental_remote_cache_async encounter flaky tests.\n\nWhen `--experimental_remote_cache_async` is set, the uploads happened in the background -- usually after spawn execution.\n\nWhen the test is failed and there is another test attempt, the outputs of previous test attempt are moved to other places immediately after spawn execution. This fine when combining `--experimental_remote_cache_async`  because outputs of failed action don\u0027t get uploaded.\n\nHowever, there is an exception that `test.xml` is generated with another spawn before the \"move\" happens. The result of the spawn used to generate `test.xml` is usually \"succeed\" which means Bazel will attempt upload `test.xml` even if the test itself is failed.\n\nThis PR makes the `test.xml` generation spawn ignores remote cache if the test itself is failed.\n\nFixes #14008.\n\nCloses #14220.\n\nPiperOrigin-RevId: 408237437\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1bedef5c5936a687d931e16a0c39e9f2ad2af15b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java",
      "new_id": "569e419566e1eae295d7244584ee7c765ab37018",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java"
    },
    {
      "type": "modify",
      "old_id": "3c5735e39e3f0adad15870721a3165048ac281b9",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/remote/remote_execution_test.sh",
      "new_id": "3a3218cb79f66f456014c3a98fd985fdd27559f4",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/remote/remote_execution_test.sh"
    }
  ]
}
