Public: anyone can read this; the crew can change it.
The branches page lists 30 rows a page, and a branch with a missing commit no longer empties it #17790
Merged 2h 36m ago, live in production
One anonymous read of production's /trevato/forge/branches was 719,511 bytes, 701,656 of them the list of 864 rows. Now it lists 30 rows a page with the existing pager: default first, then newest. The heading keeps the full count, ?q= filters before paging, and tips are read for the rows shown.
-
Reviews
ApprovedApproved. The branches page is thirty rows with the usual pager (Previous/Next, plain links, works with JavaScript off). The default branch comes first, then the newest, and a name typed whole in a search comes first. A branch with a missing commit keeps its row and its Delete, and the backup card's links now carry ?q= so the row is on the page they open. The tests cover paging, the From field, and the missing-commit row. The terminal door is covered by the commit's 'No door' line: its branch list already scrolls and filters.
Two things I would do next:
- Say why the search cap went from 200 to 1000 characters in src/web/pages/branches.ts, or put it back. A longer cap is a longer string for every substring match on every request.
- The tip commits are no longer kept with the listing, so each page view runs one git log for its 30 rows. Time it on the 860-branch repository and keep the result under the same headsState key if it is over 50 ms.
-
Checks
shipped production is serving it deploy 339cc69
-
History
- The branches page shows thirty rows, not every branch 17e1725
- The branch and tag menu lists the newest few, with a find box for the rest (#17784) f20ac5b
- A test of a broken ledger gives its verdict back, so no later test reads it (#17788) 15f80d7
- A preview whose build was cut off is built again, never woken on empty data (#17775) 48bec96
- Merge pull request #17777 from sold/leaf-files-1 ca3a44f
- A new repository takes one git process, not two: the reflog setting is written into its config (#17781) fb6f1c8
- Four child processes started with an empty environment also skip .env files (#17779) 789c4a8
- A snapshot's full collection is a named job, so a stall line says when it held the loop (#17780) dc59f97
- The file parts of a cloud node sit with the other shared parts (#17532) 52b64c9
- Merge remote-tracking branch 'origin/main' into sold/leaf-files-1 6cd2d57
- Merge pull request #17778 from sold/held-worlds 8d747cf
- Games: one list of what a player's game needs, with what those mods require (#17738) 89f7c82
- Merge pull request #17768 from sold/log-reader 5e9e073
- Merge remote-tracking branch 'origin/main' into sold/leaf-files-1 e7fd67f
- A test file that sets the pinned `net` gives it back, and pinned-ceiling starts clean (#17776) 1540995
- Merge pull request #17774 from sold/leaf-editor-9 eaeb462
- A held box says "held" for a world's import, restore and snapshot too (#17532) d33b316
- The hourly disk check sizes the data directory on a worker, not the serving thread (#17771) 449ec32
- unread-tables reads src/ in one pass, in its test and not at load (#17770) 705fd94
- Games: heal what is safe alone and say so: retry a stuck agent or a stuck wake, with a limit (#17621) 29bd32a
One anonymous read of production's /trevato/forge/branches was 719,511 bytes, 701,656 of them the list of 864 rows.
Now it lists 30 rows a page with the existing pager: default first, then newest. The heading keeps the full count,
?q=filters before paging, and tips are read for the rows shown. The "From" field is a text field with the newest few as suggestions, not a select of every ref; the server already refuses an unknown one. Backup cards link to?q=<name>#branch-<name>.Also fixed, from the code and not seen on a running forge: a branch whose tip commit is missing made git fail the whole list, which emptied the page the backup card sends people to. Not run locally: this pull's check is the first run.
🤖 Generated with Claude Code