mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-15 21:31:24 -05:00
[GH-ISSUE #3313] Integration API resources endpoint silently ignores limit/offset — returns only first page (silent truncation) #39157
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @davedavedavenm on GitHub (Jun 21, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3313
Version: Pangolin 1.19.2 (
fosrl/pangolin:ee-latest), self-hosted Integration API (port 3003)Summary: The resources list endpoint (and likely other list endpoints) silently ignores
limitandoffsetquery params. Callers usinglimit/offsetget only the first ~20 records with HTTP 200 and no error, whilepagination.totalcorrectly reports the true count — so a client believes it has all records when it doesn't. The endpoint only honourspage/pageSize.Repro:
Impact: Silent data truncation is a correctness footgun for any sync/audit/automation built on the Integration API. We nearly shipped a monitoring audit that only checked 20 of 44 resources.
Expected: either honour
limit/offset, or reject unknown pagination params with a 400, or clearly document that onlypage/pageSizeare supported. Silent partial results alongside a truthfulpagination.totalis the worst outcome.