Skip to content

Stabilize bounded CI deadlines - #28

Merged
0thernet merged 1 commit into
mainfrom
codex/stabilize-ci-deadlines
Aug 27, 2026
Merged

Stabilize bounded CI deadlines#28
0thernet merged 1 commit into
mainfrom
codex/stabilize-ci-deadlines

Conversation

@0thernet

Copy link
Copy Markdown
Member

What changed

  • observe the authority-supervisor child close event before waiting on later control frames, then apply the timeout when consuming that already-live observation
  • give the two serialized staging-install regressions a 180-second outer deadline, above their two bounded inner installer budgets
  • keep production code and runtime deadlines unchanged

Why

The previous test harness could miss a fast child close event and could terminate a valid second serialized install at the old 60-second outer deadline. On the exact current-main replay, the two affected installer cases completed successfully in 64.1 seconds and 82.1 seconds, which directly demonstrates that the old outer timeout was below valid bounded work under host load.

Exact evidence

  • base: 25a5573687ad13ace8bd5ef3f80444834f69fc8e
  • head: 9934dc5797867bbb456b467a1ea886e0cb5c2ac2
  • stable patch identity remained bc407328e02c9c530ef1b9a15e34952d69675908 across the current-main replay
  • bun install --frozen-lockfile --ignore-scripts
  • bun run check: lint and typecheck passed; 1,766 tests passed with 97,601 assertions; site check/build, CLI build, package-policy tests, and isolated local/global consumer plus PTY/daemon lifecycle verification passed

The intervening main change updated only package.json and bun.lock for @hraness/site-footer v0.3.1; this repair changes only the two test files and was fully replayed after the dependency update.

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hra Ready Ready Preview Aug 27, 2026 10:29pm

Request Review

@0thernet 0thernet left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Independent exact-head review for 9934dc5797867bbb456b467a1ea886e0cb5c2ac2: no blockers found. I verified that the diff is limited to scripts/authority-supervisor-runtime.test.ts and src/install-preflight.test.ts; production/runtime code and deadlines are unchanged. The supervisor test now subscribes to close/error before the awaited spawn/control sequence and applies the bounded wait when consuming that existing observation, removing the demonstrated missed-event race while cleaning both listeners on settlement. The installer changes raise only the two outer serialized test deadlines to 180s, consistent with the observed valid 64.1s/82.1s exact-current runs and without weakening an inner installer authority bound. git diff --check is clean, and the exact-current full local gate reported 1,766/1,766 tests plus package, CLI, site, PTY, and daemon verification green. Formal approval is unavailable because the authenticated reviewer is also the author, so this exact-SHA comment records the independent semantic review.

@0thernet
0thernet merged commit 2b5956d into main Aug 27, 2026
5 checks passed
@0thernet
0thernet deleted the codex/stabilize-ci-deadlines branch August 27, 2026 22:43
@0thernet
0thernet restored the codex/stabilize-ci-deadlines branch August 27, 2026 22:43
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