Repository navigation
3.x.x: record the load lanes' trend rows on ci-evidence, promote flagged and soak bundles, and report regressions against the trailing same-class median (#551) - #606
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3da662f570
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: afa88f8e4f
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3991d1ac5e
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2913fd243c
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73c39dd606
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f720faa5c4
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 80a9afbc97
ℹ️ 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 |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
3603747 to
f22b23e
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f22b23e637
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 883285e825
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b21b46346
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d81ac2a7a2
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0aeb887d91
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: db87f087e7
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 798e07971b
ℹ️ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ae7dfb88df
ℹ️ 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 |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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 |
d0ead6c to
45d9f7b
Compare
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…ged and soak bundles, and report regressions against the trailing same-class median (#551) - scripts/prism_load_trend.py: one versioned JSONL row per preset run (commit, lane, preset and its sha256, runner class, fsync cost and band, headline numbers, artifact and asset URLs; unmeasured numbers are null), rows for the non-preset jobs and for planned presets that left none, and an append to trend/<lane>/YYYY-MM.jsonl on the orphan ci-evidence branch that bootstraps it, never forces, dedupes by run id, attempt and preset, and retries a rejected or unconfirmed push from a fresh fetch under one deadline. Promotion tars a run's artifact onto the rolling ci-evidence/YYYY-MM pre-release or a tag's release; `cite` promotes a cited run by hand. - scripts/prism_load_regress.py with test/prism-load-regression.toml: report-only rule, trailing median per lane, preset, runner class and fsync band, spread from #542's variance file when given, else the baseline's scaled MAD (provisional); names the commit range from the last good run to the first bad one, and keeps unknown distinct from a pass. - .github/actions/prism-load-evidence: the reusable read/regress/promote/ append/issue sequence for the nightly and #550's tag job. - prism-load-nightly.yml: each preset job builds its row; a scheduled-only `evidence` job (the only contents: write job) records and files; a read-only `evidence-preview` reports for run-load PRs and dispatches. - #542's runner-probe variance document (qbit.prism.runner-probe-variance.v1) supplies the spread, per run and fsync band; docs/prism-e2e-load-ci.md documents the branch, rows, promotion and rule; #552's bridging job and the other lane jobs get job rows at their own attempt. Refs #551 Co-Authored-By: Claude Opus 5.5 <[email protected]>
45d9f7b to
66fc2d4
Compare
#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]>
(#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]>
Refs #551 (S6 of #487, decision 3). Rebased on 3.x.x after #605 (#542), #612 (the CI doc) and #613 (#552's bridging job).
What this adds
Trend rows (
scripts/prism_load_trend.py row): each preset job ofprism-load-nightly.ymlbuilds one JSON row (schemaqbit.prism.load-trend-row.v1) on every event and uploads it as an artifact. Each row carries:L2for the nightly presets,weeklyfor the Saturday soak, which is the manifest's lane for it and not L5), preset and the preset file's sha256, runner class and host facts;A number the run did not measure is
null, never 0.The
ci-evidencebranch (append): rows go totrend/<lane>/YYYY-MM.jsonland are never edited. The branch is written with git plumbing and created by the first write. Each attempt fetches the tip and skips rows already there. It then commits on top and pushes without force, retrying a rejected or unconfirmed push from a fresh fetch (5 attempts, one 300 s deadline). Concurrent writers lose no row, and a retry never duplicates one.appendrefuses any row whose event is notscheduleor arefs/tags/v*push.Rows for every scheduled run (
job-rows): the non-preset jobs get job rows: 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'sbridgingas L2, the live jobs as L4, fuzzing, and shipped images as L6. A planned preset whose job left no row at its latest attempt gets amissingrow (attempts come from the jobs API). A later promotion gets apromotionrow.Promotion: an artifact, fetched by its exact ID, is uploaded to the rolling
ci-evidence/YYYY-MMpre-release or to a tag's release. The asset name is<lane>-<preset>-run<id>-attempt<n>.tar.gz, so--clobberonly ever replaces the same bundle on a retry. The default policy promotes L3, L5 andweeklyalways, and L2 when flagged (a regressed number or a failed gate). Any failure is recorded asfailedon its row.cite --artifact-idpromotes a run cited in an issue or doc.Regression rule (
scripts/prism_load_regress.py, thresholds intest/prism-load-regression.toml), report-only and provisional:max(k·spread, min_relative·|median|, min_absolute).qbit.prism.runner-probe-variance.v1document:all.cvof the run's own 3.x.x: Measure run-to-run noise and pick a runner class per lane (#487 S2) #542 fsync band, or else the class's all-band group. The evidence action passes it once it is checked in astest/prism-load-variance.json. Without it, the spread is the baseline's scaled MAD, which is provisional..github/actions/prism-load-evidence: read the trend, run the rule, upload the verdict and write the summary. Withwrite: trueit also promotes, appends, and keeps the oneprism-load-regressionissue: the commit range and both runs' numbers side by side. The issue never pages and never blocks a merge.Workflow jobs:
evidence, scheduled runs only, is the only job withcontents: write(plusissues: writeandactions: read). It is also inreport's needs.evidence-preview, withcontents: readandactions: read, reports forrun-loadPRs and dispatches. PR and dispatch runs record nothing.docs/prism-e2e-load-ci.md: the L2 status and parts, the "Trend, regression rule and evidence promotion (3.x.x: Trend branch, evidence promotion and the regression rule (#487 S6) #551)" section (branch layout, row schema, promotion, the rule and where its thresholds live), and "Where evidence lives".Follow-ups (not in this PR)
--lane L3 --ref "$GITHUB_REF",promote: all,release: <tag>, andregression-config: ''unless L3 joins the rule's lanes.bridge-row.json(qbit.prism.load-bridge.v1) stays in its artifact. Only the job's outcome is trended here. Trending the real-minus-fake numbers needs its own row kind and a rule for a difference series.test/prism-load-variance.jsonand setprovisional = falseonce k and the floors are chosen from it.Verified locally
python3 -m unittest tests.test_prism_load_trend tests.test_prism_load_regress tests.test_prism_load_probe tests.test_prism_load_matrix tests.test_prism_load_bridge tests.test_check_e2e_scenarios tests.test_docs_lab_prism_references: OK.scripts/run_python_test_shard.py --shard-index 0 --shard-count 1): 918 tests OK. The runner still exits 1 on 15 parity citations for compose and container tests that are skipped on this host; this change doesn't touch them.tests/fixtures/prism-load-trend/variance/): written byprism_load_probe.varianceitself throughgenerate.py, and a test fails if it goes stale.500-1000usband.actionlint; shellcheck on each composite step;python3 scripts/check_e2e_scenarios.py.Not verified
gh releaseand artifact-zip calls against GitHub (exercised with fakes only).🤖 Generated with Claude Code