Repository navigation
3.x.x: version 3.0.0-rc.7 and its release notes (#557) - #772
RobertClarke wants to merge 1 commit into
Conversation
Set VERSION and [workspace.package].version to 3.0.0-rc.7: rc.6 plus #770 (#765: import-audits sends and stores each legacy audit before it takes SETTLEMENT_LOCK, holds the lock only for the write guard and the commit, bounds each phase with two new settings, stops on SIGTERM or SIGINT and prints one stderr line per row) and #760 (#759: every node RPC client keeps an idle connection for at most 20 s, below qbitd's 30 s idle close). Both Cargo.lock files move only their workspace-member entries. doc/release-notes-3.0.0-rc.7.md covers: - the changes: #770's per-row order, its two bounds, PRISM_IMPORT_AUDITS_WRITE_TIMEOUT_MS and PRISM_IMPORT_AUDITS_LOCK_TIMEOUT_MS, its failure, stop and stderr output, and its measurement (a 112.2 MB body: rc.6's order held the lock 3.145 s, this candidate 13 ms; with the send slowed, 14.9 s against 16 ms); and #760's 20 s bound, with the rule to keep qbitd's -rpcservertimeout and any proxy's idle timeout above it; - upgrading: rc.7 adds no migration, capability or evidence script, so an upgrade from rc.6 replaces the binary, one frontend at a time if wanted. Its two settings are accepted by rc.7 binaries only, since rc.6's run and check-config refuse an unknown PRISM_* name in production mode, so a rollback to rc.6 removes them first; - the same evidence set as rc.6's; - the known issues: rc.6's, with #765 and #759 fixed, and #771 (the sqlx 0.8.6 TLS lost-wakeup backport for the serving binary), #762, #757 and #758 open since rc.6. The development-line notes name 3.0.0-rc.7, and they and the 3.0.0 notes link all seven candidates' notes. docs/prism-rust-migration.md says that from rc.7 an import beside serving frontends holds SETTLEMENT_LOCK only for each row's guard read and commit, under its two bounds, and that an earlier candidate's import there needs #765's guard. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
COORDINATOR DECISION NEEDED: should one failed L3 cell on #772 be rerun before the tag? L3 The failed cell:
What the refusal was: #716's open race, not an rc.7 change.
Why it matters for the tag: Options
Either way I won't push or rerun anything. |
|
COORDINATOR DECISION: A.
|
|
DELEGATE REPORT: rc.7 bump PR #772. CI is green and Codex is clean. L3 attempt 1 is complete: 32 of 33 cells passed, and the one failure is #716's race. It's ready for your rerun (decision A). PR #772, head Versions: No migration: CI: run 38076987355 succeeded, 20/20 jobs. That includes the four PostgreSQL shards, "Prove every Rust PRISM gated test executed" and "Lint, compile, and test". The nightly gate, run 38076987284, passed. L3
Codex: reviewed Review before opening:
For the merge, after the rerun passes: squash with On "[coordinator] GO tag rc.7":
Release date: the notes say 2026-10-10. If the tag lands on the 11th UTC, that date is a day early. It's cosmetic, and fixing it needs a push and a new L3 run, so it's your call. I'll wait for "[coordinator] GO tag rc.7". |
…028 and 031, and p0 is never rewritten The 3.0 -> 3.1 cutover can run 3.1's migrate against A's database before its window, while the 3.0 pair serves on 3.0.0-rc.7. Two gated dual-sim tests hold that to what the cutover relies on, in the fast lane and the nightly matrix: - R1: the 3.0 pair on rc.7 under load (database made by rc.7's migrate, every start with PRISM_POSTGRES_INIT_SCHEMA=0). 3.1's migrate runs once with A's frontend environment while a reader holds a snapshot, so 031's CREATE INDEX CONCURRENTLY is caught part-way. 027 and 028 commit with no share refused and none waiting the 5 s lock timeout, appends continue, a block lands, A restarts and serves with 31 unrecorded and the index invalid, then 31 is recorded, the index is valid on the writer and the standby, B restarts at 31, a last block lands, and the checker's invariants hold. - p0: on a populated ledger with an appender under the frontends' lock timeout, p0 and its TOAST table keep relfilenode, relfrozenxid and relminmxid and their vacuum and analyze counters, the statement log holds no VACUUM, ANALYZE, CLUSTER or REINDEX, and p0's only index build is CREATE INDEX CONCURRENTLY (qbit-tools #1345). A by-hand measurement runs the second at millions of rows. The gate gains PRISM_TEST_RC7_SERVER_BIN, and the prism-rc7-server action builds the pinned rc.7 commit (#772's head b7b6923) once per pin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 031, and p0 is never rewritten (#773) * 3.1 pre-migrate: rc.7 keeps serving while 3.1's migrate applies 027, 028 and 031, and p0 is never rewritten The 3.0 -> 3.1 cutover can run 3.1's migrate against A's database before its window, while the 3.0 pair serves on 3.0.0-rc.7. Two gated dual-sim tests hold that to what the cutover relies on, in the fast lane and the nightly matrix: - R1: the 3.0 pair on rc.7 under load (database made by rc.7's migrate, every start with PRISM_POSTGRES_INIT_SCHEMA=0). 3.1's migrate runs once with A's frontend environment while a reader holds a snapshot, so 031's CREATE INDEX CONCURRENTLY is caught part-way. 027 and 028 commit with no share refused and none waiting the 5 s lock timeout, appends continue, a block lands, A restarts and serves with 31 unrecorded and the index invalid, then 31 is recorded, the index is valid on the writer and the standby, B restarts at 31, a last block lands, and the checker's invariants hold. - p0: on a populated ledger with an appender under the frontends' lock timeout, p0 and its TOAST table keep relfilenode, relfrozenxid and relminmxid and their vacuum and analyze counters, the statement log holds no VACUUM, ANALYZE, CLUSTER or REINDEX, and p0's only index build is CREATE INDEX CONCURRENTLY (qbit-tools #1345). A by-hand measurement runs the second at millions of rows. The gate gains PRISM_TEST_RC7_SERVER_BIN, and the prism-rc7-server action builds the pinned rc.7 commit (#772's head b7b6923) once per pin. Co-Authored-By: Claude Opus 5.5 <[email protected]> * 3.1 pre-migrate tests: catch every index build on p0, and anchor R1's restarts From a local review of #773: - An index build on p0 is any CREATE INDEX on it, named or not, or on the ledger without ONLY (which recurses into every partition); the scratch apply's statements, under the migrator's rolled-back savepoint, are left out, and maintenance commands are counted everywhere. - p0's TOAST table's vacuum and analyze counters are compared too (pg_stat_all_tables), and log timestamps are compared by date and time, so a run across midnight measures right. - The seed is refused unless every row stays in p0. - R1's restarts wait for the balancer to mark the node down before starting it, require a graceful stop, and count shares from when the balancer had the node up again; the one-off migrate and the appender are aborted, and the migrate killed, when a step fails first. Co-Authored-By: Claude Opus 5.5 <[email protected]> * 3.1 pre-migrate tests: the pair serves rc.6, not rc.7 rc.7 was skipped: the pair serves v3.0.0-rc.6 (81c592c) until the 3.1 repin, so the pre-migrate runs beside rc.6 frontends, and R1 and the p0 test run rc.6 (PRISM_TEST_RC6_SERVER_BIN, the prism-rc6-server action at the v3.0.0-rc.6 commit). rc.6's start gate, require_schema_version, its NATIVE_CAPABILITIES and its connect-time capability checks are identical to rc.7's (4c13491), as are the migration files. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
* 3.0.x: version 3.0.0 and its release notes (#557) 3.0.0 is 3.0.0-rc.6 plus #770 (#765) and #760 (#759), the two fixes #772 prepared as 3.0.0-rc.7, which was never tagged. The 3.0.x branch starts at #770's merge, 4c13491, before 3.x.x took the 3.1 dual writer. - VERSION, [workspace.package].version and the workspace-member entries of both Cargo.lock files move to 3.0.0. - doc/release-notes-3.0.0.md becomes the 3.0.0 notes: #772's rc.7 notes as the changes since rc.6, then the D5 recovery contract it held. - The development-line note and the migration guide name 3.0.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> * 3.0.x: update rustls, rustls-webpki and webpki-roots for six RustSec advisories cargo deny fails on rc.6's lockfile with RUSTSEC-2026-0346, -0347, -0348 and -0349 (rustls < 0.23.46), RUSTSEC-2026-0382 (rustls-webpki < 0.103.16) and RUSTSEC-2026-0381 (webpki-roots < 1.0.10). Move each to its first fixed patch release with cargo update --precise, in the root and fuzz lockfiles, as #354 did for RUSTSEC-2026-0285. No other dependency changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * 3.0.x: describe 3.0.0 as this line's production release The development-line note's status, not-done and upgrade sections, and the README banner, said no production release of the Rust server existed. With the coordinator's go-ahead for 3.0.0 they now point to 3.0.0 on 3.0.x and its notes, and say 3.x.x continues as 3.1. The 3.0.0 notes list the TLS dependency update. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Version 3.0.0-rc.7 and its release notes, in rc.6's bump pattern (#756).
VERSIONand[workspace.package].versionare 3.0.0-rc.7. Both Cargo.lock files move only their workspace-member entries: five in the root, three incrates/qbit-prism-server/fuzz.doc/release-notes-3.0.0-rc.7.md.doc/release-notes-3.0.0.mdanddoc/release-notes-3.x.x-development-line.mdname rc.7 and link all seven candidates' notes.docs/prism-rust-migration.mdsays, where it lets frontends admit traffic beforeimport-auditsfinishes, that from rc.7 an import beside them holdsSETTLEMENT_LOCKonly for each row's guard read and commit, under its two bounds. It adds that an earlier candidate's import there needs 3.x.x: import-audits holds SETTLEMENT_LOCK while writing a large canonical audit body (≥90 s for ~112 MB), stalling template refresh and settlement #765's guard.What rc.7 is (rc.6 plus two PRs)
12f1ae8e-rpcservertimeout, and any proxy's idle timeout, above 20 s.4c134913import-auditssends and stores each legacy audit before it takesSETTLEMENT_LOCK, and holds the lock only for the write guard and the commit. Each phase is bounded by two new settings,PRISM_IMPORT_AUDITS_WRITE_TIMEOUT_MSandPRISM_IMPORT_AUDITS_LOCK_TIMEOUT_MS. It stops on SIGTERM or SIGINT and prints one stderr line per row. Import path only.No
migrate: this candidate requires the same migrations (2–26) as rc.6, declares the same capabilities and builds the same configuration fingerprint.REQUIRED_SCHEMA_VERSIONSandmigrations/are unchanged sincev3.0.0-rc.6, and so are the evidence and admission-gate scripts. An upgrade from rc.6 replaces the binary.The two new settings are accepted by rc.7 binaries only. rc.6's
runandcheck-configrefuse an unknownPRISM_*name in production mode. So pass them only to an rc.7import-auditsrun, and remove them before rolling back to rc.6.The notes cover:
Checks
Review:
4c134913, 3.x.x: write each legacy audit before SETTLEMENT_LOCK and bound import-audits (#765) #770's and DO NOT MERGE without coordinator GO: 3.x.x: drop an idle node connection after 20 s, below qbitd's 30 s idle close (#759) #760's messages and the issues raised 10 points. One was wrong: rc.6's server-side store was capped by the sessionstatement_timeout, and only the send was unbounded. All 10 were applied./code-review mediumfound no P1 and four wording P2s, all applied.Scripts:
check_version_skew.py,check_prism_settings.py, the docs-references tests (147) and a link-and-anchor check of every relative link in the three notes files pass.No hosts, IPs, private links or operator identities appear in the notes.
Release plan
l3-fullrun is the release's L3 evidence. Thev3.0.0-rc.7tag promotes it when the trees match.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.