Repository navigation
daemon-idle: an A-B-A reading for the idle bound's re-derivation; gate.yml's E2E_MINUTES - #319
Merged
Merged
Conversation
…'s re-derivation The idle spec's fifth case runs the first case's scene three times back to back in one job, each leg a fresh launch on a scratch of its own with the shape it names in that launch's MAWS_HOST_MODE: today's detached supervisor (A), the daemon shape (B) and the supervisor again (A'). A leg's scratch is removed, its processes ended, before the next launches. Each window is the first case's settle, window and readers, each held to the existing validity rule. Its line (abaLine) names B against the mean of A and A' (with the ratio), A against A', each of B's processes against its A mean, and each window's per-process medians, CPU and load; it writes test-results/daemon-idle-aba.json and asserts no bound. The scene, the settle and the window take the shape and the run as parameters (the other cases pass the process environment's shape and IDLE_RUN, unchanged); the enrolled case's window validity and reading helpers move to module scope for both. MAWS_DAEMON_IDLE_TRIAL=1, set by no script, shortens the A-B-A legs to a 10 s settle and a 60 s window for a local end-to-end trial. A measured group on MEASURED_E2E with its package script; the first case's two scripts leave the case out. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…idle-aba takes 90 A group whose own run needs more than its class's minutes is named on gate.yml's E2E_MINUTES as name=minutes, and the plan gives its job those minutes in place of its class's, the wait of its runner's start still added on top (CI-opt's design: every per-group policy is a gate.yml list the plan reads). The plan refuses, whatever the run, an entry that is not that form, whose minutes are not a positive whole number, or whose name has no package script. daemon-idle-aba takes 90: its three settles and windows are 36 minutes and its scenes about 3 more, which its two settle guards' 15-minute bounds and its build would outgrow in a measured group's 60; on the home Mac its timeout is 100. gate-plan.test.mjs: the new list's rows (its own minutes on and off the Mac, a group off the list keeping its class's, each malformed entry refused), and the repository's variables as they stand now carry E2E_MINUTES, so the measured groups' placement pins daemon-idle-aba at 100 from gate.yml itself. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…idle-aba Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
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. |
…e 300 minutes A 309-digit entry passed the pattern, became Infinity and serialized as a null timeout instead of failing closed. Cap at 300: GitHub-hosted jobs stop at 360 minutes and the longest start wait added on top is 60. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ooted mini, 66097 KiB and 0.12 s (P5 Decision Log 107) Three distinct runs at d0802b2: 40791210494 (66737 KiB, load 2.4), 40795119204 (66097, 3.7) and the A-B-A 40778748076 as the mean of its detached windows (66073; 65537 and 66609), the architect's record (his 583 and 586). The bound moves from 101113 KiB and 1.11 s to 99145 KiB and 1.12 s. O2's record stays as history (DAEMON_IDLE_BASELINE_O2). Two baselines were void on load from Spotlight's post-reboot reindex, one of them at 178eb02, named in the comment. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…exing, not Spotlight's file index CI-opt's correction: Spotlight file indexing is off on every volume of the mini (mdutil -s -a); the processes were corespotlightd and spotlightknowledged. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Owner
Author
|
The landing set at head a23a131 (tree 96e59a29, merge base a26a493 = master, CLEAN):
The baseline record (2673a71): d0802b2, runs 40778748076 (the A-B-A's A mean, 66,073), 40791210494 (66,737) and 40795119204 (66,097). That gives a median of 66,097 KiB and CPU 0.12 s, so the bound is 99,145 KiB and 1.12 s. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook) |
SSFSKIM
added a commit
that referenced
this pull request
Oct 29, 2026
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The idle bound's re-derivation reading, owed after P5 O10 M10 (P5 Decision Logs 107, 124 and 125; the architect's rulings 565 and 575). A fixed bound on the daemon shape flaps because the machine drifts between jobs. tonight's runs saw the engine host read 65 to 72 MiB with no code change, which put master itself over 101,113 KiB. This case measures that drift and cancels it: it reads today's detached supervisor (A), the daemon shape (B) and the supervisor again (A') back to back in one job, so B can be compared with the A mean taken in the same job.
What changed
e2e/daemon-idle.spec.ts, its fifth case ("A-B-A").MAWS_HOST_MODE.test-results/daemon-idle-aba.jsonand asserts no bound.MAWS_DAEMON_IDLE_TRIAL=1, which no script sets, shortens the legs for a local end-to-end trial.test/support/daemon-idle.ts.abaDeltascomputes B against the A mean, as a difference and as a ratio, and A against A'. It also gives each of B's processes against its own A mean.abaLineformats the job log's line.test/support/daemon-idle.test.tscovers both.package.json.e2e:daemon-idle-aba(-g "A-B-A").|A-B-Ais added to the grep-invert ofe2e:daemon-idleande2e:daemon-idle-baseline, so neither runs it.MEASURED_E2Elistsdaemon-idle-aba.E2E_MINUTESis a new gate.yml list ofname=minutes. The plan (gate-plan.mjs) gives a listed group's job those minutes in place of its class's, with the Mac wait still added.daemon-idle-aba=90puts its timeout at 100 on the home Mac.gate-plan.test.mjshas the rows. CI-opt reviewed this design.The first readings (on d0802b2, the mini after its 2026-10-28 reboot)
Validation
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)