Skip to content

3.x.x: a dispatch-only Blacksmith runner probe for the load harness (#541) - #561

Merged
Anatolie merged 7 commits into
3.x.xfrom
S1-541-blacksmith-bench
Sep 29, 2026
Merged

Anatolie merged 7 commits into
3.x.xfrom
S1-541-blacksmith-bench

Conversation

@Anatolie

@Anatolie Anatolie commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Part of #541 (S1 of #487).

What

.github/workflows/prism-load-runner-probe.yml, workflow_dispatch only, so there is no standing spend. For each runner class chosen (default 8, 16, 32 vCPU), one job builds the release server and harness, then runs short-plan-20k-window-1fe and throughput-20k-window-1fe in the same job and checkout (#487 lesson 4). No --allow-* override is passed. Each job records:

  • pg_test_fsync (fdatasync, one 8 kB write) on the filesystem the harness's clusters use (lesson 1), plus the block device's write_cache / fua / rotational flags and mount options, as evidence on whether fsync reaches stable storage;
  • wall time for the build, seeding (window.seed.seconds) and each run;
  • peak host memory (MemTotal − MemAvailable, sampled every second) over the build and each run (lesson 3);
  • shortfall per phase and the tip-to-last-notify p99 (the gate's nearest-rank), which 3.x.x: pre-mainnet end-to-end scenarios on regtest, plus a nightly load-harness job #521 scenario 6's gates read;
  • whether every provenance check passed (dirty, revision evidence, release profile, artifact_kind: qualification).

The Cargo target directory is kept on a Blacksmith sticky disk in one job and in the Actions cache in another, per class. Restore and save times and target sizes are recorded. Dispatch twice to compare warm restores with cold builds.

Other jobs:

  • fsync-spread: pg_test_fsync only, on N VMs per class (default 3), for VM-to-VM disk consistency.
  • duration (optional, off by default): holds a 2 vCPU runner for the given minutes to find the maximum job duration.
  • collate: writes the per-class results table to the summary and to the prism-probe-table artifact.

Supporting changes:

  • New short-plan-20k-window-1fe preset: the short plan at 50/s on throughput-20k-window-1fe's fixture, manual, so it is not in the nightly set. Added to the Rust test that checks every checked-in preset.
  • scripts/prism_load_probe.py: matrix, measure, host, row, fsync-row and table subcommands, with tests/test_prism_load_probe.py.
  • README section, and the 32 vCPU label added to the actionlint config.

The billing multiplier is still read off the usage dashboard against these jobs' minutes. Results go on #541 once the workflow has been dispatched.

Verification

  • python3 -m unittest tests.test_prism_load_probe tests.test_prism_load_matrix: 21 tests pass.
  • actionlint 1.7.7 is clean on all workflows. ShellCheck was not available locally.
  • The Rust preset test was not run locally (no toolchain here); CI runs it. short-plan-20k-window-1fe changes only the plan, the rates and the steady-state length from throughput-20k-window-1fe, within Args::validate's rules.
  • The workflow itself has not been dispatched yet.

🤖 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 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-29T14:02:50.445758Z 87a1468 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 force-pushed the S1-541-blacksmith-bench branch from fc8c16d to ae4ae60 Compare September 28, 2026 20:53
…541)

S1 of #487. prism-load-runner-probe.yml builds the server and harness and
runs short-plan-20k-window-1fe (new, manual) and throughput-20k-window-1fe in one job and checkout on each
chosen runner class (8, 16, 32 vCPU by default), with the target directory
on a sticky disk in one job and the Actions cache in another. Each job
records pg_test_fsync on the cluster filesystem and the kernel's view of
its block device, build, seeding and run wall times, peak host memory,
shortfall per phase, the tip-to-last-notify p99 and whether every
provenance check passed without an override. pg_test_fsync-only jobs give
the VM-to-VM spread, an optional job probes the maximum job duration, and
a collate job writes the per-class table. No schedule, so no standing
spend.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Anatolie
Anatolie force-pushed the S1-541-blacksmith-bench branch from ae4ae60 to f4e7f8d Compare September 28, 2026 20:53

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

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

Every probe, fsync-spread and collate job checks out the SHA the plan job
resolved, so a push to the ref while runners queue cannot make classes
build and measure different commits (Codex review).

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: a4a6884d62

ℹ️ 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 and others added 2 commits September 28, 2026 17:14
…heck (#541)

A leading zero made bash compare the value as octal, so 05000 passed the
4,200-minute cap and then ran as 5,000 (Codex review).

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: b716348312

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

Comment thread scripts/prism_load_probe.py Resolved
…541)

A VM whose pg_test_fsync failed was dropped from its class's range, so
three VMs with one failure read as a complete two-VM spread. The table
now names how many VMs are unknown (Codex review).

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: 0b14366447

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

Comment thread scripts/prism_load_probe.py Resolved
…ner probe (#541)

A run that printed the one-write section and then exited nonzero was
parsed as a good sample although its file carries the failure line; the
parser now checks that line first (Codex review).

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: 4001087aad

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

Comment thread scripts/prism_load_probe.py Resolved
Comment thread scripts/prism_load_probe.py Resolved
… partial tip p99 unknown (#541)

The collate step reads the plan job's matrices, so a probe or fsync job
that failed before writing its row is named as missing and counted
among a class's unknown VMs instead of silently narrowing the range. A
run with no row at all still writes the table.

A tip some session never got work on now leaves the tip-to-last-notify
p99 unknown, as the gate has it, with the missing count kept (Codex
review).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Anatolie
Anatolie merged commit e961113 into 3.x.x Sep 29, 2026
21 checks passed
Anatolie added a commit that referenced this pull request Sep 29, 2026
)

GitHub dispatches a workflow only when its file is on the default
branch, so #561's dispatch-only runner probe can't run until main
carries it, and #541's runs are blocked on that. The file is copied
byte for byte from 3.x.x at e961113; every job that uses a repository
file checks out the `ref` input (3.x.x by default) first.

Refs #589

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Anatolie added a commit that referenced this pull request Sep 29, 2026
…from 3.x.x (#565, #561) (#583)

* main: sync the PRISM load-harness nightly workflow from 3.x.x (#565)

Schedules run from the default branch's copy of this workflow, so #565's
weekly 2.x.x migration-lifecycle schedule (Sunday 03:43 UTC) and its
schedule-specific job conditions only fire once main carries them. The
file is copied byte for byte from 3.x.x; jobs still build and test the
`ref` input (3.x.x by default).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* main: copy the PRISM load-harness runner probe workflow from 3.x.x (#561)

GitHub dispatches a workflow only when its file is on the default
branch, so #561's dispatch-only runner probe can't run until main
carries it, and #541's runs are blocked on that. The file is copied
byte for byte from 3.x.x at e961113; every job that uses a repository
file checks out the `ref` input (3.x.x by default) first.

Refs #589

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Anatolie <[email protected]>
Anatolie added a commit that referenced this pull request Sep 29, 2026
check_e2e_scenarios (and the Python shard that runs its test) failed on
3.x.x after #561 added short-plan-20k-window-1fe without a scenario citing
it; this adds that dispatch scenario.

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