Repository navigation
3.x.x: run the short plan on the fake and the real node on one runner and report what the real node costs (#552) - #613
Merged
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f19e13c725
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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. |
Member
Author
|
@codex review |
Anatolie
force-pushed
the
Anatolie/552-bridging-lane
branch
from
September 30, 2026 18:43
57d840a to
83a361b
Compare
Anatolie
force-pushed
the
Anatolie/546-lanes-doc
branch
2 times, most recently
from
September 30, 2026 19:46
6fef63f to
aff4eb7
Compare
… and report what the real node costs (#552) A `bridging` job in prism-load-nightly.yml runs short-plan-fake-node and short-plan-real-node one after the other on one 8 vCPU runner, alternating the order with the run number, on the nightly schedule, the run-load label and on dispatch (`bridging: true`). It runs in addition to the matrix's own jobs for the two presets. scripts/prism_load_bridge.py reads both run directories and writes bridge-row.json (qbit.prism.load-bridge.v1) and a job summary table of real minus fake: client_ack_latency p50/p99 per phase, the slowest session's time to usable work over the external tips, per-frontend and summed peak RSS, and the pool node's submitblock and getblocktemplate relay latency and peak RSS. What only the real node measures stays unknown on the fake side, never 0, and a side that failed its harness or gate marks the row untrusted. The row states it is not a D1 verdict. Both halves always run and the row is always written; the job then fails if either half failed its gate, and the report job files a scheduled failure. The manifest's bridging-fake-and-real-node scenario now runs (nightly), citing the pair; tests/test_prism_load_bridge.py holds the job's wiring, its timeout against the presets' and the pair differing only in --node. The lanes doc and the harness README describe the lane. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Anatolie
force-pushed
the
Anatolie/552-bridging-lane
branch
from
September 30, 2026 21:00
83a361b to
bdea850
Compare
…ed its gates (#552) A bridge that failed during setup or timed out still let the report job record the commit as tested when the matrix presets reached theirs, so the guard skipped the next unchanged night and the same-runner comparison was never retried. The bridging job now leaves a prism-load-gated-bridging marker when both halves' gates returned 0 or 1, and the report job requires it beside the matrix presets' markers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Anatolie
force-pushed
the
Anatolie/552-bridging-lane
branch
from
September 30, 2026 21:00
bdea850 to
000ebd7
Compare
1 task
Anatolie
added a commit
that referenced
this pull request
Sep 30, 2026
…spread, trend the bridging job, file the soak under its own lane, and document the evidence lane (#551) - prism_load_regress.py reads qbit.prism.runner-probe-variance.v1 (#605): all.cv of the run's own #542 fsync band, else the class's all-band group; other schemas and versions refused by name; numbers #542 does not measure stay provisional and are named. The fixture is written by prism_load_probe.variance itself, and a test keeps it in step. - The evidence action passes test/prism-load-variance.json once checked in. - #613's bridging job gets a job row (L2) and joins the evidence job's needs. - The Saturday soak's rows are lane `weekly` (the manifest's), not L5. - docs/prism-e2e-load-ci.md: the evidence, trend and regression sections. Refs #551 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 1, 2026
RobertClarke
added a commit
that referenced
this pull request
Oct 6, 2026
#551, #553, #554, #582) The file is 3.x.x's copy byte for byte again, as of 3.x.x c95febb; the last change to it there is bd1ddeb (#663). Since 1932cb3 (#597), five 3.x.x changes landed in it: - #552 (#613): the `bridging` job runs the short plan on the fake and the real node on one runner, nightly, on the run-load label and on a dispatch with the new `bridging` input. - #551 (#606): every preset job builds a trend row; on a schedule the `evidence` job (the one job with `contents: write`) appends the rows to the orphan `ci-evidence` branch, applies the report-only regression rule, promotes the soak's and flagged runs' bundles to the rolling `ci-evidence/YYYY-MM` pre-release, and keeps one `prism-load-regression` issue. PR and dispatch runs get the read-only `evidence-preview` instead. - #553 (#618): the live nightly and weekly lists gain the chain-event scenarios under 2,000 sessions; the workflow's comments say so. - #554 (#635): the run job installs fuse2fs and fuse3 for a preset whose faults fill the WAL volume (faults-long-real-node, Saturday). - #582 (#663): comment only. Without this, main's scheduled copy (#595) still has no qbitd install step, so every `--node qbitd` preset fails with "--node qbitd needs --qbitd-bin or QBITD_BIN" (scheduled runs 37188928798 and 37287515779). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 6, 2026
Anatolie
added a commit
that referenced
this pull request
Oct 16, 2026
(#590, #596, #588, #597, #552, #551, #553, #554) (#601) * main: sync the PRISM load-harness nightly workflow from 3.x.x (#590, #596) Co-Authored-By: Claude Opus 5.5 <[email protected]> * main: sync the PRISM load-harness nightly workflow from 3.x.x (#590, #596, #588, #597) Adds #588's Saturday 5.5 h soak schedule and its live-nightly step that runs every listed test binary, so qbit-prism-load::soak_smoke runs beside the live_regtest variants, and #597's L6 shipped-images lane on the Sunday schedule. Byte-identical to 3.x.x at 1932cb3. Co-Authored-By: Claude Opus 5.5 <[email protected]> * main: re-sync the PRISM load-harness nightly workflow from 3.x.x (#552, #551, #553, #554, #582) The file is 3.x.x's copy byte for byte again, as of 3.x.x c95febb; the last change to it there is bd1ddeb (#663). Since 1932cb3 (#597), five 3.x.x changes landed in it: - #552 (#613): the `bridging` job runs the short plan on the fake and the real node on one runner, nightly, on the run-load label and on a dispatch with the new `bridging` input. - #551 (#606): every preset job builds a trend row; on a schedule the `evidence` job (the one job with `contents: write`) appends the rows to the orphan `ci-evidence` branch, applies the report-only regression rule, promotes the soak's and flagged runs' bundles to the rolling `ci-evidence/YYYY-MM` pre-release, and keeps one `prism-load-regression` issue. PR and dispatch runs get the read-only `evidence-preview` instead. - #553 (#618): the live nightly and weekly lists gain the chain-event scenarios under 2,000 sessions; the workflow's comments say so. - #554 (#635): the run job installs fuse2fs and fuse3 for a preset whose faults fill the WAL volume (faults-long-real-node, Saturday). - #582 (#663): comment only. Without this, main's scheduled copy (#595) still has no qbitd install step, so every `--node qbitd` preset fails with "--node qbitd needs --qbitd-bin or QBITD_BIN" (scheduled runs 37188928798 and 37287515779). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Robert Clarke <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #552 (S12 of #487). Stacked on #612 (
Anatolie/546-lanes-doc), whose lanes doc it updates.What
bridgingjob inprism-load-nightly.yml:short-plan-fake-nodeandshort-plan-real-node, one after the other on one 8 vCPU runner, throughprism-load-run.sh, on the pinned commit and the shared release binaries. It runs on the nightly schedule, on therun-loadlabel, and on dispatch with the newbridging: trueinput. It runs in addition to the matrix's existingshort-plan-fake-node/short-plan-real-nodejobs, which are unchanged. The order alternates with the run number, and the row records it. The qbit install step matches the matrix job's. Both halves always run and the row is always written. Each half runs undertimeoutwith its preset's owntimeout_minutes, so a hung half cannot use up the job's time and leave the other half and the row unrun. The job then fails if either half's gate did not exit 0, and thereportjob files that as a scheduled failure.timeout-minutes: 75is the two presets' 30 min each plus setup. A test holds it against the presets' values.scripts/prism_load_bridge.pyreads both run directories and writesbridge-row.json(qbit.prism.load-bridge.v1) and a job-summary table of real minus fake:client_ack_latencyp50/p99 per phase;VmHWM);submitblockandgetblocktemplatelatency through the relay, and the pool qbitd's peak RSS. These exist only on the real node, so the fake side and the difference are unknown, never 0 (EP-OBSERVABILITY).Any figure a side could not measure stays null with its reason. A side whose harness or gate did not exit 0, or whose report has another schema or preset, marks the row untrusted and says why (EP-COMPAT). The row and the table say it is not a D1 verdict.
Manifest:
bridging-fake-and-real-nodebecomesruns = trueinnightly, citing the pair.tests/test_prism_load_bridge.pyholds the job's wiring.check_e2e_scenarios.pyis unchanged and passes.Docs: the lanes doc's bridging section is filled in, and the harness README's preset table points at it.
Verification
python3 -m unittest tests.test_prism_load_bridge tests.test_check_e2e_scenarios tests.test_prism_load_matrix: 45 tests OK.python3 scripts/check_e2e_scenarios.py: passes.actionlint .github/workflows/prism-load-nightly.yml: clean.prism-load-run.shfor both presets (real side on the pinned qbit 1.0.0), then the bridge script on the two real run directories. The real half passed its gate. The fake half aborted inslow_databasewith a host-local PostgreSQL/dev/shmsegment error unrelated to this change, which exercised the untrusted path: the row named both exit codes, and the missing phase and fake-only unknowns kept their reasons. That run caught a bug (the runner label key inhost.json), now fixed and covered by the tests./code-review mediumfound that neither half had its own time limit, so one hung half could leave no row. Fixed: each half now runs undertimeoutwith its preset's own minutes, andtimeoutwas checked to kill the half's whole process group.main, which the coordinator owns.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.