Skip to content

main: sync the PRISM load-harness nightly workflow from 3.x.x at c95febb3 (#590, #596, #588, #597, #552, #551, #553, #554) - #601

Merged
Anatolie merged 3 commits into
mainfrom
Anatolie/main-sync-nightly-596
Oct 16, 2026
Merged

Anatolie merged 3 commits into
mainfrom
Anatolie/main-sync-nightly-596

Conversation

@Anatolie

@Anatolie Anatolie commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Scheduled workflows run from main's copy, so these changes only take effect once main carries them. The file is now 3.x.x's copy byte for byte as of 3.x.x c95febb3, re-synced on 2026-10-06. The last 3.x.x change to the file is bd1ddeb0 (#663). It was first synced at 1932cb30 (#597).

Until this merges, main's copy (#595) has no qbitd install step. So every scheduled --node qbitd preset (short-plan-real-node, faults-short-real-node) fails with "--node qbitd needs --qbitd-bin or QBITD_BIN" (scheduled runs 37188928798, 37287515779). This is #633 item 1.

What main's schedule gains, by 3.x.x change:

Every job checks out the ref input (default 3.x.x) or the commit the plan job pinned. So the scripts, presets, actions and test lists come from 3.x.x, not main. No job checks out main's tree, apart from the sparse changes checkout, which runs only for PRs into 3.x.x and 3.x.x pushes.

What the triggers do on main:

  • push: branches: [3.x.x] never runs main's copy.
  • A PR into main starts a run whose jobs are all skipped (changes only runs for PRs into 3.x.x; guard only for the run-load label). Labelling a main PR run-load would fail its plan job, because main has no scripts/prism_load_matrix.py. That case and the skipped-run noise are 3.x.x: prism-load-nightly.yml robustness follow-ups from #601's review #694 item 1.
  • No new secrets, variables or runner labels. Scheduled runs create the ci-evidence branch, the ci-evidence/YYYY-MM pre-release and the prism-load-nightly-failure/prism-load-regression labels and issues on first use.

Verify: git diff origin/3.x.x -- .github/workflows/prism-load-nightly.yml is empty at this head (3.x.x c95febb3). actionlint 1.7.12 (with shellcheck 0.11.0) is clean using 3.x.x's .github/actionlint.yaml.

Cost, which a human should approve before this merges:

  • Saturday soak: about 350 runner-minutes a week, about $5.60 at $0.016 per 8 vCPU minute.
  • Saturday faults-long-real-node: about 60 to 100 min on 16 vCPU, about $2 to $3.20 a week.
  • Nightly bridging: two 30-minute halves plus setup on 8 vCPU, about $0.50 to $1.20 a night, or $3.50 to $8.40 a week.
  • Sunday L6: one 8 vCPU job capped at 45 minutes, at most about $0.72.
  • evidence and report: 2 vCPU, a few minutes per scheduled run.
  • The nightly presets already run on main's schedule; the real-node ones now complete instead of failing at startup.

Review: /code-review high on this head found no defect in the sync. Its findings about the workflow itself exist on 3.x.x today and are collected in #694.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T02:16:36.648194Z e1b5e5c New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Anatolie

Anatolie commented Sep 30, 2026 •

Copy link
Copy Markdown
Member Author

Post-merge steps for humans

Rewritten on 2026-09-30. This PR now copies the workflow from 3.x.x at 1932cb30, so it also brings #588 (the weekly soak) and #597 (L6, the shipped-images lane). The earlier version of this comment is out of date: the follow-up sync it asked for is this PR.

Before merging

  1. Approve the new weekly cost. 3.x.x: long soak automation: a one-lifetime soak plan for the load harness, a weekly 5.5 h soak and a deployment soak report (#575) #588 adds a Saturday 05:41 UTC run of the 5.5-hour soak-weekly preset. That is about 350 runner-minutes a week, about $5.60 at $0.016 per 8 vCPU minute, or about $24 a month. 3.x.x: run the shipped images under the Compose prism profile with the HA overlay, weekly and on Dockerfile or Compose changes (#544) #597's L6 job adds one 8 vCPU job each Sunday, capped at 45 minutes (at most about $0.72). A human should confirm this spend is wanted.
  2. Expect the Saturday soak to fail until 3.x.x: a 400k-window frontend's resident set ratchets up with block landings to ~3.3 GB over a 5.5 h soak #600 is handled. The calibration run on 3.x.x: long soak automation: a one-lifetime soak plan for the load harness, a weekly 5.5 h soak and a deployment soak report (#575) #588's branch (run 36612534287) passed every gate except resident memory, which is filed as 3.x.x: a 400k-window frontend's resident set ratchets up with block landings to ~3.3 GB over a 5.5 h soak #600. 3.x.x: long soak automation: a one-lifetime soak plan for the load harness, a weekly 5.5 h soak and a deployment soak report (#575) #588 said a follow-up would mark those memory checks as an expected failure, but it hasn't landed on 3.x.x yet. Until it does, every Saturday soak fails and comments on the prism-load-nightly-failure issue. If that isn't wanted, wait for the follow-up and re-sync before merging.

After merging

  1. Check the first scheduled nightly. It is scheduled for 02:17 UTC, but GitHub often starts it hours late.
  2. Check the first Sunday run (03:43 UTC). Besides the weekly live scenarios, it now runs Shipped images (Compose prism profile, HA overlay), which is L6. L6 has already passed once on 3.x.x at 1932cb30, in about 8 minutes (run 36748030949). If the Sunday run passes too, tick both boxes on 3.x.x: Shipped-image lane (L6): Compose prism profile with the HA overlay (#487 S19) #544. 3.x.x: Shipped-image lane (L6): Compose prism profile with the HA overlay (#487 S19) #544 was closed when 3.x.x: run the shipped images under the Compose prism profile with the HA overlay, weekly and on Dockerfile or Compose changes (#544) #597 merged, so reopen it if L6 fails.
  3. Check the first Saturday soak (05:41 UTC). It should fail only on resident memory, as step 2 explains. Any other failed check is new and needs a look.
  4. Tidy up 3.x.x: Nightly load-regression lane (L2) on the fake node (#487 S3) #549 and the failure issue.

Nothing to set up:

  • No new secrets or variables. The jobs only use the built-in GITHUB_TOKEN.
  • No new runners. Every job uses Blacksmith runner labels that main's workflows already use.
  • The run-load label already exists. The workflow creates the prism-load-nightly-failure label the first time a scheduled run fails.
  • Pull requests into main now show this workflow with every job skipped. That is expected, and it is not a required check.

…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]>
#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]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1b5e5c64e

ℹ️ 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".

@RobertClarke RobertClarke changed the title main: sync the PRISM load-harness nightly workflow from 3.x.x (#590, #596, #588, #597) main: sync the PRISM load-harness nightly workflow from 3.x.x at c95febb3 (#590, #596, #588, #597, #552, #551, #553, #554) Oct 6, 2026
@RobertClarke

Copy link
Copy Markdown
Member

Re-synced as e1b5e5c to 3.x.x's copy at c95febb: byte-identical, actionlint clean, and CI green on this head. The body now lists everything the copy adds to main's schedule, including the evidence job's contents: write, the nightly bridging job and the Saturday faults-long-real-node, with the updated weekly cost. /code-review high found no defect in the sync itself; what it found in the workflow exists on 3.x.x too and is collected in #694.

This needs a second human's approval: main's ruleset requires approval of the last push by someone other than the pusher. Merging it ends the nightly's real-node failures (#633 item 1), and no further sync is pending after it.

🤖 Generated with Claude Code

@Anatolie
Anatolie merged commit 93cf491 into main Oct 16, 2026
29 checks passed
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.

2 participants