cli-api: fetch one page of runs, Forgejo ignores limit without page #21

Merged
simlau merged 1 commit from simlau/cli-api-runs-page into main 2026-10-25 19:45:20 +00:00 AGit
Owner

GET /actions/runs?limit=15 returned all 766 runs of levior/infra (18.5
MiB). Parsing that blew the 128Mi limit, so every levior ci runs
OOM-killed a pod and both crash-looped (503 for every levior command).
With page=1 Forgejo returns the 15 newest.

GET /actions/runs?limit=15 returned all 766 runs of levior/infra (18.5 MiB). Parsing that blew the 128Mi limit, so every `levior ci runs` OOM-killed a pod and both crash-looped (503 for every levior command). With page=1 Forgejo returns the 15 newest.
cli-api: fetch one page of runs, Forgejo ignores limit without page
Some checks failed
ci / image-build (pull_request) Successful in 8s
ci / test (pull_request) Failing after 8s
ci / image (pull_request) Has been skipped
ci / release (pull_request) Has been skipped
b169ae3a3c
GET /actions/runs?limit=15 returned all 766 runs of levior/infra (18.5
MiB). Parsing that blew the 128Mi limit, so every `levior ci runs`
OOM-killed a pod and both crash-looped (503 for every levior command).
With page=1 Forgejo returns the 15 newest.
simlau force-pushed simlau/cli-api-runs-page from b169ae3a3c
Some checks failed
ci / image-build (pull_request) Successful in 8s
ci / test (pull_request) Failing after 8s
ci / image (pull_request) Has been skipped
ci / release (pull_request) Has been skipped
to c1e9f39947
All checks were successful
ci / test (pull_request) Successful in 32s
ci / image (pull_request) Has been skipped
ci / release (pull_request) Has been skipped
ci / image-build (pull_request) Successful in 5s
2026-10-25 19:43:43 +00:00
Compare
simlau merged commit e6bd7a105c into main 2026-10-25 19:45:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
levior/cli!21
No description provided.