<#7192 [V2] List run accept filter> Pull request o...
# flyte-github
a
#7192 [V2] List run accept filter Pull request opened by machichima Tracking issue Why are the changes needed?
ListRuns
API currently does not accept filters, we should support it to list runs for tasks / triggers / ... What changes were proposed in this pull request? 1. Remove repo impl
ListRuns
and only use
ListActions
, as run is just action with no parent 2. Enable filtering and sorting in
ListActions
3. Add more filtering functions in
runs/repository/impl/filters.go
to be used in
ListRuns
How was this patch tested? • Run sandbox locally and ensure task / trigger page can only see their runs Total Runs: image Runs for "every_minute" trigger: image Runs for "every_minute" task: image Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link •
main
• #6583 • [V2] List run accept filter 👈 flyteorg/flyte