Skip to content

release v4.2.4 - #2041

Merged
bplatz merged 4 commits into
mainfrom
release/v4.2.4
Oct 14, 2026
Merged

bplatz merged 4 commits into
mainfrom
release/v4.2.4

Conversation

@bplatz

@bplatz bplatz commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Version bump 4.2.4-beta.1 → 4.2.4. Tag v4.2.4 after this merges to main.

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 main so the bump can be approved ahead of time. The PRs targeted for 4.2.4 will land first, then latest origin/main gets merged into this branch before it merges. The lockfiles may need a refresh at that point if any of those PRs add or drop dependencies. If #2036 (4.2.4-beta.2) lands first, its version lines conflict with these and resolve to 4.2.4.

testsuite-sparql and testsuite-shacl are workspace-excluded and carry independent versions and lockfiles, hence six files rather than two. All three lockfiles are version lines only, and all three resolve under cargo metadata --locked. The Python package takes its version from the workspace, so fluree publishes to PyPI as 4.2.4 from the same tag.

@bplatz
bplatz requested a review from a team October 8, 2026 20:36
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	testsuite-shacl/Cargo.lock
#	testsuite-shacl/Cargo.toml
#	testsuite-sparql/Cargo.lock
#	testsuite-sparql/Cargo.toml

@aaj3f aaj3f left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bplatz the bump is still clean after the main merge, and no pushback from me on it: six files of version lines, plus the one xxhash-rust edge my #2008 left out of testsuite-shacl's lockfile, which the merge picked up. #2013, #2006 and #2008 have all landed since I first looked, and their tests pass on this head (I reverted #2013's fix and put a graph filter back inside CurrentFacts, and both sets go red), so my notes are really about the tag.

(1) PyPI still publishes on its own. The pypi environment is as it was created on the 8th: one rule, "tags matching v*", and no reviewer. 4.2.4 would be the first non-beta fluree on PyPI, which we can't take back, so I'd still put a required reviewer on it for this tag and approve publish once the Release run is green. Whether PyPI should wait on the Release run for good is your call as release owner.

(2) Order with your #2046 and #2045. I'd land #2046 before the tag, so 4.2.4 doesn't ship the aws-lc-sys, rustls-webpki 0.103, quinn-proto and imbl advisories it clears. Nothing in CI builds aws-lc-sys 0.45 for aarch64 Linux, but a workflow_dispatch of python-release.yml on its branch does, in the release profile, and publishes nothing. If #2046 goes first, its wasm-probe/Cargo.lock comes along at 4.2.4-beta.2, so this bump would want a seventh file (harmless either way, since wasm-pack runs unlocked). #2045 can go on either side of the tag; if it's first, the stable run becomes the fluree-beta job's first real run.

Good to merge whenever; the one must below is about the tag.

Full review below:


✅ Approving to unblock you — with 1 thing that needs to be addressed before you tag.

Thanks @bplatz. I went back over this after the main merge, and the bump is still exactly what a release PR should be. Since my first pass, everything I'd asked for before the tag has landed except the PyPI gate: #2013 is in, its tests pass here and go red with the fix reverted, and #2006 and #2008 came along with it.

Must address before you tag:

  1. Put a human in front of PyPI for this tag (Cargo.lock:3648, inline). Nothing has changed here since my first pass: the pypi environment's only rule is "tags matching v*", and publish doesn't wait for the CLI release. A required reviewer, approved once the Release run is green, keeps 4.2.4 from landing on PyPI by itself.

Resolved since my first pass:

  • #2013 merged (2478fccb7). The unwind that returned 8 rows instead of 2, and the update that flagged all four orders, are now its own tests, and they pass on this head. With its one-line fix reverted (fluree-db-query/src/planner.rs:1534 back to referenced_vars()), all six of its tests fail.
  • #2008 merged with 7305a4a71 adapted rather than dropped. current_asserted_for_key (fluree-db-api/src/rebase.rs:940-966) now reads the conflict slot through CurrentFacts, which stamps the slot's graph (fluree-db-transact/src/current_facts.rs:678-679), so the in-place stamp from 2f4203943 is gone and one resolver does it for every retraction. I ran #2022's two netting tests and #2008's three conflict-retraction tests here, and putting a filter on flake.g back inside CurrentFacts turns all five red.
  • #2006 landed too, so it ships in 4.2.4 rather than 4.2.5 as I'd suggested.

What I'd want in before tagging, and what can wait:

  • Before the tag: #2046 (headline note 2), after a python-release.yml dispatch on its branch.
  • In if it can land in time: #2044. At main, an "INF" or "NaN" xsd:double still commits fine and then fails every index build of that ledger, with the orchestrator retrying indefinitely (fluree-db-indexer/src/orchestrator.rs:2407-2432) until writes are refused (fluree-db-transact/src/commit.rs:676). It has ten commits since your approval, so it wants another look from you, and it's pre-existing rather than a regression, so 4.2.5 is a reasonable home if it isn't ready.
  • Your call: #2009 and #2010 (mine) are approved and clean as of yesterday, and #2007 is clean but has no approval yet; whether any of them rides this tag or 4.2.5 is up to you. #2019 and #1886 are fine either way. #1867 and #1887 still conflict.

The #2018 / #2020–#2025 must-fixes, as they stand on main:

PR Must Landed in How I checked
#2018 the locality test couldn't see reader spills 70ad15aee ran encrypted_remote_storage_writes_nothing_to_the_disk_cache
#2020 (🟠) the 256 MB ceiling failed every build 52ebc8c10 both writers go through upload_stats_sketch; ran stats_sketch_past_the_ceiling_is_skipped_not_failed
#2022 named-graph netting on a cold index 2f4203943, now through CurrentFacts (#2008) ran multi_op_reversal_nets_against_an_indexed_named_graph (the original INSERT x ; DELETE x repro) on this head; red with the graph filter put back
#2022 geo rewrite on multi-ledger datasets 4ec703496 ran geof_distance_across_two_indexed_ledgers
#2022 BM25 / vector tombstones 741bea5ac ran bm25_query_after_drop_is_not_found; the vector twin passed in CI
#2023 re-stage reused the begin-time policy 1f7305007 ran both policy tests
#2023 rollback_to truncated first 660c195a0 ran a_failed_rollback_leaves_the_transaction_as_it_was; red with truncate-first restored
#2024 blank-node parameter as a wildcard 96cdb4b39 ran a_blank_node_parameter_is_one_stored_node (it holds the original DELETE WHERE { $s ?p ?o }); red when any label is accepted
#2025 stream() ignored FROM 28aad9676 built the wheel and ran both new pytest cases; the engine side is #2034
#2025 log() / info() past a governed handle 9f21f2845 ran test_reads_policy_cannot_filter_are_refused
#2025 PyPI unguarded 24b00a2e2 + the v* environment rule partial: must 1 above

Every Rust test in that table also passed by name in this head's CI (run 38156310105, 14,169 passed), and the three python jobs passed.

Should address:

  • 🟠 Release notes. #2018 (required is_remote() on StorageRead / ContentStore) and #2024 (ShaclViolation's payload is now ShaclViolations) are still labelled bug and enhancement, so the generated notes would file them under fixes and features; only #2003 carries breaking-change. #2020's downgrade and rolling-upgrade caveats ("upgrade the leader last") and the 30 → 15 minute GC default live only in its body. And two more belong on that list now: my #2008 changes write behavior on purpose (its body has a "Behavior changes" table, plus the three calls it asked a reviewer to ratify), and your #2006 evaluates grouped SELECT expressions once per group; both are labelled bug. Labelling #2018 and #2024, and adding a short upgrade-notes paragraph to the release body that points at those four, would cover it. I recognize this is minor, but if you agree it's right, I'd rather it go in with this release than after it.
  • ❓ This is more of a question than a suggestion, and it's sharper than when I first asked: v4.2.4-beta.2 is now a published GitHub pre-release (its own notes started at v4.2.3, because beta.1 never got one), and release.yml runs gh release create --generate-notes with no --notes-start-tag, publishing straight away. I haven't been able to confirm whether GitHub skips a pre-release when it picks the previous tag. If it doesn't, the 4.2.4 notes would list only #2006, #2008, #2013 and whatever lands after them. A look at the body right after the run, and regenerating it against v4.2.3 if needed, would settle it.
  • Fwiw, the last five commits on my #1451 landed after your approval of e8486de49. fea526c37 makes the CLI, the server and Python refuse REST-only catalog settings in the other modes. The refusal is create-time only (graph_source/config.rs:588-603), so persisted sources are untouched, but it does change what those three accept. Worth a glance before the tag.

What I checked and found clean:

  • The bump: against main it's 112 version lines plus #2008's xxhash-rust edge in testsuite-shacl/Cargo.lock (main's copy was missing it, and no CI job runs that suite, so nothing noticed). cargo metadata --locked passes in all three workspaces at this head, and there's no beta left anywhere in the tree.
  • Solo: I read solo's db usage against main again, though I didn't compile it. It still uses none of the re-exports #2008 removed (apply_cancellation, unwrap_trig_graph_blocks, UnwrappedTrig), and its Turtle writes go through insert_turtle / upsert_turtle, which kept their signatures. #2008's write-behavior changes would reach solo at its next pin bump.
  • Known and tracked, not blockers: #2034 (engine entries handed a pre-built view ignore a dataset the query names; the Python package guards against it) and #2030 (annotation_hydration/scan 11–18% slower over memory storage).

Adherence to repo commitments:

  • Patterns/abstractions: ✔ One synchronized [workspace.package].version plus the two excluded testsuites, per releasing.md. The independently versioned fluree-sql-bridge and scripts/local/load are correctly untouched.
  • Performance (speed first, memory second): ✔ No code changes. The release carries #2030's tracked residual and #2008's measured restatement cost under non-root policies (its body: 1.09–1.14× on upserts that restate every value, nothing measurable otherwise).
  • Deployment targets: ✔ The engine has this head's CI behind it (nextest, three python jobs, wasm32). The cargo-dist build for the four CLI targets doesn't run on a PR; it last ran on v4.2.4-beta.2 and went green on all four, and nothing since adds a dependency that changes that build (#2046 would). The PyPI publish is must 1. Solo would take this via a pin bump (see the solo note above).
  • Testing: ✔ This head's CI ran every fix test above by name. I re-ran #2013's six tests and the five named-graph retraction tests here, and two mutations turned all eleven red.
  • Conventions: ⚠️ Release-notes labels and upgrade notes (🟠 above). Release PR shape and title are per releasing.md.

Verified locally at 9c0a14af8: cargo metadata --locked in all three workspaces; #2013's six tests, #2022's two netting tests and #2008's three conflict-retraction tests by name, then red under a revert of #2013's fix and a graph filter in CurrentFacts, and restored; read-only gh api for the pypi environment, tags, releases, labels, PR states and this head's CI logs.

Approving now so the bump is ready when the rest is. Just be sure the pypi reviewer is in before you push v4.2.4.

Comment thread Cargo.lock
[[package]]
name = "fluree-db-python"
version = "4.2.4-beta.2"
version = "4.2.4"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Must address before you tag: the only thing between v4.2.4 and a permanent fluree 4.2.4 on PyPI is still the tag's name, and it publishes whether or not the CLI release succeeds.

python-release.yml's publish job needs only wheels, and nothing ties it to release.yml. That's how 4.2.4b1 published at 02:57 UTC on the 8th after the CLI build had already died (runs 37718344423 / 37718344424), and 4.2.4b2 did it again the next night: publish to PyPI finished at 03:44:54 UTC, before the first of the four CLI builds in run 37878957426 had finished. Those happened to go green, but nothing waited to find out. #2025's 24b00a2e2 added the code half of the guard (tag push only, tag ↔ wheel version, pinned action). The pypi environment hasn't been touched since it was created on the 8th: its only protection rule is the deployment policy "tags matching v*", with no required reviewers, no wait timer, and can_admins_bypass: true. The repo's only ruleset is "Protect Main" (branch-only: deletion and non-fast-forward), with no tag rules and no org ruleset above it, and 24 accounts have push access.

This matters for this tag in particular. 4.2.4 would be the first non-pre-release fluree on PyPI, and PyPI never accepts a version twice (docs/contributing/releasing.md, "Rolling back"). If the CLI build fails after the wheels publish, the CLI's 4.2.4 either comes from a different commit than PyPI's 4.2.4 or moves to 4.2.5.

Fix (settings, about a minute): add a required reviewer to the pypi environment before pushing v4.2.4, and approve the publish deployment once the Release run is green. The durable version is having publish wait on the Release run (workflow_run, or release: published). That's the ❓ I left on #2036, and it's your call as release owner.

Commenting here because the pypi environment is a repository setting rather than a file; this line is the version PyPI would keep.

The workspace crates it path-depends on are 4.2.4; its lockfile still
listed 4.2.4-beta.2, so cargo metadata --locked failed in wasm-probe/.
@bplatz
bplatz merged commit ba4a982 into main Oct 14, 2026
19 checks passed
@bplatz
bplatz deleted the release/v4.2.4 branch October 14, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants