Repository navigation
chore(release): bump GroveDB to 7.0.0 - #1068
Conversation
7.0.0 carries the 34 changes merged since 6.1.1, 20 of them breaking: GROVE_V5 (now what GroveVersion::latest() selects), the trees with a 128-bit sum and their indexed forms, the in-place conversion of a 64-bit sum tree, branch-local count offsets, position-range reads of a private document store, and the referrer list of a bidirectional-reference target leaving node hashes. All workspace crates move to 7.0.0; grovedb-bincode and grovedb-bincode-derive stay at 2.1.0. The changelog's Unreleased section is cut as 7.0.0 and gains the entry #1036 did not add. The README pins 7.0.0 and gains an "Upgrading to 7.0" section. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Waiting for bot review — coderabbitai not yet · thepastaclaw requested changes — dismiss the review or push a fix, 1 thread unresolved — resolve it. Wait for the missing reviews, or a writer can post |
|
⛔ Final review complete — 1 blocking finding(s) (commit 31b30f0) · triage: trivial · Phase 2 only (no Phase 1 for this repository) |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 2 only (no Phase 1 for this repository)
Changes requested: 1 blocker
- Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io —
README.md:45(new)
Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.
This PR bumps 16 GroveDB workspace crates to 7.0.0, cuts the changelog, and adds an upgrade guide without changing Rust source. Linting and Ubuntu test shard 2 passed; formatting, Ubuntu shards 1 and 3, and the Commitment Tree slow tests were pending.
🔴 1 blocking | 🟡 1 suggestion(s)
Review provenance
Source: reviewer 1: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: platform-versioning); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
trivialbygpt-6.2-sol(effort low) — The diff only updates crate and dependency version metadata, the changelog, and upgrade documentation; it does not change runtime behavior. - Phase 1 reviewers: not run (disabled for this repository)
- Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-sol— general (completed, effort low); agentphase2-reviewer,gpt-6.2-sol— architecture-layering (completed, effort low); agentphase2-reviewer,gpt-6.2-sol— platform-versioning (completed, effort low); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `README.md`:
- [BLOCKING] README.md:45: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.
The release workflow can upload earlier workspace crates but cannot reach the main `grovedb` crate. The `v7.0.0` tag matches the manifest version, but `grovedb-commitment-tree/Cargo.toml:20` declares the Dash Orchard fork only by Git tag, with no registry version. Cargo rejects that dependency when packaging for crates.io. `.github/workflows/release-crates.yml:81–86` puts `grovedb-commitment-tree` before `grovedb`, and the publish loop exits on failure, so retrying only skips uploads that already succeeded. Before cutting the release, publish and use a registry version of the required Orchard fork, including making its own Git-only note-encryption dependency registry-compatible. Pointing at upstream Orchard would not preserve the Dash-specific APIs GroveDB uses.
- [SUGGESTION] README.md:156-160: The upgrade guide makes empty referrer lists sound safe to upgrade in place
Impact: Operators who stored a backward-reference-capable item in 6.1.1 but never registered a referrer may skip migration and retain stored value hashes that 7.0 cannot reproduce.
An empty referrer list does not make an existing value hash compatible with 7.0. In 6.1.1, `Element::backward_references()` returns `Some` for each backward-reference-capable variant even when its list is empty, and `ElementExt::backward_references_hashes` hashes and combines that serialized empty list. Version 7.0 removes that hash layer for every Grove version, so pinning `GROVE_V4` does not help. Clarify that the exception covers every stored `*WithBackwardsReferences` item and `BidirectionalReference`, even if no referrer was ever registered.
| [dependencies] | ||
| grovedb = "6.1.1" | ||
| grovedb-version = "6.1.1" | ||
| grovedb = "7.0.0" |
There was a problem hiding this comment.
🔴 Blocking: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.
The release workflow can upload earlier workspace crates but cannot reach the main grovedb crate. The v7.0.0 tag matches the manifest version, but grovedb-commitment-tree/Cargo.toml:20 declares the Dash Orchard fork only by Git tag, with no registry version. Cargo rejects that dependency when packaging for crates.io. .github/workflows/release-crates.yml:81–86 puts grovedb-commitment-tree before grovedb, and the publish loop exits on failure, so retrying only skips uploads that already succeeded. Before cutting the release, publish and use a registry version of the required Orchard fork, including making its own Git-only note-encryption dependency registry-compatible. Pointing at upstream Orchard would not preserve the Dash-specific APIs GroveDB uses.
source: gpt-6.2-sol (phase2-reviewer: general, architecture-layering, platform-versioning)
…vers The upgrade note said a database that never stored "an element with backward references" needs no migration, which reads as one with registered referrers. 6.1.1 hashed the referrer list of every element of the family, an empty list included, so the note now names the four element types and says an empty list does not exempt one. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Waiting for bot review — coderabbitai not yet · thepastaclaw requested changes — dismiss the review or push a fix, 1 thread unresolved — resolve it. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
Re-review — Final validation — Phase 2 only (no Phase 1 for this repository)
Changes requested: 1 blocker
- Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io —
README.md:45(thread, carried)
Impact: After maintainers publish the GitHub release as instructed, users following the Quick Start cannot resolvegrovedb = "7.0.0"from crates.io.
New on this head: The follow-up clarifies that the 7.0 upgrade warning applies to all four backward-reference element types, even when no referrer was ever registered, and that selecting an older GroveVersion does not preserve their hashes. The Ubuntu and commitment-tree tests, linting, formatting, and security audit are still pending; no code checks have failed.
🔴 1 blocking
Still open from earlier rounds (1)
- 🔴 Blocking: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io —
README.md:45(thread)
Review provenance
Source: reviewer 1: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: platform-versioning); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
trivialbygpt-6.2-sol(effort low) — The diff only updates manifest version strings and release documentation; it does not change runtime behavior. - Phase 1 reviewers: not run (disabled for this repository)
- Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-sol— general (completed, effort low); agentphase2-reviewer,gpt-6.2-sol— architecture-layering (completed, effort low); agentphase2-reviewer,gpt-6.2-sol— platform-versioning (completed, effort low); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `README.md`:
- [BLOCKING] README.md:45: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
(carried; thread: https://github.com/dashpay/grovedb/pull/1068#discussion_r4679429729)
|
Your move: thepastaclaw requested changes on this head; dismiss the review or push a fix; thepastaclaw left review threads unresolved; resolve them. |
Brings develop up to 5a39eaa: #1068, the release bump of GroveDB to 7.0.0 (the version of every crate and of the crates' requirements on each other, the changelog's heading and the readme). No source file changes. Two manifests conflicted, grovedb/Cargo.toml and merk/Cargo.toml, where the dependency lists hold the LigninDB crates beside the lines the bump rewrote: both keep this branch's lists with the new version. The LigninDB crates (lignin-format, lignin-io, lignin-store, lignin-tree, lignindb, lignin-tools, lignin-testkit) follow the workspace to 7.0.0, with their requirements on the GroveDB crates and on each other; storage/Cargo.toml's requirement on lignin-io likewise. Part of #1052. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Basic explanation
What this does: Bumps every GroveDB workspace crate from 6.1.1 to 7.0.0 and cuts the changelog's
[Unreleased]section as[7.0.0] - 2026-11-24, so 7.0.0 can be tagged and published to crates.io.Value:
developis 34 commits pastv6.1.1, and 20 of them are marked breaking, so the next release is a major one. It carriesGROVE_V5, the trees with a 128-bit sum and their indexed forms, the in-place conversion of a 64-bit sum tree, branch-local count offsets, position-range reads of a private document store, and the referrer list of a bidirectional-reference target leaving node hashes (#1059).Risks: Low. Version strings, the changelog and the README only. No Rust source changes.
Issue being fixed or feature implemented
Release 7.0.0 with everything merged since 6.1.1 (#1025 to #1064).
What was done?
versionand the path-dependency versions in the 16 workspace crates'Cargo.toml:6.1.1to7.0.0(72 lines).grovedb-bincodeandgrovedb-bincode-derivestay at 2.1.0.CHANGELOG.md: the[Unreleased]content is now## [7.0.0] - 2026-11-24, under an empty[Unreleased].CHANGELOG.md: adds the entry for fix(proof): check the tree type when verifying a count-offset page #1036 (the verifier checks the tree type of a count-offset page). It was the only code PR since 6.1.1 that did not touch the changelog; the other two without an entry are CI-only (ci: run the Rust jobs on the organisation's self-hosted runners #1048, ci: let PR Hygiene post its verdicts to the dashboard #1064).README.md: install snippets pin7.0.0, and a new "Upgrading to 7.0" section sits above "Upgrading to 6.0". It coversGroveVersion::latest()now selectingGROVE_V5, the API changes callers must absorb, and the backward-reference hash change.Before:
After:
How Has This Been Tested?
cargo metadata --no-depslists all 16 GroveDB crates at 7.0.0 and the two bincode crates at 2.1.0.cargo metadataresolves the full dependency graph with the new versions.Breaking Changes
None in this PR. The release it prepares is breaking; the 20 breaking PRs since 6.1.1 are each marked BREAKING in the 7.0.0 changelog section.
After merge
Publish the GitHub release
v7.0.0at the merge commit. That starts the Release Crates workflow, which checks the tag against thegrovedbcrate version and publishes to crates.io.Checklist:
For repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
31b30f0/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