Repository navigation
fix(deps): remove the yanked core2 dependency - #655
Merged
Merged
Conversation
Contributor
jatmn
approved these changes
Dec 1, 2026
jatmn
left a comment
Collaborator
There was a problem hiding this comment.
🟢 Thanks for the contribution. I do not see any actionable issues from my review.
Merge readiness
- Review gate: GitHub reports
mergeStateStatus: BLOCKEDwhile the diff isMERGEABLEand CI is green — expect an approving review (or branch policy) before merge. - Allowlist hygiene (optional, non-blocking):
scripts/check-twigpine-core-deps.shprints a 13-crate NOTE (includingcore2andmultihash-codetable) becauseci/twigpine-core-allowed-deps.txtwas not regen’d in this PR. CI still passes by design (stale rows are informational). Pruning those rows per the header regen command would restore the allowlist as live closure truth and close the reintroduction blind spot for those crate names. - Lockfile collateral: The PR lock hunk also moves
data-encoding-macro-internalfromsyn 2.0.117tosyn 1.0.109when the codetable proc-macro subgraph drops — incidental resolver fallout, not a shown runtime defect (twigpine-corecid::tests pass). Worth a one-line PR note if you want reviewers to expect it. - PR template: CodeRabbit noted missing template sections (kind of change,
Closes #, checklist). Non-blocking given the body’s technical summary and CI evidence.
…-codetable Removing multihash-codetable drops 13 crates from twigpine-core's normal dependency closure on every target (core2 and the multihash-derive proc-macro chain). Leaving them listed meant a reintroduced core2 would still pass the purity gate. curve25519-dalek-derive stays: curve25519-dalek only depends on it on x86_64, so a non-x86_64 local run reports it stale while CI needs it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update CID to 0.11.3 and drop
multihash-codetablewithout changing Git object CIDs.Motivation & context
core2 was yanked and is unmaintained.
Kind of change
What changed
multihash-codetablefrom the workspace andtwigpine-coremanifests.twigpine-core. A known vector checks that the output stays the same.ci/twigpine-core-allowed-deps.txtthat left thetwigpine-coredependency closure withmultihash-codetable(core2and themultihash-deriveproc-macro chain), so the purity gate fails ifcore2comes back.curve25519-dalek-derivestays:curve25519-dalekdepends on it only on x86_64, so a run on another architecture lists it as stale while CI needs it.How a reviewer can verify
Run from the repository root with
DATABASE_URLset to a local Postgres test database andcargo-auditinstalled.Before you request review
cargo test --workspacepasses locallycargo fmt --allandcargo clippy --workspace --all-targets -- -D warningsare cleanfeat(...),fix(...),docs(...)).env.exampleupdated if behavior or config changed (or N/A)Notes for reviewers
The CID vector and dependency allowlist check passed. Postgres workspace tests, fmt, audit, and the Rust 1.91 check passed locally. The hosted
fmt + clippyjob passed.The
Cargo.lockchange also movesdata-encoding-macro-internalfromsyn 2.0.117tosyn 1.0.109once themultihash-codetableproc-macro subgraph is gone. That is resolver fallout, not a code change, and thecid::tests pass.Summary by CodeRabbit