)]}'
{
  "commit": "3896dbd05bd3a210e27a5b428eb90058be820353",
  "tree": "8b11cd40c68e27a084a2f52607d1e55727181fa9",
  "parents": [
    "c3b4c528b3341ecd81f21caa6c41e333c3773282"
  ],
  "author": {
    "name": "Pete Dietl",
    "email": "petedietl@gmail.com",
    "time": "Wed Nov 18 07:50:13 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 18 07:50:13 2026 +0000"
  },
  "message": "fix(uv): make lock .update refuse arguments instead of ignoring them (#4526)\n\nThe `.update` target of `lock()` copies the lock file that the build\naction already produced into the source tree, so arguments given to it\ncan never reach `uv`; the docstring says as much. It accepted and\nsilently dropped them, though. `bazel run //:requirements.update --\n--upgrade-package foo` exited 0 and reported a copy, and the package was\nnot upgraded.\n\n`.update` now exits with status 2 when given any argument and prints the\nequivalent `.run` command, which passes the arguments to `uv`. Without\narguments, `.update` and the test that wraps it behave as before.",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "854e9b3b9648c1075f0b06d44c1cfcc5b7fa93f1",
      "new_mode": 33188,
      "new_path": "news/uv-lock-update-arguments.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "8756fc4de62b1f42244dfac3aad467ae123d3225",
      "old_mode": 33188,
      "old_path": "python/uv/private/template/lock_copier.py",
      "new_id": "df2f11dd7228a6ec0ddfe9f3468b9945fe1e2936",
      "new_mode": 33188,
      "new_path": "python/uv/private/template/lock_copier.py"
    },
    {
      "type": "modify",
      "old_id": "5e077ae7096eda0346b05f048d1d5b6a639082fc",
      "old_mode": 33188,
      "old_path": "tests/uv/lock/lock_run_test.py",
      "new_id": "124166b26c9fcb55fbda215339da3ae8e4172dee",
      "new_mode": 33188,
      "new_path": "tests/uv/lock/lock_run_test.py"
    }
  ]
}
