Harden registry package verification#5
Conversation
|
@coderabbitai[bot] please review. |
|
Warning Review limit reached
Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughRegistry packages now use staged ChangesRegistry package integrity
Fingerprint dependency errors
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Publisher
participant LocalRegistry
participant Resolver
participant DigestVerifier
Publisher->>Publisher: stage package and write PACKAGE.sha256
Publisher->>LocalRegistry: finalize publication
Resolver->>LocalRegistry: locate matching package
Resolver->>DigestVerifier: verify PACKAGE.sha256
DigestVerifier-->>Resolver: verified package or digest mismatch
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Action performedReview finished.
|
2ea1df0 to
8d02d8d
Compare
|
CI matches the current main baseline: the same six jobs fail and the same five jobs pass in both runs. The failures are in existing runtime tests and cross-compilation paths outside this PR; cargo test --bin mako passes for the registry changes. Baseline run: https://github.com/loreste/mako/actions/runs/29670786536 |
Hardens registry digest verification across fallback, cache, and build paths. It versions new digests while preserving legacy seals, and rejects reserved or symlinked publish inputs. Tests: cargo test --bin mako passed.