mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-13 15:51:39 +00:00
6686cdce2c
/api/recovery/points and /api/recovery/rollups clamp the requested page size to [100 default, 500 max] in both the mock paginators and the store paths, but the meta block was computed from the raw query value. A client requesting limit=1000 with 1200 rollups was told totalPages=2 while the server served 3 pages of 500, so iterating totalPages silently dropped rollups; limit<=0 reported totalPages=1 at an effective limit of 100. Normalize page and limit once at parse time, compute meta from the normalized values, and echo the effective limit. Contract clause 34 in api-contracts.md pins the obligation; storage-recovery and agent-lifecycle record the boundary alignment and adjacency; recovery_handlers_test.go pins above-max and non-positive limit meta.