Repository navigation
build(deps): unpack the grovedbg UI with zip 9 instead of zip-extensions - #1023
Conversation
zip-extensions 0.13 pulls zip 6, and its newest release still needs zip ^8.2; both are covered by RUSTSEC-2026-0367, -0368 and -0369. The grovedbg feature now depends on zip 9 (deflate only) and unpacks the embedded GroveDBG archive straight from memory, so the temporary grovedbg.zip file is gone. A test unpacks the bundled archive. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
✅ Final review complete — no blockers (commit 32ef458) · triage: low · Phase 2 only (no Phase 1 for this repository) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1023 +/- ##
========================================
Coverage 93.21% 93.21%
========================================
Files 356 356
Lines 108953 108953
========================================
Hits 101556 101556
Misses 7397 7397
🚀 New features to boost your workflow:
|
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 2 only (no Phase 1 for this repository)
Verified the complete diff at head 32ef458 and the supplied Phase-2 reviewer conclusions; no actionable defects were found. The replacement remains isolated to the optional debugger, preserves the pinned archive and temporary-directory lifecycle, and delegates extraction to zip 9, whose implementation creates the destination directory. Current CI reports successful test shards, linting, formatting, and security audit; PR Hygiene remains pending, and no builds or tests were run locally in this static review.
Review provenance
Source: reviewer 1: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: rust-quality); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff is a small, contained optional-debugger dependency replacement with straightforward in-memory archive extraction and a focused regression test. - Phase 1 reviewers: not run (disabled for this repository)
- Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— architecture-layering (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— rust-quality (completed, effort medium); agentphase2-reviewer
|
Bots are done — your move: post |
6.1.1 carries one change since 6.1.0: the grovedbg feature unpacks the bundled GroveDBG UI with zip 9 instead of zip-extensions/zip 6 (#1023), clearing RUSTSEC-2026-0367, -0368 and -0369. All workspace crates move to 6.1.1; grovedb-bincode and grovedb-bincode-derive stay at 2.1.0. Co-authored-by: Claude Opus 5.5 <[email protected]>
GroveDB 6.1.1 (2128ea18) is 6.1.0 plus dashpay/grovedb#1023: the grovedbg feature unpacks the bundled GroveDBG UI with zip 9 instead of zip-extensions 0.13 / zip 6, which RUSTSEC-2026-0367, -0368 and -0369 cover. zip 6.0.0 and zip-extensions leave Cargo.lock, taking cargo audit from 6 vulnerabilities to 3 (all zip 8.6.0 via tenderdash-proto-compiler). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Basic explanation
What this does: The
grovedbgdebugger feature ships the GroveDBG web UI as a zip file inside the binary and unpacks it to a temp folder when the debugger starts. It did that through thezip-extensionscrate, which depends onzip6. This useszip9 directly instead and dropszip-extensions.Value:
zip6 and 8 are flagged by RUSTSEC-2026-0367, -0368 and -0369 (extraction can follow symlinks or keep setuid bits). Nozip-extensionsrelease supportszip9 yet, so this is the only way to clear the advisory for GroveDB and for Platform, whose nightlycargo audithas been failing on it.Risks: Low. Only the
grovedbgfeature is affected; nothing in storage, proofs or costs changes. The archive is the same SHA-256-pinned GroveDBG v1.2.0 release, and a new test unpacks it with the enabledzipfeatures (Deflate only, which is all the archive uses).Issue being fixed or feature implemented
cargo auditreportszip6.0.0 throughzip-extensions0.13.1, pulled in bygrovedb'sgrovedbgfeature:The latest
zip-extensions(0.14.1) still requireszip^8.2, which the same advisories cover.What was done?
grovedb/Cargo.toml:zip-extensions = "0.13.0"replaced byzip = { version = "9.0.5", default-features = false, features = ["deflate"] }, still optional and enabled bygrovedbg.grovedb/src/debugger.rs: a smallextract_grovedbg(destination)helper opens the embedded archive from memory (ZipArchive::new(Cursor::new(GROVEDBG_ZIP))) and callsextract. The old code first wrote the bytes to agrovedbg.ziptemp file and then unpacked that file, so the temp file and thestd::fsimport are gone.Before:
After:
How Has This Been Tested?
debugger::tests::extract_grovedbg_unpacks_the_bundled_uiunpacks the bundled archive and checksindex.htmlexists.cargo test -p grovedb --features grovedbg --lib debugger::testscargo clippy -p grovedb --features grovedbg --lib --tests -- -D warningscargo auditno longer listszip6.0.0 /zip-extensions.Breaking Changes
None. The public API is unchanged; only a dependency of the optional
grovedbgfeature changes.Checklist:
For repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
32ef458/self-reviewedWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.Summary by CodeRabbit