Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Execution labels #1190

Merged
merged 10 commits into from
May 16, 2023
Merged

Add Execution labels #1190

merged 10 commits into from
May 16, 2023

Conversation

yuri1969
Copy link
Contributor

  • Execution now features labels as the Flow does.
  • The labels are passed in the same way the Flow inputs.
  • The label names are prefixed with label-.
  • Executions can be filtered using the labels.

Room for improvement:

  • Index the labels within DB.
  • Rework the labels/inputs passing - use a custom binding?
  • Add a label filter to the Execution UI.

close #906

@Ben8t Ben8t added this to the 0.9.0 milestone Apr 25, 2023
@loicmathieu loicmathieu requested review from Skraye, loicmathieu and tchiotludo and removed request for Skraye April 27, 2023 08:41
Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Thanks a lot for your PR; this is great work ;)
I added a bunch of changes, don't hesitate to discuss them if needed.

Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot.

I just ask for a small change to specify the format of the list of labels when using query param if you can take care of it. Then it'll be ready to merge ;)

yuri1969 and others added 10 commits May 16, 2023 09:29
* Execution now features labels as the Flow does.
* The labels are passed in the same way the Flow inputs.
* The label names are prefixed with `label-`.
* Executions can be filtered using the labels.

Room for improvement:

* Index the labels within DB.
* Rework the labels/inputs passing - use a custom binding?
* Add a label filter to the Execution UI.

close kestra-io#906
Co-authored-by: Loïc Mathieu <loikeseke@gmail.com>
@tchiotludo tchiotludo merged commit e467c2b into kestra-io:develop May 16, 2023
@yuri1969 yuri1969 deleted the exec-labels branch May 16, 2023 16:54
tchiotludo pushed a commit that referenced this pull request May 18, 2023
* Add Execution labels

* Execution now features labels as the Flow does.
* The labels are passed in the same way the Flow inputs.
* The label names are prefixed with `label-`.
* Executions can be filtered using the labels.

Room for improvement:

* Index the labels within DB.
* Rework the labels/inputs passing - use a custom binding?
* Add a label filter to the Execution UI.

close #906

Co-authored-by: Loïc Mathieu <loikeseke@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Allow filtering of executions based on labels
6 participants