Repository navigation
3.x.x: production-window matrix (L3) on the version bump, release-candidate, v* tags and weekly (#550) - #608
Conversation
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. |
|
Heads-up: #644 (#548, CTV fanout settlement in 🤖 Generated with Claude Code |
|
Taking this over per #626. After #564 lands, I'll do the following, then review and merge:
🤖 Generated with Claude Code |
b55301b to
6f5ca08
Compare
… preset flags, and document L3 in the lanes page (#550) #608 was stacked on an earlier #564. Since then #564's `compare::Build` gained `predates_report_fields`. A collation summarizes one build, the plan's commit, which predates no report field, so the list is empty. 3.x.x added two result flags every checked-in preset must pin: `--ctv-settlement` (#644) and `--faults` (#623). The three new presets pin `false` and `null`, as the presets they derive from do, so each differs from its source only in `--cadence` and `--scheduled-blocks` (and the dense 1-frontend cell in its runner and schedule). docs/prism-e2e-load-ci.md did not exist on #608's base. It now has #626's L3 section: the lane table's row, the suites and triggers, what L3 proves and does not, the dispatch commands and the evidence rows. One correction to the draft: dispatch, like the weekly schedule, needs the workflow file on `main`, so the status says L3 runs on pull requests and tags until the file is mirrored there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…name the L3 suites (#550) Three presets from #473's run table, every flag as it ran them on a193705: throughput-400k-window-2fe-async-3-blocks (--scheduled-blocks 3) and dense-cadence-400k-window-{1,2}fe-async (--cadence dense --scheduled-blocks 15). The 20k dense attempt, which exited 6, is not a preset. presets/suites.toml names suites apart from each preset's schedule, so a preset can be nightly and in L3 at once: l3-full is #447's matrix, every #473 cell three times, and l3-reduced is 400k at 1, 2 and 4 frontends, async, once. Both take the 32 vCPU class until #542 picks one. prism_load_matrix.py plans a suite as suite:<name>, one job per repeat, and reads the file only for a suite selection, so a broken suite never stops the nightly's plan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…summarizer (#550) qbit-prism-load-compare --collate reads the plan job's plan.json and each run job's artifact and prints, per D1 phase, a row per preset: #473's configuration columns (sessions, window, frontends, replication, plan) and compare::row's cells, so a cell reads the same as in the A/B table. Every run is held to its preset's own gates. A run counts only when its artifact is there, its report names the plan's commit, it ran the checked-in preset byte for byte and was built clean. A planned run with no artifact or another build's report is listed and fails the suite, never dropped. The verdict (qbit.prism.l3-verdict.v1) says whether every run reached its gate and whether every one passed it; a tag's promotion reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ase-candidate label, a v* tag and weekly (#550) .github/workflows/prism-load-l3.yml copies the nightly's plan, build-once and run-matrix pattern and its runner script, then collates the suite. l3-full runs on a pull request into 3.x.x or main that changes VERSION (checked by the changes job, since a trigger-level paths filter would also swallow the label event), when a maintainer applies release-candidate, on a v* tag and on dispatch; l3-reduced runs weekly on 3.x.x. A tag promotes the newest finished same-repository pull request run of l3-full whose verdict is complete for the tagged tree (scripts/prism_l3_promote.py), carrying its tables and verdict, and runs the suite otherwise; a failed lookup is a rerun. Dispatch with tag_dry_run does the same without a tag. Per-PR, per-label and per-tag concurrency, a timeout on every job, never a required check. check_e2e_scenarios.py reads suites as evidence of the lane they name; lane L3 and l3-production-window-matrix now run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… preset flags, and document L3 in the lanes page (#550) #608 was stacked on an earlier #564. Since then #564's `compare::Build` gained `predates_report_fields`. A collation summarizes one build, the plan's commit, which predates no report field, so the list is empty. 3.x.x added two result flags every checked-in preset must pin: `--ctv-settlement` (#644) and `--faults` (#623). The three new presets pin `false` and `null`, as the presets they derive from do, so each differs from its source only in `--cadence` and `--scheduled-blocks` (and the dense 1-frontend cell in its runner and schedule). docs/prism-e2e-load-ci.md did not exist on #608's base. It now has #626's L3 section: the lane table's row, the suites and triggers, what L3 proves and does not, the dispatch commands and the evidence rows. One correction to the draft: dispatch, like the weekly schedule, needs the workflow file on `main`, so the status says L3 runs on pull requests and tags until the file is mirrored there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
6f5ca08 to
ca5a774
Compare
Set VERSION and [workspace.package].version to 3.0.0-rc.1, the first release candidate of 3.0.0. Cargo.lock and the fuzz crate's own lock move only their workspace-member entries; no third-party dependency changes. doc/release-notes-3.0.0-rc.1.md describes the candidate: - what it is: the tree #291's go/no-go evaluates, not a production release, run with both submission holds for a rehearsal; - the highlights since 2.0.x; - the upgrade contract: D5, confirmed-only block counts, the retired settings, migrations through 024, the qbit 1.0.0 pin; - how a candidate is verified: CI and L3 on the version-bump PR, the tag promoting L3 on a tree match (#608), the nightly set dispatched by hand, and the evidence bundle on the tag's pre-release (#557); - the issues and #291 criteria still open when it was cut. The development-line notes name 3.0.0-rc.1 as the tree's identity, and they and the 3.0.0 notes link to the candidate's notes. The text was reviewed twice and checked against #284 (U3). L3 run 37417900875 (l3-full, 33 runs) measured this tree and passed every run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…reduced L3 (#555) (#614) Refs #555 (S17 of #487), part a. The weekly l3-reduced suite now also runs #555's session points and #521's mainnet shapes, nine jobs a week on the 32 vCPU class: - session-point-5000- and session-point-10000-sessions-400k-2fe-async: throughput-400k-window-2fe-async at 5,000 and 10,000 sessions, with admission at sessions per frontend + 16. A test holds them to differ in exactly those two flags. They are capacity-envelope points, not D1 verdicts: they gate reconciliation and steady_state shortfall. Refused and unanswered shares are reported, not gated. - mainnet-shape-{130,650,2600}-addresses and rental-churn-bursts-and-storms. The manifest marks session-points and mainnet-shapes-reduced-l3 as running. The 50,000-recipient trigger is written down in the README: the 10,000-recipient point costing more than 25% more per recipient than the 1,000-recipient run. That point still has no preset; since #548 (#644) it can be written with --ctv-settlement on. Taken over per #626 and restacked onto 3.x.x after #608. Both presets pin --ctv-settlement false and --faults null. docs/prism-e2e-load-ci.md gets #626's l3-reduced row, cost and capacity-envelope paragraph. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs #550 (S5 of #487). Restacked onto
3.x.xafter #564 landed.This does not close #550. Two of its three acceptance criteria can only be shown by running the workflow: a dispatch reproducing #447's matrix, and a tag dry run. The third, "the reduced weekly run completes on its schedule", can be shown only after this file reaches
main(the default branch, where schedules run) and a week has passed.What this adds
a1937054:throughput-400k-window-2fe-async-3-blocks(--scheduled-blocks 3);dense-cadence-400k-window-{1,2}fe-async(--cadence dense --scheduled-blocks 15).crates/qbit-prism-load/presets/suites.toml(qbit.prism.load-suites.v1): named suites, kept apart from each preset'sschedule, so a preset can be nightly and in L3 at once. Each suite hasrepeats(one job each) and an optionalrunner.l3-full: 3.x.x: Run the D1 production-window load matrix (200k/400k/500k) that #271 could not #447's matrix, 11 cells × 3 repeats.l3-reduced: 400k at 1, 2 and 4 frontends, async, once each.scripts/prism_load_matrix.py suite:<name>plans a suite. The script reads the file only for a suite selection, so a broken suite never stops the nightly's plan.qbit-prism-load-compare --collate: one build × N presets rendered into 3.x.x: Record the D1 production-window load matrix (200k/400k/500k) that #271 could not run #473's document tables.compare::rowcells underCOLUMNS.qbit-prism-load-gate's own exit.qbit.prism.l3-verdict.v1:completewhen every run reached its gate,passedwhen every one passed it..github/workflows/prism-load-l3.yml: the nightly's guard, plan, build-once and run-matrix pattern, reusingprism-load-run.sh, then a collate job. Triggers:pull_requestinto3.x.xormainthat changesVERSION, same-repository only, checked in thechangesjob (a trigger-levelpathsfilter would also gate the label event);labeledwithrelease-candidate;push: tags: ['v*'];workflow_dispatch(suite,ref,tag_dry_run);l3-reducedon3.x.x.timeout-minutesand the matrix runs at most 8 jobs at once. It is not a required check. The only permissions arecontents: read, plusactions: readandpull-requests: readwhere needed; there is nocontents: write.scripts/prism_l3_promote.py(+ tests): the tag decision.git rev-parse HEAD^{tree}.prism-l3-verdict-<tree>.tag_dry_rundispatch, promotes the newest finished same-repositorypull_requestrun ofl3-fullwhose verdict is complete for that tree: it re-uploads that run's tables and verdict, links the run, and carries its verdict. Otherwise the full suite runs.scripts/check_e2e_scenarios.py: asuitesevidence key, the lane is the suite's own, and a scenario that cites suites may cite only presets those suites run. LaneL3andl3-production-window-matrixnow haveruns = true.docs/prism-release-benchmark.md;docs/prism-e2e-load-ci.md: the lane row, the suites and triggers, what L3 proves and does not, the dispatch commands and the evidence rows.Decision for review
The brief says the tag promotes the newest successful PR run. I implemented "finished and complete": every planned run reached its gate, whether it passed or failed. The promoted verdict is carried, so a tag promoting a run that failed a gate fails too. The reason: several #473 cells miss their own strict gates by one or two refused shares at 1 or 2 frontends async. With "successful", the tag would almost never promote, and would rerun a tree that will measure the same. If you want strict success instead, it is a one-line change in
verdict_rejection.Verification (local, this branch)
cargo test --locked -p qbit-prism-load: all pass, including the newtests/collate.rs(7 tests), andrealism.rsvalidates the three new presets through the harness's own entry checks.cargo clippy -p qbit-prism-load --all-targets -D warningsandcargo fmtare clean.qbit-prism-load-compare --validate-presetpasses on all three new presets.--collatewas run end to end on a syntheticl3-reducedplan with one missing artifact and one failed gate. The tables came out as expected and it exited 1.python3 -m unittest tests.test_prism_l3_promote tests.test_prism_load_matrix tests.test_check_e2e_scenarios tests.test_prism_load_ab: all pass.python3 scripts/check_e2e_scenarios.pypasses.actionlint .github/workflows/prism-load-l3.ymlis clean.l3-fulland atag_dry_runon a matching and a non-matching tree are left to the coordinator.Since the handover (#626)
3.x.x.scripts/check_e2e_scenarios.pynow has both evidence keys: 3.x.x: Shipped-image lane (L6): Compose prism profile with the HA overlay (#487 S19) #544'slane_checks(L6) from3.x.xand this PR'ssuites.3.x.xadded two result flags every preset must pin:--ctv-settlement(3.x.x: settle load runs through CTV fanout with --ctv-settlement, and count each landed block's direct, fanout and carried recipients (#548) #644) and--faults(3.x.x: inject faults under load in a load-harness fault phase, per PR and nightly on the real node (#554) #623). The three new presets pinfalseandnull, as the presets they derive from do.compare::Buildgainedpredates_report_fields. A collation summarizes one build, so the list is empty.docs/prism-e2e-load-ci.mdgets Handover: Lane C 3.x.x readiness — finish #564, #620, #608, #614 #626's L3 section. One correction to the draft: dispatch, like the weekly schedule, needs the workflow file onmain, so the lane row says L3 runs on pull requests and tags until it is mirrored there.3.x.x, av*tag or a PR that changesVERSIONstartsl3-full(about $42). The coordinator accepted that for the release-candidate bump.cargo test -p qbit-prism-load --test realism --test collate --test compare --test legacy_flags, all passing;--validate-preseton the three presets;python3 -m unittest tests.test_check_e2e_scenarios tests.test_prism_l3_promote tests.test_prism_load_matrix tests.test_prism_load_ab(96 tests) andscripts/check_e2e_scenarios.py, both passing.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.