@HoGee_xxl on X: the Plugins page's GitHub list showed 50 repositories
while the opencode-plugin topic held 59. askTagged asked GitHub's search
for one page of 50 and stopped, so every repository past the 50th by
stars never showed. It now reads pages of 100 until a short page or
total_count, up to the 1000 GitHub's search answers, and a repository
that moves between two pages (starred in between) is listed once.
Run:
- TestTaggedReposEveryPage (new): a fake search of 7 repositories served
2 a page; all 7 listed, in order, once. Red with the page loop broken by
hand (stop after page 1): only the first 2 listed.
- Full suite at 63be47717 plus this change, `go test -p 2 -tags nogui
-count=1 -timeout 45m ./...` (load average 230-270): 63 packages ok;
internal/agent and internal/gateway timed out at 45m with no test
failed; internal/gui's TestSetAnswersWhileDevinAndProvidersHang red
under load (a set took 22s), the open #1375 - output and cause
commented there. internal/gui and internal/plugin then run alone:
both ok (343s, 416s).
- gofmt -l empty; GOOS=linux and GOOS=windows go vet -tags nogui ./...
exit 0.
Not tried against the real GitHub API in the app.