feat(port): CARGO_CRATES drift check vs Cargo.lock + CI gate #111
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/port-cargo-crates-drift-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #109 (which generated the 346-crate CARGO_CRATES block). Make that
list self-maintaining so it can't silently drift from the source deps:
workspace-local crates and any git deps) and diffs against the Makefile's
CARGO_CRATES block. Reports MISSING / STALE, exits non-zero on drift. No
network, pure tomllib — runs on any host. Independently confirms #109's list
is complete and correct (346/346 in sync).
portjob (python:3.12) runs the check on every push/PR, so adependency change that forgets
make cargo-cratesfails CI.populated) with accurate regenerate/verify guidance.
document the checker and trim the build steps.
Verified: checker green at 346 crates; both drift directions (missing/stale)
detected in negative tests; ci.yml is valid YAML; port README prettier-clean.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com