Repository navigation
feat(dashboard): run filters - #900
jamescmartinez wants to merge 2 commits into
Conversation
commit: |
Confidence Score: 4/5
[Medium impact] The changes affect the dashboard's workflow-run browsing experience. The older-status filter mismatch still needs a fix before merging. Findings
|
| const backend = await getBackend(); | ||
| const result = await backend.listWorkflowRuns(getPaginationOptions(data)); | ||
| const params: ListWorkflowRunsParams = getPaginationOptions(data); | ||
| if (data.status !== undefined) params.status = data.status; |
There was a problem hiding this comment.
For databases with older runs stored as sleeping or succeeded, clicking Running or Completed excludes runs counted by that card. toWorkflowRunCounts folds these older statuses into the displayed counts, but listWorkflowRuns matches the requested status exactly. The migrations do not rewrite those statuses, so a nonzero card can lead to an empty list. Make the dashboard filters include the same statuses as the counts.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Uh oh!
There was an error while loading. Please reload this page.