Skip to content

TU11: a faster bootstrap on orun v2.88.0 — tasks in the background, landings checked here - #13

Merged
ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb
Oct 25, 2026
Merged

ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

What

A todo build without the waits that did nothing for it. The last measured build (newdsfdfd: v6, orun v2.87.0) took 5:14 from the box's boot. About a minute of that was waiting on things the build didn't need. This release removes those waits, on the new orun v2.88.0 floor (sourceplane/orun#792).

change saves
The task set-up (epic, both milestones, both tasks) runs in the background (background: true). Each phase finds its task in post, just before its landing. ~23 s
Both landings check their commit in the box (checks: local: orun validate, then orun plan as the PR and as the merge would plan it, ~0.4 s), then merge without waiting for a runner's plan ~24 s + ~18 s
The convergence watch reads every 5 s instead of the action's default 40 s up to 40 s, ~20 s on average
No wiring await 1 step
No pnpm-lockfile hook 1 step
02-docs: no final probe 1 step
02-docs: the render asks the platform nothing (it made 5 CLI calls one after another) ~5–10 s

Why each removal is safe:

  • wiring await: db-migrate and the site resolve WIRING_CLOUDFLARE_D1 in the convergence, from the same place every later run reads it. A green run already proves the document is there.
  • pnpm-lockfile: it only re-checked the lockfile the product ships. The lanes install that lockfile frozen, and so does the baseline's own e2e tier.
  • 02-docs final probe: its render probes both URLs as it writes the record, and that landing redeploys nothing.
  • 02-docs platform calls: the record now names the secrets the deployment uses and points to the console's Secrets and Integrations pages for the live list.

expectedMinutes is now 4 + 1 (the card says 5, "about five minutes"), taken from the measured build rather than the old estimate of 14 + 2.

Kept from going back

testing/phases.test.sh now fails if:

  • any preInstantiate hook is not background: true;
  • a phase has a pre hook;
  • a landing is not checks: local;
  • the watch polls slower than every 10 s;
  • a phase declares narrate.await without having await hooks.

The rule that required a secrets/exists await is replaced by the reasoning above.

Floor

BOOTSTRAP.md and baseline.yml now pin orun v2.88.0. v2.87.0 refuses this blueprint (has no parameter "checks"). The build box always installs the latest orun release, which is now v2.88.0.

Verified locally (orun 2.88.0)

  • orun new --status reads the blueprint.
  • All 10 test tiers pass: manifest, phases, coverage, leak, rebrand, retouch, wire, bootstrap-defer, placement, and e2e. The e2e tier builds, migrates, dry-deploys and serves the product.
  • The deployment record renders in about 1 s and makes no platform calls.

Generated by Claude Code

…andings checked here

Measured on the last todo build (newdsfdfd, v6, orun v2.87.0): 5:14 from
the box's boot, of which about a minute was waiting on nothing the build
needed. On the orun v2.88.0 floor:

- the task set-up (epic, both milestones, both tasks) runs in the
  background (`background: true`); each phase finds its task just before
  its landing, in `post`, so the provider check, placement, rebrand,
  repository and secrets run beside it (~23 s);
- both landings check their commit in the box (`checks: local`: orun
  validate, then orun plan as the PR and as the merge) and merge without
  waiting for a runner's `plan` (~24 s + ~18 s);
- the convergence watch reads every 5 s instead of the action's 40;
- no `wiring` await: db-migrate and the site resolve WIRING_CLOUDFLARE_D1
  in the convergence from where every later run looks, so a green run
  already says it is there;
- no `pnpm-lockfile` hook: the shipped lockfile is installed frozen by the
  lanes and by the baseline's own e2e tier;
- 02-docs: no final probe (its render probes as it writes, and the landing
  redeploys nothing), and the render asks the platform nothing — the
  workspace slug, three secret listings and the integrations listing were
  five sequential CLI calls; the record names the secrets the deployment
  uses and points to the console for the rest;
- expectedMinutes 4 + 1 (card 5, "about five minutes"), from the
  measurement rather than the old 14 + 2.

phases.test.sh holds the fast shape: every preInstantiate hook in the
background, no phase `pre` hook, every landing `checks: local`, the watch
at most 10 s; narrate.await only where a phase awaits. BOOTSTRAP floor and
baseline.yml pins v2.88.0; docs/phases, BOOTSTRAP, the context pages
updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CJuLwDKfEaQGAEuBpJvN5Q
@ruehowl
ruehowl marked this pull request as ready for review October 25, 2026 07:18
@ruehowl
ruehowl merged commit 55b67a5 into main Oct 25, 2026
5 checks passed
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.

2 participants