Bump scclient so sc-tray's poll stops truncating past the first page #15
No reviewers
Labels
No labels
⏳in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grey.ooo/someones.computer_tray!15
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/applications-loop-on-hasmore"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
sc-tray's poll (App.sync()) treatsscclient.Client.Applications()'s return value as the complete tree it draws from — it always has. A tenant past the default 100-application page got a silently partial menu once the endpoint started bounding itself to one page per response (platform #587/#887).What changed
Bumps
scclientto someones.computer_scclient#10, which teachesApplications()to loop across every page itself. No source change in this repo:sync()never had page-awareness of its own, so this is the dependency bump plusgo mod vendor.Verified
go build ./...,go vet ./...,go test ./...all green;gofmt -lclean.hack/coverage.sh— all three packages hold their floor exactly (no source lines changed here, so no movement expected).sync()draws through the realsystraybackend (menu items, no injectable client interface), which is why this repo verifies that path with the screenshot-based visual E2E suite (#627,hack/screenshot/scenes/) rather than Go unit tests — none of the existing scenes exercise a paginated response either. A large-tenant capture scene would be the natural way to cover this end to end; flagging it as a follow-up rather than silently skipping verification here, since the dev seed's largest case (41 applications) never crosses the default page.One of three coordinated PRs for Grey.ooo/Someones.Computer#894 — see scclient#10's body for the other two (this one, and
sc's). Draft untilscclient#10merges — this currently points at its feature branch commit, notmain.WIP: Bump scclient so sc-tray's poll stops truncating past the first pageto Bump scclient so sc-tray's poll stops truncating past the first page