Skip to content

3.x.x: legible load-harness preset names, a build-once nightly matrix, and a storm-window entry check (#521) - #559

Merged
djh58 merged 1 commit into
3.x.xfrom
djh58/prism-b521-harness-followup
Sep 28, 2026
Merged

djh58 merged 1 commit into
3.x.xfrom
djh58/prism-b521-harness-followup

Conversation

@djh58

@djh58 djh58 commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Refs #521. Follow-up to #536 and #539.

What

Legible preset names. Flags are unchanged, and every description keeps its issue references (#271, #275, #473).

Old New Schedule
d1-20k, d1-20k-realistic throughput-20k-window-1fe, throughput-20k-window-1fe-500-addresses nightly
d1-473-{200,400,500}k-fe{1,2,4}-{async,sync} throughput-{200,400,500}k-window-{1,2,4}fe-{async,sync} 400k 1fe async nightly, the rest manual
tip-275 tip-delivery-2000-miners-400k-2fe-retarget nightly, 8 vCPU (as before)
tip-275-realistic tip-delivery-2000-miners-400k-2fe-retarget-500-addresses manual (was nightly)
mainnet-floor, growth-5x, growth-20x mainnet-shape-130-addresses, mainnet-shape-650-addresses, mainnet-shape-2600-addresses as before
rental-churn rental-churn-bursts-and-storms nightly
smoke pr-smoke every PR (the gated test's id is unchanged)

The old names still select their presets for one release. presets/aliases.txt is read by scripts/prism_load_matrix.py, which serves the dispatch preset input, and by .github/scripts/prism-load-run.sh, each with a deprecation warning.

Build once. The plan job pins the chosen ref to one commit for the whole matrix, so a ref that moves mid-run cannot mix revisions.

  • A single build job, on 8 vCPU, builds the release server, harness and gate, and uploads them with their Cargo dep-info as a tar. The tar keeps the executable bits.
  • Each preset job checks out the pinned commit, unpacks the tar into target/release and touches the binaries. The harness therefore still shows the server was built from the checkout (server_revision_evidence), with no --allow-unverified-server-revision.
  • The preset jobs no longer install Rust or build.

Storm-window entry check (#539 review). With more than one storm, --storm-reconnect-seconds must be shorter than --storm-interval-seconds. Otherwise a storm could pick sessions the previous one left offline, whose closes the client ignores, and overstate its drops. No checked-in preset was affected.

Verification

  • cargo fmt --check and cargo clippy -p qbit-prism-load --all-targets -D warnings are clean.
  • qbit-prism-load tests pass: 136 harness, 21 realism/preset/gate, 6 churn (now including the storm-window refusal and a single-storm acceptance), quorum, and the smoke test.
  • The Python matrix tests pass, including every alias resolving to an existing preset. actionlint and shellcheck are clean.
  • The build-once path, reproduced locally: release binaries and dep-info were packed and unpacked exactly as the jobs do, then prism-load-run.sh smoke ran without --allow-unverified-server-revision. The server was detected as a release build with revision evidence established (136 sources checked), the deprecated name ran pr-smoke, and the gate passed.
  • PR CI cost is unchanged.

🤖 Generated with Claude Code

…, and a storm-window entry check (#521)

Presets are renamed for what they measure:
- throughput-20k-window-1fe[-500-addresses], from d1-20k[-realistic];
- throughput-{200,400,500}k-window-{1,2,4}fe-{async,sync}, from #473's d1-473 cells;
- tip-delivery-2000-miners-400k-2fe-retarget[-500-addresses], from tip-275[-realistic]. The 500-address variant is now manual;
- mainnet-shape-{130,650,2600}-addresses, from mainnet-floor, growth-5x and growth-20x;
- rental-churn-bursts-and-storms;
- pr-smoke.
Their flags are unchanged, and each description keeps its issue references. The old names still select their presets for one release: presets/aliases.txt is read by the matrix planner (the dispatch preset input) and by prism-load-run.sh, each with a deprecation warning.

The nightly matrix builds once. The plan job pins the ref to one commit.
A single job builds the release server, harness and gate there, and ships
them with their Cargo dep-info. Each preset job checks out that commit and
unpacks the binaries into target/release, so the harness still ties the
server to the checkout. It no longer installs Rust or builds.

With more than one reconnect storm, --storm-reconnect-seconds must now be
shorter than --storm-interval-seconds. Otherwise a storm could pick
sessions the previous one left offline, whose closes the client ignores,
and overstate its drops (#539 review).

Refs #521

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@djh58

djh58 commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Review ledger (head a928f31a, CI green)

CI. All 20 checks pass. The gated smoke test is unchanged apart from its preset's new name, pr-smoke, and PR CI cost is unchanged.

Review (/code-review, low).

# Finding Disposition
1 A selection that names a preset twice, by its old and new names (smoke,pr-smoke), could put it in the matrix twice, and the artifacts would collide Not a defect. select() returns sorted(set(names)) after resolving aliases. smoke,pr-smoke and tip-275,tip-delivery-2000-miners-400k-2fe-retarget each plan exactly one job, as checked

Verification (repeated from the body):

  • fmt and clippy are clean.
  • qbit-prism-load tests pass: 136, 21, 6 churn including the new storm-window refusal, quorum, and smoke.
  • The Python matrix tests cover every alias resolving to an existing preset.
  • The build-once path was reproduced locally without --allow-unverified-server-revision: release profile, revision evidence established over 136 sources, and the deprecated smoke ran pr-smoke and passed.

@djh58
djh58 merged commit 14075db into 3.x.x Sep 28, 2026
21 checks passed
djh58 added a commit that referenced this pull request Sep 28, 2026
…540) (#567)

Brings prism-load-nightly.yml on main up to date with its copy on 3.x.x.
The two files are now byte-identical:
- #559: the plan job pins one commit for the whole matrix, a single build
  job shares the release binaries, and the preset names change;
- #540: scenario 5's dense-cadence soak joins the live-nightly list, with a
  comment-only change here.

Refs #521

Co-authored-by: Claude Opus 5.5 <[email protected]>
Anatolie added a commit that referenced this pull request Sep 28, 2026
…ve deprecated names through aliases.txt (#511)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant