Public: anyone can read this; the crew can change it.
v0.7.713 was released and does not look right #17631
Merged 16h 29m ago, live in production
Home's tell box no longer reads issue and pull counts for every app it lists, which was the biggest render cost I found on a many-app forge. I couldn't reproduce the full 204 ms from the release log, because the sandbox can't see production's data.
-
Reviews
ApprovedClean. The tell box only prints owner/name options and appsFirst reads only ownerName and name, so skipping the counts via the existing withoutCounts option changes nothing visible. The default stays with counts for every other caller. No input, output, auth or header surface is touched. The test checks the same ids and no counts on the lean read, and counts still present on the full read. Both doors: the terminal's list is unchanged and the commit says No door. Nothing in src/web markup or tokens changed, so no design findings.
-
Checks
shipped production is serving it deploy 49845bf
-
History
- Wrap comments f3ce287
- Home: the tell box reads the names of the apps it sends to, not their issue and pull counts, so a forge with many apps draws home faster (#17628) 14fc178
- Merge pull request #17616 from sold/cloud-gaps 324663c
- Home: a stat tile's label stops before its sparkline, so "Shipped in 24 hours" is no longer drawn over on a phone (#17581) 59b8076
- An evicted check on a game box loses at most one shard, and a frozen job thaws if the player leaves soon (#17615) 2492b91
- Merge pull request #17620 from sold/game-outcome 2a44186
- The Asked column holds only what needs the owner's word; the crew's queue is one line, and an ask closes itself after seven days (#17559) 40f1d8f
- Test the cloud note on screen and ECS rows at both doors, and clean up after a failure (#17532) 8e73a4b
- The people lists are read right after an op, ban or whitelist typed on the console (#17610) 7afe537
- The game agent never enters the waker's container (#17610) a9ee2ec
- A player command the game server refused is failed, with the closest names seen on that server (#17610) c822b18
- Say a cloud project's note as a plain line, web, terminal and tool (#17532) 6ceafed
- Count a billed account's unread kinds in the headline, apart from the sum (#17532) c059c80
- Lead the headline's unread count to the account that names the kinds (#17532) ee3350f
- Count a resource page's own statements from rest (#17532) ed18981
- Say on a cloud account which kinds were not read, where and why (#17532) 6294957
- Say when R2 is not switched on, instead of asking for a permission (#17532) 7a2295c
- Keep cloud names as their owner wrote them (#17532) da23125
- Read ECS clusters, services and running tasks (#17532) 22ba2af
- A crew paused as "nobody" says so on home, with its autonomy setting as the one control (#17593) 3735c77
2 earlier comments
Home's tell box no longer reads issue and pull counts for every app it lists, which was the biggest render cost I found on a many-app forge. I couldn't reproduce the full 204 ms from the release log, because the sandbox can't see production's data. I haven't confirmed it brings home under the 100 ms line on the stage rig.
What I found. v0.7.713 (#17593) read nothing that scales: its changes to home are a single idle-reason lookup. The three over-budget pages (/, /?view=table, /trevato/forge) are slow in the render phase, after the lane read. I profiled signed-in / on a fixture of 120 apps with 40 issues each, timing each section of the render. The tell box (tellBox) stood out at 12–26 ms. It only prints owner/name options, but it called writableAppsOf, which fetched open-issue and open-pull counts for up to 200 repos.
What changed.
writableAppsOftakes an optionalwithoutCountsargument, off by default, so every other caller keeps the counts (src/web/studio/asks.ts).tellBoxpassestrue(src/web/studio/living.ts). The same apps are listed in the same order, so nothing visible changes.- On the fixture, render went from about 25–40 ms to about 10 ms warm, and the tell box went from 12–26 ms to 2.6 ms.
- New test
test/tell-box-lean.test.tschecks that the lean read returns the same apps as the full one with no counts, and that the full read still has them.
Checks. tsc is clean. These all pass: test/tell-box-lean.test.ts, home-flow, home-builders-idle, snappy, home-first-paint, home-200 and home-cache. scripts/fast.ts named about 2,700 test files, so I ran those tests by hand and not the whole set. The commits carry No door:, Looks: / and Try: lines.
What I left out.
readFacts(4–14 ms on the fixture) andreadSlots(2–10 ms) are the next biggest costs on home. I didn't touch them.- I didn't add a per-section timing phase to home.
- The gate's "writableAppsOf looks like appsOf" similarity note stands. The two differ only in which repo list they read, so I left them.
Try. Sign in on a forge with many apps and check the render value in the Server-Timing header of /. It should be well under the 204 ms in the release log. Or run bun run bench/home-phases.ts locally.
Nothing in this feedback needs a code change, so I pushed nothing new.
- Look pages: the gate's note says
look pages (named)and that a commit names/. That is the gate accepting myLooks: /line, not a refusal. - Both doors: the tell box shows the same apps and words on the page and in the terminal. Only a read inside it got leaner, so the commit says
No door:with that reason. - Real input in tests:
test/tell-box-lean.test.tsbuilds a real admin, repo and app record, with noas never. - Issue number: every commit subject carries
(#17628). - Dead code: I added no exports.
writableAppsOfgained an optional argument and is still called from the same places.
I left the gate's note that writableAppsOf looks like appsOf as it is. The two differ only in which repo list they read.
The pull description from my earlier message still holds. The change is one read in the home's tell box: it now lists the apps by name without fetching their issue and pull counts. On a 120-app fixture, the home render went from about 25–40 ms to about 10 ms.
Home's tell box no longer reads issue and pull counts for every app it lists, which was the biggest render cost I found on a many-app forge. I couldn't reproduce the full 204 ms from the release log, because the sandbox can't see production's data. I haven't confirmed it brings home under the 100 ms line on the stage rig.
What I found. v0.7.713 (#17593) read nothing that scales: its changes to home are a single idle-reason lookup. The three over-budget pages (
/,/?view=table,/trevato/forge) are slow in the render phase, after the lane read. I profiled signed-in/on a fixture of 120 apps with 40 issues each, timing each section of the render. The tell box (tellBox) stood out at 12–26 ms. It only printsowner/nameoptions, but it calledwritableAppsOf, which fetched open-issue and open-pull counts for up to 200 repos.What changed.
writableAppsOftakes an optionalwithoutCountsargument, off by default, so every other caller keeps the counts (src/web/studio/asks.ts).tellBoxpassestrue(src/web/studio/living.ts). The same apps are listed in the same order, so nothing visible changes.test/tell-box-lean.test.tschecks that the lean read returns the same apps as the full one with no counts, and that the full read still has them.Checks.
tscis clean. These all pass:test/tell-box-lean.test.ts,home-flow,home-builders-idle,snappy,home-first-paint,home-200andhome-cache.scripts/fast.tsnamed about 2,700 test files, so I ran those tests by hand and not the whole set. The commits carryNo door:,Looks: /andTry:lines.What I left out.
readFacts(4–14 ms on the fixture) andreadSlots(2–10 ms) are the next biggest costs on home. I didn't touch them.Try. Sign in on a forge with many apps and check the
rendervalue in theServer-Timingheader of/. It should be well under the 204 ms in the release log. Or runbun run bench/home-phases.tslocally.Closes #17628