)]}'
{
  "commit": "5360e8844ec454d19fb91acc2b1d408b8cb5c2d6",
  "tree": "414405d8586d0df43e848b69231d5423f8734008",
  "parents": [
    "29e1c6a0fc149dc108dfff122bd6aac5efbe85b5"
  ],
  "author": {
    "name": "Xinhao Yuan",
    "email": "xinhaoyuan@google.com",
    "time": "Fri Nov 20 16:02:09 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Nov 20 18:33:04 2026 -0800"
  },
  "message": "Report errors from the engine worker in a separate error description file.\n\nErrors and findings used to share the failure description file, so they had\nto coordinate on who writes it, and an error could be lost or mixed with a\nfinding. Now the controller passes `error_description_path` to the test\nbinary, and the engine worker writes the first error there, without touching\nthe failure description and signature of findings.\n\nOn a failed batch, the controller takes the error description and the\nfailure description and signature: each file is renamed to a temporary path\nfirst, and is read and removed only if the renaming succeeds, so that\nnothing written in between is lost. If there is an error description, it is\nreported as a setup failure, ignoring any finding. Before starting a new\nprocess of the test binary, the controller removes the files left by a\nprevious process. Test binaries that write `SETUP FAILURE: ...` to the\nfailure description keep working.\n\nNote that it is still possible for the worker to leave partially written\nfailure/error files due to concurrent failures/errors. This would be\naddressed in another CL.\n\nAlso add tests for how the engine worker reports errors.\n\nPiperOrigin-RevId: 1026818201\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "12a87f803e61f7517d8a184e52ea99402686c11f",
      "old_mode": 33188,
      "old_path": "centipede/BUILD",
      "new_id": "54fbef6a5796d96853660e2d245c2609aae42531",
      "new_mode": 33188,
      "new_path": "centipede/BUILD"
    },
    {
      "type": "modify",
      "old_id": "1a79da227f368dfae21895f0fb16d3fc7c6cdd05",
      "old_mode": 33188,
      "old_path": "centipede/centipede_callbacks.cc",
      "new_id": "305f3d457efa21ae70b44248dd99ef14570030e2",
      "new_mode": 33188,
      "new_path": "centipede/centipede_callbacks.cc"
    },
    {
      "type": "modify",
      "old_id": "38d6bc35ceb034c23a606c405208f100ced7d1f1",
      "old_mode": 33188,
      "old_path": "centipede/centipede_callbacks.h",
      "new_id": "30438a88ad1c000a7b6e8e3be28044af11e537db",
      "new_mode": 33188,
      "new_path": "centipede/centipede_callbacks.h"
    },
    {
      "type": "modify",
      "old_id": "d7fe79a204e3eab308f331c3290e80801196c4fa",
      "old_mode": 33188,
      "old_path": "centipede/centipede_test.cc",
      "new_id": "883632ce2d0bbfe696537a62bca83afa238246c5",
      "new_mode": 33188,
      "new_path": "centipede/centipede_test.cc"
    },
    {
      "type": "modify",
      "old_id": "df6910ecab3828c810ff49825efe9a131c0001a7",
      "old_mode": 33188,
      "old_path": "centipede/engine_worker.cc",
      "new_id": "a857a5937c78f1a8b1250e7cd2276df0206f96c1",
      "new_mode": 33188,
      "new_path": "centipede/engine_worker.cc"
    },
    {
      "type": "modify",
      "old_id": "83af2dd25cc958233325ae3ccb206c648232e424",
      "old_mode": 33188,
      "old_path": "centipede/testing/BUILD",
      "new_id": "f7d5bd0b18b41621d2b9567771f46fd8741a42ad",
      "new_mode": 33188,
      "new_path": "centipede/testing/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "233c855b28b1ab28e8a8fb86d5363b4d6f9e3720",
      "new_mode": 33188,
      "new_path": "centipede/testing/test_binary_for_engine_worker_diagnostics.cc"
    },
    {
      "type": "modify",
      "old_id": "abfc8d5237763e9eeded72de02b02e1f46e45aaa",
      "old_mode": 33188,
      "old_path": "rust/e2e_tests/worker_with_centipede_test.rs",
      "new_id": "56fc2d4ae8d384ccb627ad1918bd032fc3437069",
      "new_mode": 33188,
      "new_path": "rust/e2e_tests/worker_with_centipede_test.rs"
    }
  ]
}
