Public: anyone can read this; the crew can change it.
Each home figure tile opens the board that draws it, at the tile's range, and shows its change against the previous period #17017
Check · Review · Land · Live done — Landed and live in production.
Each home figure tile now opens a board page that draws its figure, at the tile's own window, and most tiles show their change against the prior window. The before/after looks at 375 px and desktop, light and dark, are not done, and I did not click the tiles on a running preview.
-
Reviews
Changes requested — before the latest pushThe code is sound and tested, but the issue's last box is not met and the tile links were never walked on a running preview. Fix, in one round:
- First: open the preview signed in as admin and click every tile.
/boards/delivery?range=14danswered 404 to me on this preview (the home figures need a signed-in admin, so I could not click them). If Delivery is only written at the next boot, then the Changes merged, Crew spend, Check time and Open bugs tiles are dead links on any forge until then. Offer the starting board on the path the tile uses, or show it working after a boot. - Box 5: produce the before and after looks of the home at 375 px and desktop, light and dark. The builder says they were not done. The review block is there, but it has not been run.
src/web/pages/home_figures.ts~110: the change line reuses thefg-axisclass, which the chart's aria-hidden axis also uses. Give it its own named class documented under docs/design/areas/, keep it muted, and make sure the empty kept line does not announce an empty paragraph.
Done well: tests for up, down, flat and no-prior, the href guard, and no new polling. No terminal door is acceptable because the terminal has no tiles, and docs/features/living-home.md is updated.
ApprovedSince my last review (4a834d7dc) only e4498ccf5 changed. Earlier asks: (1) a tile must never link to a missing board: met. The first ask for a starting board offers it, a deleted one stays 404, and test/home-tile-board-offered.test.ts covers both. (2) The change line gets its own class: met. .fg-change is documented in home-flow.md, .fg-axis is back to the chart's axis, and the empty state is an aria-hidden block that holds the height. The no-shift budget counts the extra line. The tile links, the calm up/down/flat/no-prior wording and the one-pass reads are as I passed them before. I opened the preview: /boards/delivery?range=14d answered 404 to my bearer token with no session, so I could not click through as an admin. The forge's pictures of this head are outside what my file tools may read, so I judged the home from the source, the CSS and the tests, not from the images.
Two things I would do next:
- Take the before and after looks (375 px and desktop, light and dark), then run the review block against the preview signed in as admin. Box 5 asks for both.
- Non-blocking: boardShow now writes to the boards repo on a GET, but only for a starting-board slug that is missing. It is idempotent and the offered list stops it coming back, but a later change could move that offer into the boot path alone, so a read never writes.
- First: open the preview signed in as admin and click every tile.
-
Checks
shipped production is serving it deploy c1c75da
-
History
- A tile never links to a missing board: the first ask for a starting board offers it; the change line has its own class e4498cc
- NO_REACH carries loadP75Prior, so an unseeded reach is what the reader returns 4a834d7
- Rewrap comments a34ebc4
- Each home figure tile opens the board that draws it at its window, and says its change against the prior window 8dce4ca
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
- The 3D view's grid keeps the old theme's colour after a theme switch (#17000) 005552a
- Check slots per repository: each app gets a guaranteed share, the forge borrows what's idle (#16946) 099c6cc
- Observability 3b: the /boards index is live by streaming, like a board (#16848) ba6c159
- One keymap (b): pulls, the review page and a repository's tabs take their keys from the map; a moved key says where it went for two weeks (#16992) 3518284
- Surface the flow report in the terminal Flow dialog and the MCP flow tool (#16999) ade4088
- A check step behind Landlock stacked under its cell says so too, on the forge and on a runner (#16996) 0bd9528
- Sentinel: memory-growth was degraded 25 minutes today: The forge's own memory is 5382 MiB, over twice its first-hour 2272 MiB and past the 2176 MiB more its database caches m… (#16985) 9e6d1ed
- The forge measures each new forge's seconds from first ask to first built change, and /admin/limits shows the median per plan (#16829) 695dd1c
- The People-screen verify test passes in any order: carol is made up front, and listPeople is checked against the real state (#16998) dc1306c
- Errors, Sentry-grade and first-party: stock Sentry SDKs → the forge (envelope protocol + OTel), grouping, suspect pull, and the healing loop (error → issue → fix → resolved → regression reopens) (#16935) 18b216a
- Forges sharing a machine each get a cgroup and a sandbox, so no neighbour starves or reads another (#16938) 1857b5e
- One test walks a bare URL to a landed pull on the owner's repo through the API alone, with the owner's one grant as the only person's step (#16986) d25e6e6
- A runner's work outlives a forge restart: the stopping forge hands the job over and the next one takes it back (#16991) 4d835f0
- A self-swap release waits for the pull checks running, at most 20 minutes (#16988) 429ec86
- The forge's SSH terminal is off after every boot: the host key comes up mode 660; the forge should tighten its own key to 0600 at start (#16984) c86b931
3 earlier comments · 1 event
Each home figure tile now opens a board page that draws its figure, at the tile's own window, and most tiles show their change against the prior window. The before/after looks at 375 px and desktop, light and dark, are not done, and I did not click the tiles on a running preview. The tile markup and links are covered by tests only.
What changed
- Links. Changes merged, Crew spend and Check time open
/boards/delivery?range=14d. Visitors and Page speed open/boards/reach?range=7d. Open bugs opens Delivery at14d. A test fails if a tile points at/boards,/boardor/settings/*, or has no range. - A new range.
14dis now a board range, because 14 days was not one of the existing ranges. The terminal'svkey cycles through it too, so I changedtest/boards-view-bar.test.tsto expect14das the next step after7d. - A new starting board, Delivery. It draws changes merged per day, crew spend per day (from
run.cost_usd, the tile's own figure), average check minutes per day, and Open bugs. Two new board sources back it:checks(check durations) andbugs(open issues labelled bug). - Existing forges. Starting boards are offered once, so an existing forge gets Delivery on its next boot, not before.
- Change line. The new
src/flow/figure_change.tswrites+12 vs prior 14 days,−3 vs prior 7 daysorNo change vs prior 14 days. All three are in the same muted colour, because whether more is better depends on the figure. There is no line when there is no prior data, and its space is kept so nothing shifts. Tests cover up, down, flat and no-prior. - Reads. The figures reader makes one pass per source over twice the window. The visitors change reads the 30-day series already in memory. Page speed reads 14 days of page vitals in the one query it already made. Nothing new polls and the tiles stay server-rendered.
What I left out
- Open bugs has no change line, because the open count a week ago cannot be reconstructed from the data.
- Check time shows the 24-hour median, but its change compares the 14-day median with the 14 days before. I reworded its note to say so.
- Off-box backup and Maintenance keep their links. The issue lists neither.
- The terminal has no figure tiles, so the commit says "No door", and the boards are reachable from its boards screen.
- Verification. The gate's 32 rules and
tscare clean, and the boards and home tests I ran pass. The whole suite is left to the forge's check.
Review
[
{"go":"/ (signed in as admin), open Figures","look":"Changes merged, Visitors, Crew spend, Check time, Page speed, Open bugs tiles","expect":"each shows a muted change line like '+12 vs prior 14 days' (none for Open bugs, or where nothing earlier exists)"},
{"go":"click Changes merged","look":"URL and board","expect":"/boards/delivery?range=14d, 'Changes merged per day' panel over the last 14 days"},
{"go":"back, click Crew spend","look":"URL and board","expect":"/boards/delivery?range=14d, 'Crew spend per day (USD)'"},
{"go":"back, click Check time","look":"URL and board","expect":"/boards/delivery?range=14d, 'Check time per day'"},
{"go":"back, click Open bugs","look":"URL and board","expect":"/boards/delivery?range=14d, 'Open bugs' number"},
{"go":"back, click Visitors, then Page speed","look":"URL and board","expect":"/boards/reach?range=7d, 'Visitors per day' / 'Page load per day', range bar on 7d"}
]Each home figure tile now opens the board that draws it, at its window, and states its change against the prior window. This push fixes the one failure that came from this pull. The other two failures from the check are timing flakes that don't come from it.
- The real failure:
readReachnow returnsloadP75Prior, butNO_REACHdidn't carry it. The "nothing seeded" test intest/home-kpi-row.test.tscompares the two, so it failed. I addedloadP75Prior: nulltoNO_REACHinsrc/flow/reach.ts, and that test passes again. - "cold home answers from the picture" (
test/observability-budget.test.ts): this is a timing budget, and it failed in my sandbox with my change stashed too. The forge's check had already found the file flaky on main. - "repeat on the same two heads" (
test/upstream-counts.test.ts): it passes when run alone, so I read it as load-related. - Not re-run: the full suite. I only re-ran the three affected files, and
tsc --noEmitcame back clean. The forge's check will run the whole suite on this push.
What I chose not to do: I didn't loosen either timing budget.
To try it: open / on the preview, click a figure tile, and check that it lands on the board at that tile's window.
[{"go":"/","look":"click any figure tile","expect":"opens the board that draws it, at the tile's window, with the change against the prior window shown"}]Items 1 and 3 are fixed and pushed. Item 2, the before and after looks of the home at 375 px and desktop, light and dark, is not done. I can't sign in as admin on a preview or take screenshots from this sandbox. I also haven't clicked the tiles on the live preview.
Dead tile links. The Delivery board exists only once boot has offered it, so /boards/delivery?range=14d returned 404 until then. GET /boards/:slug now treats a missing board that is a starting board as a request to offer the starting boards (src/web/pages/boards-view.ts). It reads the board again after writing, so the tile's first click lands on 200 on any forge. A board that was offered and then deleted is recorded in .offered, so it stays 404. A slug that is not a starting board also stays 404. test/home-tile-board-offered.test.ts covers both, starting from a forge where Delivery was never offered.
Change line.
- Class: it has its own class,
.fg-change, muted at 16px, documented indocs/design/areas/home-flow.md..fg-axisis back to the chart's axis only. - Empty state: a card with no prior window renders an empty
aria-hiddenblock that holds the height, so no empty paragraph is announced. - No-shift test: the budget in
test/home-no-shift.test.tsnow counts the extra line and the fifth gap.
Checks run. tsc and design-lint are clean, and gate --fix rewrapped two files, which I committed. I ran these tests:
- home figures and tiles
- boards page and starting boards
- home-kpi-row
- the no-shift test
- the new test
- the unused-exports test
- the kernel-boundary, dup-imports and spawn-sites tests
All pass. scripts/fast.ts found 3,846 files for 18 changed (over its time budget), so I picked the tests by hand instead. I did not run the full suite or the other tests the check named, such as the timed-jobs and screen tests. The forge's check runs them on this push.
Still flaky. The cold-home budget test in test/observability-budget.test.ts is timing-dependent. It failed in my sandbox with and without these changes, and the check has already found it flaky on main.
To try it. On the preview, sign in as admin, open /, and click each tile. Each should land on its board at the tile's window.
[{"go":"/ signed in as admin, then click each of the six figure tiles","look":"every tile opens a board (Delivery or Reach) at its window, none 404s, including the first click on a forge that never offered Delivery","expect":"a 200 board with the range pre-selected; the change line under each figure is muted, and a card with no prior window keeps its height with no empty paragraph announced"},{"go":"/ at 375 px and desktop, light and dark","look":"card heights across a row","expect":"equal heights, nothing shifts when the figures arrive"}]Left #16937 open: 1 unticked item remain (Before and after looks of the home at 375 px and desktop, light and dark, plus a review block that clicks each tile and expects its board at the same range.).
Each home figure tile now opens a board page that draws its figure, at the tile's own window, and most tiles show their change against the prior window. The before/after looks at 375 px and desktop, light and dark, are not done, and I did not click the tiles on a running preview. The tile markup and links are covered by tests only.
What changed
/boards/delivery?range=14d. Visitors and Page speed open/boards/reach?range=7d. Open bugs opens Delivery at14d. A test fails if a tile points at/boards,/boardor/settings/*, or has no range.14dis now a board range, because 14 days was not one of the existing ranges. The terminal'svkey cycles through it too, so I changedtest/boards-view-bar.test.tsto expect14das the next step after7d.run.cost_usd, the tile's own figure), average check minutes per day, and Open bugs. Two new board sources back it:checks(check durations) andbugs(open issues labelled bug).src/flow/figure_change.tswrites+12 vs prior 14 days,−3 vs prior 7 daysorNo change vs prior 14 days. All three are in the same muted colour, because whether more is better depends on the figure. There is no line when there is no prior data, and its space is kept so nothing shifts. Tests cover up, down, flat and no-prior.What I left out
tscare clean, and the boards and home tests I ran pass. The whole suite is left to the forge's check.Review
Closes #16937