Summary
@me E2E validation of the bug-agent pipeline on gh-aw v0.77.5 (mcpg v0.3.22 / firewall 0.25.58), with min-integrity: approved forced on to exercise the DIFC proxy array-comments path from #34904.
Bug (for the pipeline to analyze)
The pagination helper truncates results when a caller passes limit=0. Expected: limit=0 means "no limit" (return all). Actual: it returns an empty list because the slice items[:limit] evaluates to items[:0].
Reproduce
- Call the list endpoint with
limit=0.
- Observe zero items returned instead of all items.
Expected
limit=0 (or unset) returns the full collection; only a positive limit truncates.
This is an automated E2E test issue; safe to close after the pipeline run.
Summary
@meE2E validation of the bug-agent pipeline on gh-aw v0.77.5 (mcpg v0.3.22 / firewall 0.25.58), withmin-integrity: approvedforced on to exercise the DIFC proxy array-comments path from #34904.Bug (for the pipeline to analyze)
The pagination helper truncates results when a caller passes
limit=0. Expected:limit=0means "no limit" (return all). Actual: it returns an empty list because the sliceitems[:limit]evaluates toitems[:0].Reproduce
limit=0.Expected
limit=0(or unset) returns the full collection; only a positivelimittruncates.This is an automated E2E test issue; safe to close after the pipeline run.