Skip to content

3.x.x: run the load nightly on a run-load label, skip unchanged nights, report scheduled failures, and fingerprint each preset's host (#549) - #596

Merged
Anatolie merged 4 commits into
3.x.xfrom
Anatolie/prism-s3-l2-549
Sep 30, 2026
Merged

Anatolie merged 4 commits into
3.x.xfrom
Anatolie/prism-s3-l2-549

Conversation

@Anatolie

@Anatolie Anatolie commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Part of #549 (S3 of #487): the parts of the remaining scope that don't wait on #542.

What changes

  • run-load label. pull_request (labeled, never pull_request_target) runs the nightly preset set against the PR's merge result (refs/pull/N/merge). The plan job now checks out github.ref on PR events instead of 3.x.x. Labelled runs use a concurrency group per PR and label, so they can't cancel a queued nightly, and adding another label can't cancel a pending run-load run. Other labels start no job. A later push needs the label applied again. The label is created.
  • Skipping unchanged nights (P4). A new guard job runs on the nightly cron. It reads the newest prism-load-tested-commit artifact from earlier scheduled runs and compares it with 3.x.x's head. When they match, it writes the skip to the summary and cancels the run, so the skip shows as cancelled, not passed. plan, live-nightly and stratum-fuzz also skip on its output. Any lookup failure lets the night run, because a skip needs positive evidence. Weekly and dispatch runs are never skipped.
  • Tested commit and failure notice. A new report job runs on scheduled runs only. It records the pinned commit once the preset jobs reached a verdict (pass or fail); a build failure leaves nothing recorded, so that commit runs again the next night. If any job failed, it opens the one open prism-load-nightly-failure issue, or comments on it if it's already open. A cancelled (skipped) run does neither.
  • Host fingerprint. prism-load-run.sh writes host.json using prism_load_probe.py host --runner "$RUNNER_LABEL" (new optional --runner). It holds the runner label, the mount options, and the block device's write cache and FUA. It is also added to the job summary. It replaces the ad-hoc nproc/free/uname step.
  • Retention. Preset artifacts are kept 90 days (decision 3).

Not in this PR

Verification

  • actionlint passes on the workflow, and shellcheck on prism-load-run.sh.
  • python3 -m unittest tests.test_prism_load_probe tests.test_prism_load_matrix tests.test_check_e2e_scenarios passes, including a new Host test for --runner. scripts/check_e2e_scenarios.py passes.
  • The guard's API queries were run read-only against this repo: they return the 3.x.x head and the scheduled run 36543082142. I also checked the report's jq failed-job list locally.
  • Not yet exercised end to end in Actions: the cancel path and the issue path run only on a schedule from main's copy.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…s, report scheduled failures, and fingerprint each preset's host (#549)

- pull_request (labeled) with run-load runs the nightly preset set on the
  PR's merge result, in a per-PR concurrency group.
- A guard job cancels a nightly whose 3.x.x head is the commit the last
  scheduled nightly tested (prism-load-tested-commit artifact), so the skip
  shows as cancelled, not passed. Weekly and dispatch runs are not skipped.
- A failed scheduled run opens or comments on the one open
  prism-load-nightly-failure issue.
- prism-load-run.sh writes host.json (runner label, mount options, write
  cache, FUA) via prism_load_probe.py host --runner; preset artifacts are
  kept 90 days.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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-09-29T20:39:41.644117Z 6d8a823 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.

@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: 0c9303a502

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

@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: ca4da34bcd

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

@Anatolie
Anatolie merged commit 5c72621 into 3.x.x Sep 30, 2026
21 checks passed
djh58 added a commit that referenced this pull request Sep 30, 2026
Brings in #596's run-load label, skip-unchanged guard, scheduled failure
notice and per-preset host fingerprint, and resolves where they meet the
soak's Saturday schedule:

- on: the three crons (nightly, Sunday live-weekly, Saturday soak) plus
  #596's pull_request labeled trigger.
- concurrency: a labelled PR run keeps #596's group per PR and label;
  every other run keeps the soak's split, prism-load-soak for the
  Saturday cron or a soak-weekly/weekly dispatch, prism-load-nightly
  otherwise.
- The skip-unchanged guard does not apply to the soak. Its comparison
  step runs only on the nightly cron, so on Saturday the guard job passes
  straight through to plan (which selects weekly), build and run. A soak
  measures drift over one server lifetime and its bounds are still being
  calibrated, so another lifetime on an unchanged commit is a second
  sample, not a repeat; and the tested-commit artifact the guard compares
  with records what the nightly presets ran, not the soak. The soak never
  records a tested commit (the report job's marker steps are nightly-only).
- report: a failed Saturday soak opens or comments on the
  prism-load-nightly-failure issue like any scheduled run, labelled
  "weekly soak" rather than "nightly".
- live-nightly keeps #588's per-binary loop, so soak_smoke still runs
  nightly, under #596's guard condition. Neither live job nor the fuzzing
  runs on the Saturday cron or on a labelled PR.
- prism-load-run.sh: #596's gate-exit-code and host.json summary beside
  the soak's soak-report sample table.
- README and docs/prism-soak.md: the skip and failure-notice wording
  covers both weekly schedules; the soak doc says why it is never skipped.

Job conditions after the merge:

  trigger          guard         plan/build/run      live-nightly  live-weekly  fuzz  report
  17 2 * * *       compares      nightly (unless     yes           -            yes   yes
                                 skipped)
  43 3 * * 0       -             -                   -             yes          -     yes
  41 5 * * 6       pass-through  weekly (soak)       -             -            -     yes
  dispatch         pass-through  inputs.preset       if live       if weekly    if    -
                                                                                fuzz
  run-load label   pass-through  nightly on the      -             -            -     -
                                 merge ref
  other label      -             -                   -             -            -     -

The soak's bounds are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Anatolie added a commit that referenced this pull request Sep 30, 2026
…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]>
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]>
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