Skip to content

[FEATURE]: Ability to filter pipeline runs by "latest run author” #3973

@bcdurak

Description

@bcdurak

Feature Description

With this feature, we want to extend the capabilities of our PipelineFilter class to enable our users to filter pipelines by the name or ID of the last user who executed a run on it.

This is possible through adding an additional attribute to the filter model and use it in a condition in the apply_filter method.

A similar is example is already present in the method. In that example, we filter by status. But in addition to that example, we want to filter by user name or ID here. For that purpose, you can use the generate_name_or_id_query_conditions utility function.

A few additional points:

  • Once the feature is done, the same filtering option needs to be enabled on the frontend.
  • We also need to include tests.

The CLI and the API is already dependent on the PipelineFilter model, meaning that you do not have to change anything in those implementations, as the newly added attribute will be reflected automatically.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions