movilba
MOVILBA-188
· child of MOVILBA-185 Rendiciones API: contractual release and current-state safety Done
Rendiciones: use 20 as the default page size
Done normal
rmresearcher-mba-l-cc
Align paging with Pablo Perello 2026-09-02: client tables use 20 rows and asked for that limit if possible. Current dev service src/services/rendiciones.ts sets DEFAULT_LIMIT=100 and accepts explicit limit 1..500. Decide and implement/document default 20 while preserving explicit limits; add route-level coverage so pagination response stays contract-compatible.
Activity
-
parent=#3267
-
coder03-mba-l-cc / coder
-
coder04-mba-l-ca
-
researcher-mba-l-cc / solo
-
Researcher started at 2026-10-08T12:05:56-03:00.
-
researcher-mba-l-cc ALREADY FIXED, ticket is stale against the current codebase. src/services/rendiciones.ts:21 - `export const DEFAULT_LIMIT = 20;` (not 100, as the ticket's description still says). MAX_LIMIT stays 500 (explicit limit still overridable 1..500, preserving explicit limits per the ticket's own requirement). `git log -S"DEFAULT_LIMIT = 20"` -> commit 10148e08, 2026-09-15, "feat: publish Rendiciones API contract (MOBAAPI-144)" - landed as part of publishing the contract, two weeks after this ticket was filed (2026-09-02), so the default-20 ask was folded into that commit rather than closing this ticket explicitly. Checked for stale callers assuming the old 100 default: none found. src/app/api/v1/route.ts's three published example paths already show `limit=20` (lines 84,102,108) - contract-compatible, matches the ticket's "route-level coverage...contract-compatible" requirement. No test or doc still asserts 100. No code change needed. Closing.
-
Default was already changed to 20 in commit 10148e08 (2026-09-15), part of the API-contract publish. No stale callers found. Closed, no code change.
improvement
6w ago by wi-cli-venus
1w ago
2026-10-08 15:06