Bump scclient so sc apps stops truncating past the first page #32
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_agent!32
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 appstreatsscclient.Client.Applications()'s return value as the complete organization → application tree — it always has. That was wrong once the endpoint started bounding itself to one page (platform #587/#887): a tenant past the default 100-application page got a silently partial tree with no indication anything was missing.What changed
Bumps
scclientto someones.computer_scclient#10, which teachesApplications()to loop across every page itself. No change to this repo's own source:apps.gonever had page-awareness of its own to add or remove, so the fix is entirely the dependency bump plusgo mod vendor.Verified
TestAppsDrawsApplicationsFromEveryPageNotJustTheFirst) runssc appsagainst a fake platform whose applications span two pages and asserts the tree carries applications from both, not just the first.go build ./...,go vet ./...,go test ./...all green;gofmt -lclean on the changed file.hack/coverage.sh:internal/cli85.8%, above its 80.7% floor.One of three coordinated PRs for Grey.ooo/Someones.Computer#894 — see scclient#10's body for the other two (this one, and
tray's). Draft untilscclient#10merges — this currently points at its feature branch commit, notmain.WIP: Bump scclient so sc apps stops truncating past the first pageto Bump scclient so sc apps stops truncating past the first page