Commit d27c73a
chore(python): uv.lock still resolved 1.0.0, and nothing could see it
The 1.0.1 cut bumped `server/python/pyproject.toml` but not `uv.lock`, which went
on stating `version = "1.0.0"` for the project itself. Found by running the
python lane locally and getting a dirty tree afterwards.
It stayed invisible because no lane runs `uv` with `--locked` or `--frozen`:
plain `uv run` REWRITES a disagreeing lockfile in place, so every lane passes,
the committed file keeps saying something untrue, and the only symptom is a
surprise modified file for whoever next runs the suite. It also is not the
first time — the 1.0.0 cut needed its own follow-up commit
(`e5f39e302 chore(release): uv.lock resolves metaobjects at 1.0.0`), which is
what a step that is easy to skip and impossible to detect looks like on its
second occurrence.
Regenerates the lock and adds `scripts/check-uv-lock-version.sh` to the gates
lane beside the pom and bun version-parity guards, so the third occurrence
fails instead of drifting. Toolchain-free (awk + grep, no uv) so it runs in
`gates` rather than needing the python lane, and the package entry is matched
inside its own `[[package]]` block so a similarly-named dependency cannot be
read instead. Verified by restoring the stale lock: exit 1, naming both
versions and the `uv lock` command that fixes it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTcEKXTQMYt84fAjuw5A2M1 parent e075dab commit d27c73a
3 files changed
Lines changed: 79 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
| |||
709 | 715 | | |
710 | 716 | | |
711 | 717 | | |
| 718 | + | |
712 | 719 | | |
713 | 720 | | |
714 | 721 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments