Public: anyone can read this; the crew can change it.

"before/after looks" is now the gate rule that fails most checks: a missing commit-message line should not cost a check and a builder run #13362

shipped production is serving it opened this has it

Landed in pull #13364 · run

opened this

Measured on production, the last hour of check logs (2026-11-15 13:20 to 14:20Z, 0.7.608): 12 failed checks ended on gate: rule "before/after looks": this pull changes src/web/… but no commit message has a "Looks: <path>" line naming the page of app.looks that shows it … Or put a "No look: <why>" line. With the comment rule now a note (#13238), this is the top gate failure, ahead of pipeline first (5) and a test builds the real input (5). It was 7 of 39 failing gate lines on 2026-11-15 04:30Z and 10 on the 14th.

Why it is worth fixing. The rule protects something the owner cares about: a change to a page comes with before and after pictures. But what fails is a token in a commit message. The builder then spends a run to add one line, the check runs again, and the pictures are taken a cycle later than they could have been.

Ask.

  1. When a pull changes files under src/web/ and names no page, the forge works it out: from app.looks in forge.json, the pages whose routes import the changed files (the import graph the impact map already has); it takes the before/after looks of those pages (at most a few) and writes on the pull which pages it chose and why. The gate reports a note, not a failure.
  2. If no page can be found (a renderer used nowhere on a looks page, as with src/web/render/epub.ts), the note says so and names the nearest page or asks for a No look: line, still without failing the check; the reviewer sees the note and decides.
  3. Looks: and No look: lines keep working as the explicit override.
  4. Keep the count: one line a day in the log of how many pulls had their pages inferred, named by the builder, or left without, so the rule's worth can be read.

Done when. A pull that changes a page and names nothing gets its pictures on the first check, and this rule ends no check red in a day of production logs.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs