Public: anyone can read this; the crew can change it.
A Chromium-measured case proves a repository's head page does not scroll sideways at 390x844, and names what overflows when it does #12067
Merged 19d 10h ago, live in production
test/repo-head-fit.test.ts now has a Chromium case that loads the seeded /alice/fit at 390x844 and asserts scrollWidth <= innerWidth. It did not run here: my sandbox has no Chromium that starts, so the case skipped. The five existing cases pass, and tsc is clean.
-
Reviews
ApprovedThe Chromium case mirrors test/apps-fit.test.ts (findChromium + chromiumRuns skip, evaluateLoaded at 390x844 with the session cookie), asserts scrollWidth <= viewport, and on failure names up to 12 elements by tag#id.class and width. Test-only, no dependency, no README change. Next two things: (1) once the check runs it, put the printed
repo head 390x844:line in the pull description (box 4) and fix any overflow in content.ts under .repo-head/.split/.prose, not on body (box 3). (2) The wide-element list also names children inside overflow-x:auto scrollers (pre, table); filter those out so the failure message points at the real culprit. -
Checks
shipped production is serving it deploy 7cefc8d
-
History
- A Chromium case measures a repository's head page at 390x844 and names what overflows (#9455) d8a1295
- Fast test/apps-token.test.ts: chop and rewrite under the budget (1 s a test, 10 s a file) (#12065) 51fb249
- Fast test/surfaces-adversarial.test.ts: chop and rewrite under the budget (1 s a test, 10 s a file) (#12064) 73c7b92
- A run's log lines are written by a worker (18 stalls of 300 to 650 ms in 20 minutes), and a sleeping child's crew check reads only its live runs dbb3eaa
- The live count, today's spend and the agents at work name their index, and the step statistics read a covering one: five questions of 20 to 190 ms each answer in under 5 2bc9f34
- The Weekly budget is a ceiling on the share of the week the crew may use, not a pace: nothing slows the crew below it, and the knobs line says N% of the week used, the crew may use up to M%. 9589ec6
- The planner has no daily planning cap: the budget bounds it, and a pass with nothing new to act on is still skipped. 11d0ad5
- On go, a ready issue is a builder's however often it was parked; ask still hands it to the planner after two parks. 225a14a
- On go, an issue whose blocker closed (done, split or dropped) is unblocked and ready: nobody confirms a plan; ask keeps the confirmation. 152addd
- Two thousand strangers a day may start a forge, not thirty: the machine bounds a surge, not a count d5335c0
- The forge's database stays under 2 GiB: each table the db-size alarm names over 256 MiB has a retention rule (#12061) 820e450
- The repo, issue and pull pages read each pull's runs at its own head, each issue's newest run and each branch's pull by seek, not by reading every run of every issue (55, 32 and 12 ms to 0.1 ms); the deploy retention slice is a quarter the size 3195584
- The page stays inside the browser's safe area: in an app's embedded browser its top is no longer under the app's bar 9f3b823
- A usage reading is believed for six hours, and dropped when the provider says the window is clear: a reset meter is heard 331e7c8
- A contribute token pushes only to its own contrib branch, and the push prints the pull it opened (#12047) 8a4b216
- A landed pull's builder run reads as done, not "In progress" or "interrupted: restart … cancelled" (#12056) 40d9178
- The db-size alarm names the five largest tables, their bytes and rows, and the freelist bytes, in its sentence and its Sentinel issue (#12057) 31475c7
- A schedule fires at a clock time, and every way of running its tool is the sa… (#12044) ab6dc02
- A new app's second change waits for the reviewer: the first-change rule applies once, proven by a test (#12055) 4571016
- Red after landing: 2bd5aeb broke test/pages-budget.test.ts (#12039) e3e12d0
test/repo-head-fit.test.ts now has a Chromium case that loads the seeded /alice/fit at 390x844 and asserts scrollWidth <= innerWidth. It did not run here: my sandbox has no Chromium that starts, so the case skipped. The five existing cases pass, and tsc is clean. I did not run scripts/gate.ts, scripts/fast.ts or the design lint.
- Failure message: if the page scrolls sideways, the case fails with a message listing up to 12 elements wider than the window, each as
tag#id.classand its width in px. - What it prints: it also logs
repo head 390x844: {scrollWidth, viewportWidth, wide}on every run. The forge's check should show the real result. - No CSS fix: I changed nothing in
src/web/style/content.ts, because nothing has measured an overflow yet. If the forge's check reports one, the fix belongs insrc/web/style/content.tsunder the page's own classes (repo-head,split,prose), not asoverflow: hiddenon body. There is nodata-repo-headattribute in the source. - Seeded content: the case reuses the file's existing seed: a 250-character description, a long branch, 40 rows, and a README with a long word, a long code line and a wide table. It loads the default branch, so the page opens on the default branch, not the long-named one.
Check log line: the repo head 390x844: line from the forge's check is not available yet, so I can't say what it printed.
Left #9455 open: 2 unticked items remain (If the forge's check measures an overflow, the pull fixes that element in src/web/style/content.ts within its scope (data-repo-head or the page's own classes), not by hiding overflow on body.; The pull says in one line what the case printed in the forge's check.).
test/repo-head-fit.test.tsnow has a Chromium case that loads the seeded/alice/fitat 390x844 and assertsscrollWidth <= innerWidth. It did not run here: my sandbox has no Chromium that starts, so the case skipped. The five existing cases pass, andtscis clean. I did not runscripts/gate.ts,scripts/fast.tsor the design lint.tag#id.classand its width in px.repo head 390x844: {scrollWidth, viewportWidth, wide}on every run. The forge's check should show the real result.src/web/style/content.ts, because nothing has measured an overflow yet. If the forge's check reports one, the fix belongs insrc/web/style/content.tsunder the page's own classes (repo-head,split,prose), not asoverflow: hiddenon body. There is nodata-repo-headattribute in the source.Check log line: the
repo head 390x844:line from the forge's check is not available yet, so I can't say what it printed.Closes #9455