Repository navigation
feat(baseline): 18 measured minutes, on-demand deploys, and 45 components reviewed - #123
Merged
Merged
Conversation
…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
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 timings are measured now, and the budget was 2.5x the truth
pullely/multi-tenant-saas-2built on 2026-10-26, 13:14 → 13:32 UTC, in 18 minutes. Every phase'sexpectedMinutesis that run's own elapsed rounded to the nearest minute, and the card's 45 becomes 18.01-scaffold02-foundation03-infrastructure03-infrastructure-database04-workers05-edge06-console08-docsTwo line items of the old arithmetic were not merely conservative but wrong about the shape of the build:
03-infrastructure— Supabase project, KV namespace, terraform apply, both environments — took 2m5s.04-workersat 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-restoreis gone), and06-consoleat 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-edgeback 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", andautopush: falsestops a one-component deploy claiming to be a catalog snapshot. Onlystageandprodactivate it, sodev— verify-only — cannot be deployed into.requireRuleis off deliberately: on, a component is dispatchable only if one of itsprofileRulesnames 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: theplanblock validates. (Validating the whole file needs one correction first — PyYAML is YAML 1.1, so a bareon:key becomes booleantrueon 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.mdscores 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.Verification suite for \None`** — a generator's absent field interpolated as the stringNone, 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 owncomponent.yaml`.metadata.description, so their catalog rows had no summary. All 45 have one.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:Sixteen of them are test suites whose tests live in
preBuildCommand, whichquick-checkskips. Their lanes go green having installed dependencies and checked apackage.jsonexists.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 thepackages/dblesson (#1536); its test components sayverifyfor 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, whichrebrand.mjsrewrites 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 newgithub-dispatchbinding is the move that actually fixes it.lumen is clean under v2.89.0's new catalog-ref collision rule — its domains are
starter-*andinfra, and no component shares a name with one. Nothing to change; checked so the next person needn't.Verified locally
All ten
testing/*.shsuites pass, includingmanifest(the card's 18 equals the phase sum) andrebrand.Generated by Claude Code