)]}'
{
  "commit": "2ec2e09cd3cc7d77945d09b852c2696cd671eb00",
  "tree": "6f1586de113a66b1eb9bff151c554d741e287cca",
  "parents": [
    "d310c2afc462665b1db53c9fb951c236842f803c"
  ],
  "author": {
    "name": "Chris Burr",
    "email": "christopher.burr@cern.ch",
    "time": "Wed Oct 28 09:21:20 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Oct 28 09:22:46 2026 -0700"
  },
  "message": "Let integration tests reuse the pkg directory of earlier tests (#953)\n\nTests in the same shard of `cc_integration_test` share the scratch workspace, and some leave a `pkg` directory behind. For example, `test_cc_toolchain_asan_feature` does so on macOS, where it assumes libasan is installed. Four tests still created it with a plain `mkdir pkg`, so they failed with `mkdir: pkg: File exists` whenever a test like that ran before them in the same shard. Which tests share a shard depends on the number of tests, so adding an unrelated test can trigger this. That happened in #948, where `test_env_inherit_cc_test` started failing on macOS.\n\nThis uses `mkdir -p pkg` in those tests, like the rest of the file.\n\nCloses #953\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/953 from chrisburr:integration-test-mkdir-p 2d8bb3ee20f8189cf215226c5cf8ca9dc105499c\nPiperOrigin-RevId: 1008964294\nChange-Id: Idfd3b277f5d93684c5033d5916889382544fed07\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b46d7b5b06b81d6218195c82b76fbae91552bafc",
      "old_mode": 33261,
      "old_path": "tests/integration/cc_integration_test.sh",
      "new_id": "4b7e3967255371d3b1032f0882aa3eea6f5ac8b3",
      "new_mode": 33261,
      "new_path": "tests/integration/cc_integration_test.sh"
    }
  ]
}
