Skip to content

feat(baseline): 18 measured minutes, on-demand deploys, and 45 components reviewed - #123

Merged
ruehowl merged 3 commits into
mainfrom
claude/tender-bell-gunxyb
Oct 26, 2026
Merged

ruehowl merged 3 commits into
mainfrom
claude/tender-bell-gunxyb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

The timings are measured now, and the budget was 2.5x the truth

pullely/multi-tenant-saas-2 built on 2026-10-26, 13:14 → 13:32 UTC, in 18 minutes. Every phase's expectedMinutes is that run's own elapsed rounded to the nearest minute, and the card's 45 becomes 18.

phase budgeted now measured
01-scaffold 2 1 1m15s
02-foundation 5 3 2m30s
03-infrastructure 8 2 2m5s
03-infrastructure-database 5 3 3m2s
04-workers 14 4 3m53s
05-edge 4 2 2m21s
06-console 5 2 2m29s
08-docs 2 1 under a minute
total 45 18 18m wall clock

Two line items of the old arithmetic were not merely conservative but wrong about the shape of the build:

  • "Supabase project creation, 5–7m, is the floor and nobody can shorten it." The whole of 03-infrastructure — Supabase project, KV namespace, terraform apply, both environments — took 2m5s.
  • 04-workers at 14 still carried the memory of two convergences, a strip and a restore. The twelve-worker fleet reached both environments in 3m53s.

What the run confirms as designed: eight landings and no ninth (PR #1–#8 — 04-workers-restore is gone), and 06-console at 2m29s against the ~13 a cold Next.js build took, which is the fetched artifact doing its job.

One run is one sample, said plainly in TIMINGS.md. A fresh account with nothing cached is the slow case, but a bad day at Supabase or Cloudflare will beat 18.

A phase that no longer exists was still being promised

04-workers' done line read "minus two bindings the next phase restores". The fleet has deployed once with its bindings since fleet-stubs; there is no next phase. The operator of the measured build was told there was — it is line 70 of their log.

orun v2.78.4 → v2.89.0, and deploying one component on demand

Nothing else here plans from anything but a diff: a pull request verifies what changed, a merge converges what changed. Neither can answer "put api-edge back on stage" — the most common thing anyone wants from a deployed fleet, and today there is no move short of an empty commit.

github-dispatch (orun ≥ v2.84.0, scope: selected) makes the request the plan: the components and environments named in the event are the whole plan, an unknown component name is an error rather than "everything", and autopush: false stops a one-component deploy claiming to be a catalog snapshot. Only stage and prod activate it, so dev — verify-only — cannot be deployed into.

requireRule is off deliberately: on, a component is dispatchable only if one of its profileRules names the binding — safer, and 45 components' worth of opt-in for a guard the environment list already provides.

Verified against orun's own intent.schema.yaml: the plan block validates. (Validating the whole file needs one correction first — PyYAML is YAML 1.1, so a bare on: key becomes boolean true on both sides, and all four bindings including the three long-working ones "fail" identically.)

45 components reviewed and scored, three defects fixed

docs/components/REVIEW.md scores every component on five measurable signals, generated against the tree rather than typed. 6 score 5/5, 30 score 4/5, 9 score 3/5.

  • **Sixteen test overviews said Verification suite for \None`** — a generator's absent field interpolated as the string None, committed, and inherited by every product built from this baseline. Each now names its real target component and lists its real gates, read from its own component.yaml`.
  • Twenty-three components had no metadata.description, so their catalog rows had no summary. All 45 have one.
  • The seven shared packages opened with one interchangeable sentence — true of all seven, informative about none. Each now says what it is.

The finding that is not a documentation problem

26 components subscribe with profile: quick-check, and that profile runs no tests. This repository says so itself, in .github/workflows/baseline.yml:

It used to ride a tests/flows component whose quick-check profile runs setup, install and a package-structure check — and no tests (observed live on cirrus: 4 passed, 0 failed, none of them a test).

Sixteen of them are test suites whose tests live in preBuildCommand, which quick-check skips. Their lanes go green having installed dependencies and checked a package.json exists.

Not fixed here, on purpose. The fix is one word per component — profile: verify — and flipping it turns on sixteen suites that have never run in CI. That belongs in a change that can watch what it turns on, not one that is also moving the build's timings. orun-cloud hit the identical hole and recorded it as the packages/db lesson (#1536); its test components say verify for exactly this reason.

Also recorded

All six declared product URLs probed — one 200, five 404. The declarations are right: these are environments.<env>.url/links, which rebrand.mjs rewrites per product, and the measured build's own probe says "Both /health endpoints answered". What the 404s mean is that this repository's fleet is absent from the account it names, which is also why its convergence is red on the console smoke. Rewriting the URLs would propagate a transient fact into every product — and the new github-dispatch binding is the move that actually fixes it.

lumen is clean under v2.89.0's new catalog-ref collision rule — its domains are starter-* and infra, and no component shares a name with one. Nothing to change; checked so the next person needn't.

Verified locally

All ten testing/*.sh suites pass, including manifest (the card's 18 equals the phase sum) and rebrand.



Generated by Claude Code

…ents reviewed

## The timings are measured now, and the budget was 2.5x the truth

pullely/multi-tenant-saas-2 built on 2026-10-26, 13:14 → 13:32 UTC, in 18
minutes. Every phase's `expectedMinutes` is that run's own elapsed, rounded to
the nearest minute, and the card's 45 becomes 18.

Two line items of the old arithmetic were not conservative but wrong about the
shape of the build:

  03-infrastructure   8 → 2    "Supabase project creation, 5–7m, is the floor
                               and nobody can shorten it" — the whole phase,
                               Supabase project and KV namespace and terraform
                               apply, took 2m5s
  04-workers         14 → 4    the twelve-worker fleet reached both
                               environments in 3m53s; the budget still carried
                               the memory of a strip convergence and a restore

What the run confirms as designed: eight landings and no ninth (PR #1–#8,
`04-workers-restore` gone) and 06-console at 2m29s rather than the ~13 a cold
Next.js build took, which is the fetched console artifact working.

ONE RUN IS ONE SAMPLE, said plainly in docs/phases/TIMINGS.md. It was a fresh
account with nothing cached, which is the slow case, but a bad day for
Supabase or Cloudflare will beat 18.

## A phase that no longer exists was still being promised

04-workers' done line read "minus two bindings the next phase restores". The
fleet has deployed once with its bindings since fleet-stubs; there is no next
phase. The operator of the measured build was told there was — it is line 70
of their log.

## orun v2.78.4 → v2.89.0, and deploying one component on demand

Nothing else here plans from anything but a diff: a pull request verifies what
changed, a merge converges what changed. Neither can answer "put api-edge back
on stage", which is the most common thing anyone wants from a deployed fleet.

`github-dispatch` (orun >= v2.84.0, `scope: selected`) makes the request the
plan: the components and environments named in the event are the whole plan,
an unknown component name is an error rather than "everything", and
`autopush: false` keeps a one-component deploy from claiming to be a catalog
snapshot. Only stage and prod activate it, so dev — verify-only — cannot be
deployed into. `requireRule` is off deliberately: on, a component is
dispatchable only if one of its profileRules names the binding, which is 45
components' worth of opt-in for a guard the environment list already gives.

Verified against orun's own intent schema: the `plan` block validates.

## 45 components reviewed, scored, and three defects fixed

docs/components/REVIEW.md scores every component on five measurable signals,
generated against the tree. 6 score 5/5, 30 score 4/5, 9 score 3/5.

  - SIXTEEN test overviews said "Verification suite for `None`" — a
    generator's absent field interpolated as the string `None`, committed, and
    inherited by every product built from this baseline. Each now names its
    real target and lists its real gates, read from its own component.yaml.
  - TWENTY-THREE components had no `metadata.description`, so their catalog
    rows had no summary. All 45 have one now.
  - The seven shared packages opened with one interchangeable sentence, true
    of all seven and informative about none. Each says what it is.

## The finding that is not a documentation problem

26 components subscribe with `profile: quick-check`, and that profile runs no
tests — this repository says so in .github/workflows/baseline.yml, observed
live on cirrus as "4 passed, 0 failed, none of them a test". Sixteen of them
are test suites whose tests live in `preBuildCommand`, which quick-check
skips.

NOT FIXED HERE, on purpose: the fix is one word per component, and flipping it
turns on sixteen suites that have never run in CI. That belongs in a change
that can watch what it turns on, not one that is also moving the build's
timings. orun-cloud hit the identical hole (#1536) and its test components now
say `verify`.

Also recorded: all six declared product URLs probed (one 200, five 404 — the
declarations are right and this repo's own fleet is absent, which the new
dispatch binding is the move to fix), and lumen is clean under v2.89.0's new
catalog-ref collision rule.

Verified locally: all ten testing/*.sh suites pass, including manifest (the
card's 18 equals the phase sum) and rebrand.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BfmHkwWeA1oPJGBNF3QSQH
`orun plan` and `blueprint-parses` both refused the tree:

  packages/contracts/component.yaml failed the plan-engine parser:
  yaml: line 5: mapping values are not allowed in this context

Two of the descriptions added in the previous commit carried a bare `: `,
which ends an unquoted scalar. An em dash says the same thing, is valid
unquoted, and is what every neighbouring description already uses.

WHY IT REACHED CI. The ten `testing/*.sh` suites all passed with the tree in
that state — none of them parses a component manifest, so the first thing that
reads one with a real YAML parser is `orun plan`. The check I ran before
pushing parsed `intent.yaml` and `ci.yml` and not the 23 component manifests
the commit edited, which is the gap: every file a change touches gets parsed
now, and all 49 do.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BfmHkwWeA1oPJGBNF3QSQH
The page argued from a comment in baseline.yml about a component on cirrus.
This pull request's own CI settles it directly: `db-tests · dev · Verify` ran
setup-pnpm, setup-node, install-workspace-dependencies and
verify-package-structure (0.0s), reported "4 passed, 0 failed, 0 skipped", and
never executed `pnpm exec turbo run test`. projects-worker-tests, in the same
lane, ran the same four steps.

Also recorded, because it is the reason this went unseen: the lane is named
`· Verify`. The check that appears on a pull request, goes green and satisfies
branch protection carries that title whatever profile it actually ran.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BfmHkwWeA1oPJGBNF3QSQH
@ruehowl
ruehowl marked this pull request as ready for review October 26, 2026 09:04
@ruehowl
ruehowl merged commit 0b2a810 into main Oct 26, 2026
58 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