Skip to content

gate: a measured group builds out/ before a second settle guard - #273

Merged
SSFSKIM merged 1 commit into
masterfrom
measured-settle-after-build
Oct 28, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
measured-settle-after-build

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Why

O2's idle-bound runs on the mini were void on load (11.0, 14.8, 25.8). ci-kit's settle guard released them at a 1-minute load of 2.33 (40652728419) and 3.32 (40657230165), and the jobs ended at 7.11 and 9.87.

The guard is the e2e job's first step, so it runs before setup and before scripts/e2e-build.sh. That build runs inside the measured step, so its own multi-core load landed in the measured window, and the 1-minute load takes minutes to decay. The architect asked for this change (sminos 439) so O2's window starts after the build.

What

  • gate-plan.mjs: a MEASURED_E2E group whose script builds out/ gets a prebuild entry naming its variant (variantOf). Its timeout gains the second guard's 15 minutes: 60, or 70 on the exclusive instance. tool-time-heavy-live builds nothing, so it keeps one guard and 45 minutes (55 on the exclusive instance).
  • gate.yml, e2e job (and e2e-vm by alias, where no measured group runs): right before the command, on a Mac:
    • The job builds matrix.prebuild into the same disk cache the command's own e2e-build.sh restores from: MAWS_E2E_BUILD_CACHE=$HOME/Library/Caches/maws-e2e-build/$RUNNER_NAME, keyed by $GITHUB_SHA.
    • Then SSFSKIM/ci-kit/mac/settle@v1 runs again with vm: any. The first guard's claim already keeps the guest off until the job ends.
  • The first guard stays the job's first step, which the ci-kit VM contract requires.

Evidence

  • Focused: gate-plan.test.mjs 78/78, including the new assertions on prebuild, the step shape and the timeouts.
  • The other gate-script tests show the same results with and without this change. The four local reds (e2e-default-specs ×3, Poppler flags) fail the same way on master here because of this machine's node_modules. Static on the pool runs them all.
  • Gate: static plus e2e:artifacts-perf on the mini, in this PR's checks/run below.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

The settle guard released a measured job before its setup and build, so the build's own
multi-core load landed in the measured window: O2's idle-bound runs on the mini were released
at a 1-minute load of 2.33 and 3.32 and ended at 7.11 and 9.87, void under their load rule.

The plan now gives a measured group whose script builds out/ a `prebuild` (its variant). On a
Mac the e2e job builds that variant into this disk's cache right before the measured command,
whose own e2e-build.sh then restores it, and waits at a second guard (vm: any: the first guard's
claim already keeps the guest off until the job ends). Such a group's timeout gains the second
guard's 15 minutes (60, 70 on the exclusive instance); tool-time-heavy-live, which builds
nothing, keeps one guard and 45.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

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 🔄 Running since 2026-10-28T09:19:35.330642Z 430afb1 PR opened
ℹ️ 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.

@SSFSKIM
SSFSKIM merged commit 8508c4d into master Oct 28, 2026
SSFSKIM added a commit that referenced this pull request Oct 28, 2026
…second settle guard (#273)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 28, 2026
… measured prebuild; wire minor 5)

- engine-host ipc: O2's setKeep deadline beside lane B's engine.pendingItems
- WIRE_MINOR is 5 (master's 4 + 1), with socket.ptyFrames; the manifest is regenerated
- O6's snapshots name O2's commands: routes.json (session.setKeep addressed; daemon.*,
  host.interest and pty.recaptureEnv machine-wide) and address-paths.json (setKeep's
  and host.interest's session ids)
- gate-plan.test: a measured group whose script builds no out/ (daemon-idle-floor,
  tool-time-heavy-live) keeps the one-guard timeout under #273's prebuild
- the counts: 98 bare specs (machines, daemon-unit, daemon-idle); pool demand 2x35/2x36/2x35
- Sidebar's Keep running test installs the fake bridge as O6's tests do and expects main's bare id

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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