Files
loki/scripts/ci
ec2d0d196e fix(cd): auto-merged PRs must actually reach the box (#171)
* fix(system): box capacity specs must not wrap under the status word

Caught rendering prod /system at 320px: the upgrade-target row was a single
baseline-aligned flex row, so the spec text wrapped beneath the "blocked"
badge — "…160" on one line, "GB disk" orphaned on the next, reading as two
unrelated fragments.

Narrow screens now put the spec line on its own full-width row (order-3 +
w-full) with the status pushed right beside the type name; sm+ keeps the
original single-line layout. Layout utilities only — no new tokens.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(cd): auto-merged PRs must actually reach the box

Three PRs merged onto a green main today and none of them deployed. The
re-arm looked healthy because CI itself ran — but GitHub does not emit a
`workflow_run` event for a run that GITHUB_TOKEN started, so Deploy never
chained off the dispatched CI. Every auto-merged commit was landing
merged-but-not-live, silently. Only #164 shipped, because a human token
pushed it.

A chain cannot fix this, because the link GitHub refuses to create is the
chain itself. So deployment becomes a reconciler: each sweep compares main's
tip against the last successful Deploy and dispatches deploy.yml directly
when they differ. Self-healing by construction — a deploy that never fired,
or fired and failed, is retried next sweep instead of needing a human to
notice. It only ever runs against a tip whose own CI is green, which the
guard above it already established, and it stands down while a deploy is in
flight.

deploy.yml gains workflow_dispatch (and an if/checkout that handle both
entry points — `ref:` must not fall through to an empty string, which would
silently ship the default branch).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 17:58:01 +00:00
..