You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG-33: GET /requests has no filter for open and closed requests, which the Requests tab shows #146
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingclass:INVInnovation: a new feature, design, idea or methodsev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
What is wrong:GET /api/v1/requests filters status on one lifecycle state. The Requests tab of the mockup has two chips, Open and Closed, and each covers more than one state. No parameter gives either group.
Where:cmapi/src/cmapi/routers/requests.py, the route list_requests. The mockup is mockups/portal/Main.dc.html:2599. docs/02-technical-design-v2.md:172 has status= only, so the design also has this gap.
How to prove it: A test creates one pending and one cancelled request, and reads the list with the new filter for open requests. Only the pending request must be in the answer.
Measured or inferred: Read from the code and the mockup at ecc5cb3 on 2026-11-13, by OB1's diagram agent.
Severity: Low.
What must hold after the fix: One request gives all open requests, and one gives all closed requests. The open states are the six of OPEN_STATES in core/db/models.py. The parameter is in the OpenAPI document with a description and an example, and docs/02 names it.
In-Progress: a draft pull request on branch list-filters closes this issue (on top of PR #156). The new tests failed before the change and pass after it.
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingclass:INVInnovation: a new feature, design, idea or methodsev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
Activity
ephico2real2 commentedon Nov 13, 2026
In-Progress: a draft pull request on branch list-filters closes this issue (on top of PR #156). The new tests failed before the change and pass after it.