)]}'
{
  "commit": "bbfb1c70aba03b9a532344cec858e54701a8d5f9",
  "tree": "f01f5a6357b8ae479806e01f3c2d66293e5af76f",
  "parents": [
    "ca1e25d4932ed521324dc6c33d7c64603a4cdf8f"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Sat Nov 14 09:40:45 2026 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Nov 14 09:40:45 2026 -0800"
  },
  "message": "tests: restore MODULE.bazel.lock after bzlmod_lockfile_test failure (#4503)\n\n`bzlmod_lockfile_test` runs with `no-sandbox` and invokes\n`bazel mod deps --lockfile_mode\u003dupdate` in place when\n`bazel test //...` fails. Leaving `MODULE.bazel.lock` modified on disk\nlets `--flaky_test_attempts` retries pass on CI, masking stale lockfile\nfailures, and dirties the local working tree.\n\nWrap the lockfile update in a context manager that restores the\noriginal bytes and `mtime` on exit after reading the updated contents\nfor diff and undeclared-output reporting, and add unit tests covering\nretry failure and restoration.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "950de143683e6bdcf5eb613ac5a4079193104e4a",
      "old_mode": 33188,
      "old_path": "tests/integration/BUILD.bazel",
      "new_id": "3e2e859f3b3b7b04d2b563e25d881bd0dd716e0a",
      "new_mode": 33188,
      "new_path": "tests/integration/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5375d11baf2c9bca592b19e476f0130364a32c41",
      "new_mode": 33188,
      "new_path": "tests/integration/bzlmod_lockfile_runner_test.py"
    },
    {
      "type": "modify",
      "old_id": "650f132f0fda5603cb1cc78366611177795c4e22",
      "old_mode": 33188,
      "old_path": "tests/integration/bzlmod_lockfile_test.py",
      "new_id": "0b500103707670ac1c0da9a4335d6be01fa9e2f3",
      "new_mode": 33188,
      "new_path": "tests/integration/bzlmod_lockfile_test.py"
    }
  ]
}
