Repository navigation
release v4.2.8 - #2421
release v4.2.8#2421
Conversation
aaj3f
left a comment
There was a problem hiding this comment.
@bplatz the bump itself checks out: Claude ran cargo metadata --locked at this head in all four lockfile directories and each resolves. One small thing for the main merge is below (two lockfiles already stale on main, from my #2214).
On scope, our recommendation is that 4.2.8 carry #2409's fix, since 4.2.7 shipped a shared-storage peer that rolls the transaction server's head back and loses acknowledged commits. #2409's commits stand alone on main (Claude cherry-picked them there; its peer, it_rebase and proxy_integration tests pass), so: retarget it onto main, land it, merge main in here, and tag, with a 4.2.8 notes line to upgrade every shared-storage query peer along with the transaction server (the fix is peer-side). @bplatz, release scope is your call, and we'll defer to your decision.
One ordering note: if #2423 lands before the tag, v4.2.8 is also the first npm publish, so that PR's one-time npm setup has to come first.
Full review below:
✅ Approve. The diff is exactly what a release PR should contain, and the body is precise about which lockfiles move and why fluree-sql-bridge's doesn't. The scope note above is about when to tag, not about this diff.
Notes:
- What the tag ships as
mainstands (88c3cf134): #2401, #1733, #1867, #2227, #2214. The generated notes will open with a Breaking Changes section (#1867, #2227), which matches how 4.2.5, 4.2.6 and 4.2.7 went out. - Also not in 4.2.8, whatever goes in: the fixes for #2394, #2398 and #2399, which #2402 makes on
nextonly (its body says themainfix follows separately). - The two stale lockfiles are one instance of a small class: lockfiles in workspace-excluded directories that track workspace crates but that no gate checks with
--locked. Acargo metadata --lockedstep per excluded directory inci.ymlwould make the next one a red check; not for a release PR, just naming it. - On #2423's ordering: if a
v*tag runsnpm-release.ymlbefore thenpmenvironment exists, GitHub creates the environment with no deployment rule and the publish fails for want of a token, so the setup (environment with itsv*rule, then the token) wants to happen before this tag if #2423 is in.
Adherence: Patterns ✔ · Performance ✔ · Deployment targets ✔ · Testing ✔ · Conventions ✔ · verification
- Patterns/abstractions: ✔ the documented two-phase release flow; one synchronized workspace version.
- Performance (speed first, memory second): ✔ version strings only. No performance-degradation risk.
- Deployment targets: ✔ n/a: no code change; the Python wheels and (with #2423) npm packages take the version from the workspace at build time.
- Testing: ✔ CI green at this head; the excluded lockfiles checked by hand (above).
- Conventions: ✔
release vX.Y.Ztitle and subject perreleasing.md.
Verified at b18fceb2f17b: on a box, cargo metadata --locked exits 0 in ., testsuite-sparql, testsuite-shacl and wasm-probe, while at origin/main and at this branch merged with it testsuite-shacl and wasm-probe exit 101 for one smallvec line each; per-lockfile diffs are version lines only; git grep 4.2.7 outside lockfiles is empty; CI run 43959411769 green.
Approving for whenever you're ready, with the two lockfiles refreshed when main comes in.
| [[package]] | ||
| name = "fluree-db-query" | ||
| version = "4.2.7" | ||
| version = "4.2.8" |
There was a problem hiding this comment.
Optional: when main comes in, wasm-probe and testsuite-shacl need a one-line lock refresh.
Claude ran cargo metadata --locked in all four lockfile directories on a box. At this head all four resolve. At origin/main (88c3cf134), and at this branch with main merged in, wasm-probe and testsuite-shacl fail with "cannot update the lock file … because --locked was passed". The missing line is "smallvec", under fluree-db-query (here, and at testsuite-shacl/Cargo.lock:964): my #2214 added that dependency and only refreshed testsuite-sparql's lock (1ce402978), so this one's on me rather than on this PR.
Nothing in CI would catch it: the root jobs pass --locked, but testsuite-sparql runs cargo test without it, wasm-probe builds through wasm-pack, and testsuite-shacl has no job. So after the merge, a cargo metadata --format-version 1 >/dev/null in those two directories, committed, keeps the body's "resolve under cargo metadata --locked" true.
Minor and non-blocking, but since the merge is already planned, I'd rather it ride along than leave the next person with a dirty lockfile.
Version bump
4.2.7→4.2.8. Tagv4.2.8after this merges tomain.Release notes are generated from merged PR titles at tag time, so the changelog reflects the final contents once this merges and publishes.
Notes for review
This is branched from the current
mainso the bump can be approved ahead of time. Latestorigin/maingets merged into this branch once it is approved, before it merges. The lockfiles may need a refresh at that point if a PR merged in between adds or drops dependencies.testsuite-sparqlandtestsuite-shaclare workspace-excluded and carry independent versions and lockfiles, andwasm-probe's lockfile lists the workspace crates it path-depends on, hence seven files. All four lockfiles change version lines only and resolve undercargo metadata --locked.fluree-sql-bridgehas no path dependency on the workspace, so its lockfile is unchanged. The Python package takes its version from the workspace, soflureepublishes to PyPI as 4.2.8 from the same tag.