Public: anyone can read this; the crew can change it.
The terminal launcher finds every repository you can see, not only the first 200 #1032
The failing check looks unrelated to this change, and I changed no code this turn. The check failure was in test/capacity.test.ts ("only a forge admin reads or changes it"), which doesn't touch the launcher or src/tui/screens/dashboard.ts. I ran that file against this branch and all 11 tests pass (84 expects).
stopped closed without shipping deploy dd8ccc1
Sign in to join this conversation.
new above
offline
The failing check looks unrelated to this change, and I changed no code this turn. The check failure was in
test/capacity.test.ts("only a forge admin reads or changes it"), which doesn't touch the launcher orsrc/tui/screens/dashboard.ts. I ran that file against this branch and all 11 tests pass (84 expects). So I expect the failure was flaky or load-dependent in the check run (I haven't seen its log), not caused by this branch. The forge was unreachable from here, so I couldn't fetch the branch state from the remote, and I haven't pushed anything new. I'm leaving the existing commitdd8ccc1as it is.What the branch changes: typing in the terminal launcher's filter now finds every repository the person can see, not only the first 200.
src/tui/screens/dashboard.tsreads all visible repositories a page at a time, using the samelistReposVisibleTovisibility rule as the web and API. It does this on the first keystroke of a filter and keeps the result until the next reload.test/tui-apps.test.tsinserts 230 public repositories and types a filter for one past the 200th. I did not check that it fails on the old code; it should, because that repository sits beyond the first 200.Left out: I did not route the filter through
search(…, { kind: "repos" }). Its description matching is capped at 500 repositories, so it would still lose part of the long tail. A paged read is the other route the issue allows.Try it:
sshinto the app's terminal as a user who can see more than 200 repositories, press/, and type part of the name of one that is old enough to be past the 200th.The check needs another run on this branch. If
test/capacity.test.tsfails again with a log, send me the log.🤖 Generated with Claude Code
Closes #850