)]}'
{
  "commit": "8ddaa4a82d082860454d64f9257c9824145a2c49",
  "tree": "85f57aaae63c29078d5a6bc903def5a8563124d9",
  "parents": [
    "0774506565eb1c5371bd79c947a615cf4e3eeb61"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Thu Oct 22 09:51:37 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Oct 22 09:51:37 2026 -0700"
  },
  "message": "build(ci): optimize BuildBuddy RBE caching and inject CI build metadata (#4313)\n\nOptimize remote execution, remote caching, and diagnostic telemetry for\nBuildBuddy invocations across local and CI runs.\n\nInvocation analysis (0a836a44-4d93-4312-b6d1-1e2fffd7a4ff) highlighted\nopportunities to enhance CAS throughput with compression and chunking,\nprevent build failures from CAS eviction through lost-input rewinding,\nand collect rich diagnostic and profiling traces for the BuildBuddy UI.\nAdditionally, GitHub Actions runs previously lacked build metadata to\ncorrelate invocations with workflows and PRs, and developers needed an\nautomated, secret-safe method to link workspace credentials.\n\nTo address this, enable remote cache compression, experimental chunking,\nlost-input rewinding, diagnostic logging (bazel-remote-grpc.log and\nbazel-execution-log.binpb.zst), and detailed execution profiling in\n_buildbuddy_base. In setup-bazel, inject non-secret CI build metadata\n(ROLE, VISIBILITY, commit SHA, PR number, branch name, run ID, actor,\nand GHA workflow run links) unconditionally on build. Replace the legacy\nshell script with a standalone Python client setup script to configure\nGit triangle tracking and symlink user.bazelrc cleanly.\n\nWork towards #4289, #4300, #4304.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "20d80274828723360e6166c6c2797e39e0febe76",
      "old_mode": 33188,
      "old_path": ".agents/rules/workspace.md",
      "new_id": "7f87eba3b2a72b95920c9d37ece8011035fd3446",
      "new_mode": 33188,
      "new_path": ".agents/rules/workspace.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dc031c54f1c029b616d771ce12b4a3c339ff9def",
      "new_mode": 33261,
      "new_path": ".agents/scripts/setup_client.py"
    },
    {
      "type": "delete",
      "old_id": "b6bdc2bb2077e28165b18efcc120eca9a20b1704",
      "old_mode": 33261,
      "old_path": ".agents/scripts/setup_triangle_branch.sh",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "aac5fd6a771c51bee6e63adc5e6d92ae555fc4e7",
      "old_mode": 33188,
      "old_path": ".github/actions/setup-bazel/action.yaml",
      "new_id": "c1ae945f8facaf33a2aaa41bb376a4affeeff488",
      "new_mode": 33188,
      "new_path": ".github/actions/setup-bazel/action.yaml"
    },
    {
      "type": "modify",
      "old_id": "861e70e2cdf23bc10b71c2065469b9c67581c522",
      "old_mode": 33188,
      "old_path": "buildbuddy.bazelrc",
      "new_id": "ae3c88853e6e479d365afda70031f87a0fa2dc72",
      "new_mode": 33188,
      "new_path": "buildbuddy.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "ba04a964c4d99f858e2f3524477152a99cde6e1e",
      "old_mode": 33188,
      "old_path": "tests/workflows/setup_bazel_test.py",
      "new_id": "aebfb635550ab0dfa81ca1ab80e9428d497426a9",
      "new_mode": 33188,
      "new_path": "tests/workflows/setup_bazel_test.py"
    }
  ]
}
