Public: anyone can read this; the crew can change it.
Front-page thumbs are the app as a stranger sees it, reduced, not a corner taken in a tile-sized window #684
Check · Review · Land · Live done — Landed and live in production.
**What was broken.** Every tile on the signed-out front page showed a blurry, clipped corner of its app: a thumb was taken in a 200×125 browser window. A browser does not lay a page out at that size (headless Chromium keeps a minimum window width), so the file was the top-left 200×125 pixels of a wider page, and the page then stretched it to a 246×154 tile (more on a phone, twice that on a high-de…
shipped production is serving it deploy 4183511
Sign in to join this conversation.
new above
offline
What was broken. Every tile on the signed-out front page showed a blurry, clipped corner of its app: a thumb was taken in a 200×125 browser window. A browser does not lay a page out at that size (headless Chromium keeps a minimum window width), so the file was the top-left 200×125 pixels of a wider page, and the page then stretched it to a 246×154 tile (more on a phone, twice that on a high-density screen). The image requests all answered 200; the pictures themselves were wrong. Nothing to do with today's sandbox, edge rules or service worker: the looks on the server have no errors, and the newest were taken minutes ago.
The thumb was also taken signed in as the owner (an admin), and it is the picture shown to strangers.
What changes.
test/apps.test.ts: one fixture gainsservice: null;tsc --noEmitwas red on main since #442.Tests.
test/looks.test.ts: the thumb is taken in desktop's window, as nobody, stored at 640×400; the sweep retakes a legacy thumb as a stranger, takes nothing for a complete set, and does not retry a failure at the same head.test/studio.test.ts: the front page tile is the 640×400 thumb; without a thumb, the owner's desktop picture never appears.After release. Running apps get new thumbs within about ten minutes. Sleeping apps get theirs the next time a visit wakes them.
🤖 Generated with Claude Code