)]}'
{
  "commit": "4d900ceea12919ad62012830a95e51f9ec1a48bb",
  "tree": "793e672adf20afada88f8cb75094da4da5774945",
  "parents": [
    "07583479224ef9dcd361584b7ea8450607809c5f"
  ],
  "author": {
    "name": "Chi Wang",
    "email": "chiwang@google.com",
    "time": "Fri May 27 22:46:12 2022 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri May 27 15:46:12 2022 -0500"
  },
  "message": "[5.2] Remote: Fix a bug that outputs of actions tagged with no-remote are u... (#15453)\n\n* Remote: Fix a bug that outputs of actions tagged with no-remote are u…\r\n\r\n…ploaded to remote cache when remote execution is enabled.\r\n\r\nFixes https://github.com/bazelbuild/bazel/issues/14900.\r\n\r\nAlso fixes an issue that action result from just remotely executed action is not saved to disk cache. The root cause is the action result is inlined in the execution response hence not downloaded through remote cache, hence not saved to disk cache. This results in the second build misses the disk cache, but it can still hit the remote cache and fill the disk cache. The third build can hit disk cache.\r\n\r\nCloses #15212.\r\n\r\nPiperOrigin-RevId: 441426469\r\n\r\n* Fix test\r\n\r\nCo-authored-by: Chenchu K \u003cckolli@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae57825d11a2bb7fbf74e912512b7669ea16b2bc",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/ByteStreamBuildEventArtifactUploader.java",
      "new_id": "0e3b79cedf070f1f8fe7500bb1a27f4aa432f932",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/ByteStreamBuildEventArtifactUploader.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e680ea484d818cfa3d5577200a7501d090e1a76a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteAction.java"
    },
    {
      "type": "modify",
      "old_id": "063ff4937153936aa37908b46b74426474fd7704",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteExecutionService.java",
      "new_id": "62fecc7a92cee54dd1eb5904f1b51852ddb5caa5",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteExecutionService.java"
    },
    {
      "type": "modify",
      "old_id": "3222d6a1ecdc27a98bc7cd1f46f497e97bd2ec52",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java",
      "new_id": "3ce198104d2e9d3831e09c87ad016ab28f6f7020",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java"
    },
    {
      "type": "modify",
      "old_id": "d3f0c008726ff6be0700be03a69a512628cb2539",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java",
      "new_id": "8440220704e8f2181e7af2bb1c42d41500d4f85f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java"
    },
    {
      "type": "modify",
      "old_id": "c27eeb90463fbed56140732ab9a459cb9e301457",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/common/RemoteActionExecutionContext.java",
      "new_id": "78cac3980c2a7140d2cb549542084e33ad301c26",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/common/RemoteActionExecutionContext.java"
    },
    {
      "type": "delete",
      "old_id": "1b0994579624903a176c7ac3b1580bc03f2d7c8d",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/common/SimpleRemoteActionExecutionContext.java",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "e5a936cf66d8bc779664ff62ef27619063f845e4",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/disk/DiskAndRemoteCacheClient.java",
      "new_id": "c337a5ebe3cdf14ad21793ca7086a1b463c9cd66",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/disk/DiskAndRemoteCacheClient.java"
    },
    {
      "type": "modify",
      "old_id": "dad364ca44b1be41cd17a22d96a4936904f02c2a",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/remote/RemoteExecutionServiceTest.java",
      "new_id": "9d39facdc6a0cccfafdb9cb7349bab6ad45a5d83",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/remote/RemoteExecutionServiceTest.java"
    },
    {
      "type": "modify",
      "old_id": "3c97b692edb02902adfee0110900e83738ac96ea",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/remote/RemoteSpawnCacheTest.java",
      "new_id": "7a153d64bf1c30037d7f718da1250e667b197fd6",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/remote/RemoteSpawnCacheTest.java"
    },
    {
      "type": "modify",
      "old_id": "8731a7b1a77852b73626546a131363f0e8083858",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/remote/remote_execution_test.sh",
      "new_id": "037a386469dda9ed0a92fd26bc8d238a9689ff67",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/remote/remote_execution_test.sh"
    }
  ]
}
