/v1/timeline over-bound refusal is untested (new bound introduced by the pagination slice) #87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Context
The pagination slice introduced a new behaviour on the timeline route: a page-1 materialization larger than MAX_EXPANDED_INSTANCES (10,000) is refused with limit_exceeded instead of paging an unbounded result. The reviewer established that this bound is new (on main before that PR, /v1/timeline queried SQLite with LIMIT/OFFSET and enforced no ceiling), sanctioned it against the spec's "pages share a bounded materialized read result", and confirmed it is disclosed in the PR body.
It was verified by inspection only. The equivalent checks for tasks and agenda are tested; the timeline refusal is not, because generating 10,000 facts through the API is impractical inside the suite. The reviewer said so explicitly rather than implying coverage.
The code path, for precision:
Why it matters
Refusing a read that previously succeeded is a behaviour change, and it is currently the only newly-introduced refusal in the codebase with no test. Two failure modes are invisible today:
What to build
Acceptance criteria
Notes
Blocked by
None. Related: the pagination slice (#45) which introduced the bound.
to /v1/timeline over-bound refusal is untested (new bound introduced by the pagination slice)/v1/timelineover-bound refusal is untested (new bound introduced by the pagination slice)