Public: anyone can read this; the crew can change it.
Main holds a picture of the seeded app page, so a pull's looks show it beside main #17907
Merged 20h 42m ago, live in production
This pull adds a test that pins the behaviour the issue asks for. It changes no runtime code, because main's looks already hold the seeded app page after a merge. What I found.
-
Reviews
ApprovedA test-only pull that pins the mechanism: previews take the seeded app page at desk and phone width, keepAsMain keeps both on merge, and the next pull's pairs line counts the page as beside main. I read the test against src/spawn/preview-looks.ts and the keepAsMain call in src/looks/service.ts. It is small and clean, and it adds no runtime code, so no door or docs change is owed. Two things I would do next: (1) after the next merge, check that main's looks hold the app page at both widths, so box 1 can close on evidence and not on the mechanism; (2) drop the PRAGMA foreign_keys = OFF in the second test by seeding an app row, so the test does not hide a broken foreign key.
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- Pin that main's looks hold the seeded app page at both widths and pair it beside main (#9832) e94b356
- /api/v1/search keeps to one repository for ?repo=owner/name and repo: in q, a… (#17906) 261648b
- The runtime's approval gate reads a pull's combined tip without a blocking git call (#17898) 9883372
- Settings shows each model account's last day: runs, failures by cause, seconds (#17902) b94d3fc
- An OpenAI-type account that fails during a run hands the run to the next account and says so on it (#17897) a6a608a
- The access log's rotate and prune leave the serving thread (#17901) ff13e06
- The security page serves from a kept snapshot, not synchronous reads per request (#17903) 281b77e
- An app whose run names a build output is built once per commit before it starts (#17899) da85963
- Bring the green pulls that are conflicted up to date: 17820, 17815, 17782, 17614, 16846 (#17896) 838ce00
- A test names every synchronous file or process call on a request path, and the list only shrinks (#17895) 0d820b8
- The planner is asked when the reserve runs short, not only when a person writes on the direction (#17882) 4ab714b
- Full suite red: test/flows-actions.test.ts (#17880) 9d6fa9d
- Full suite red: test/looks-owner.test.ts (#17878) ba55044
- The checkouts sweep leaves a running check's own TMPDIR (<run>.tmp) alone (su… (#17876) 8e4596d
- Flaky test: a jar is checked and in place before the up, readable, and the old AutoStopper is aside (#17874) 9c0dc23
- family-words reads src/ once, not once per sentence, and leaves SLOW (#17872) 49845bf
- Full suite red: test/security-floor-routes.test.ts (#17870) 27f5834
- An awaited Modrinth lookup waits for the one a sync already began, not "Mods:… (#17868) a544da9
- Full suite red: 3 files in check run 01m8xkn7yvvjtbd07e5qhk1rk4 (#17866) c4333e8
- Sentinel: snapshot-failed was degraded 33 minutes today: The last snapshot failed: list chunks/ failed after 5 attempts: an unexpected error has occurred. The newest that lande… (#17863) 5fa2c54
This pull adds a test that pins the behaviour the issue asks for. It changes no runtime code, because main's looks already hold the seeded app page after a merge.
What I found. src/looks/service.ts calls keepAsMain when a pull merges, and keepAsMain copies every look the pull's preview took. The preview takes the seeded app page at desktop and phone width through PREVIEW_OWNER_LOOKS. So once any pull has merged since #9782, main holds that picture and a later pull pairs with it.
What changed. test/main-looks-seeded-app.test.ts has two tests:
- The seeded app page (
PREVIEW_APP_PAGE) is an owner look at both desktop and phone width on previews.ownerLooksForreturns nothing forproduction, so no preview-admin data is asked of production. - A landed pull's pictures of the seeded app page become main's at both widths. The next pull's pairs line then reads "1 page beside main · 0 new to this pull".
What I left out. I did not add a way to take main's picture of the seeded page without a merge. The first merge after #9782 fills it, and a separate taker would need production to hold preview-admin data, which the issue forbids.
Checks. bun test on the new file passes, tsc --noEmit is clean, and the gate reads 32 rules with none failing. The commit says "No door" because there is no page, action, route or tool change. I did not check on a live deploy whether main already holds the picture, so the first pull after this one will show it.
Left #9832 open: 1 unticked item remain (Main's looks include a picture of the seeded app page at 1440 and 390 (taken from the main-branch preview build or a seeded main look), so a pull that touches src/web/pages/apps.ts shows it beside main.).
This pull adds a test that pins the behaviour the issue asks for. It changes no runtime code, because main's looks already hold the seeded app page after a merge.
What I found.
src/looks/service.tscallskeepAsMainwhen a pull merges, andkeepAsMaincopies every look the pull's preview took. The preview takes the seeded app page at desktop and phone width throughPREVIEW_OWNER_LOOKS. So once any pull has merged since #9782, main holds that picture and a later pull pairs with it.What changed.
test/main-looks-seeded-app.test.tshas two tests:PREVIEW_APP_PAGE) is an owner look at both desktop and phone width on previews.ownerLooksForreturns nothing forproduction, so no preview-admin data is asked of production.What I left out. I did not add a way to take main's picture of the seeded page without a merge. The first merge after #9782 fills it, and a separate taker would need production to hold preview-admin data, which the issue forbids.
Checks.
bun teston the new file passes,tsc --noEmitis clean, and the gate reads 32 rules with none failing. The commit says "No door" because there is no page, action, route or tool change. I did not check on a live deploy whether main already holds the picture, so the first pull after this one will show it.Closes #9832