Repository navigation
chore(deps): restore the ADR-0022 tokio LTS pin and enforce it in dependabot - #119
Conversation
…endabot PR #68 (a dependabot patch-and-minor group merge) silently bumped the workspace tokio requirement from ~1.51 to ~1.52, contradicting both ADR-0022 ('a bump to a newer LTS is its own superseding ADR ... never a silent Cargo.lock drift') and the manifest comment that still read 'tilde keeps us on the 1.51.x LTS line'. PR #117 would have repeated the drift to ~1.53. Restore the requirement to ~1.51 (lock at 1.51.4, the latest LTS patch) and add dependabot ignore rules so the pin is enforced by config rather than reviewer memory: tokio minor/major bumps are ignored (patch backports stay enabled, which is the point of the LTS line), and semver-major bumps of the RFC-0003 dalek primitives are ignored because they must move together onto one curve25519-dalek line via a coordinated, ADR-recorded PR (see #115). Claude-Session: https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa Signed-off-by: Gonzalo Fleming <[email protected]>
Review:
|
There was a problem hiding this comment.
Pull request overview
Restores the workspace Tokio dependency policy to match ADR-0022 by pinning the workspace back to the 1.51.x LTS line and adding Dependabot rules that prevent future silent drift off that line (while still permitting patch-level security backports).
Changes:
- Revert
tokioworkspace requirement from~1.52to~1.51. - Regenerate
Cargo.lockto usetokio 1.51.4. - Add Dependabot
ignorerules to block tokio minor/major updates (and dalek major bumps) while keeping patch updates enabled.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Re-pins workspace Tokio to ~1.51 to stay on the ADR-0022 LTS line. |
| Cargo.lock | Updates the resolved Tokio version back to 1.51.4. |
| .github/dependabot.yml | Enforces the pin via config by ignoring tokio minor/major updates (patch still allowed) and ignoring dalek major bumps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Review:
|
What
~1.52→~1.51(lock at 1.51.4, the latest LTS patch). PR chore(deps): Bump the patch-and-minor group with 2 updates #68 — a dependabot group merge — silently drifted the requirement off the LTS line, contradicting ADR-0022 ('a bump to a newer LTS is its own superseding ADR … never a silentCargo.lockdrift') and leaving the manifest comment ('tilde keeps us on the 1.51.x LTS line') stale. chore(deps): Bump the patch-and-minor group across 1 directory with 2 updates #117 would have repeated the drift to~1.53. The comment is now true again.ignorerules so the pin is enforced by config, not reviewer memory:tokio: minor/major ignored — patch updates stay enabled, which is the point of the LTS line (security backports through March 2027 per ADR-0022).x25519-dalek/ed25519-dalek: semver-major ignored — the RFC-0003 primitive majors must move together onto onecurve25519-dalekline via a coordinated, ADR-recorded PR (see chore(deps): Bump x25519-dalek from 2.0.1 to 3.0.0 #115, closed for pulling a duplicate curve core into the pre-auth tree).Why no ADR-0022 erratum
ADR-0015 defines errata as corrections to claims that were wrong at acceptance time. ADR-0022 was never wrong — reality drifted after it. The drift record lives here and in the commit message, which is the correct lane.
Note: the regenerated patch-and-minor dependabot group will re-offer poly1305 0.9.1 (the harmless half of #117) on its own.
https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa