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

Allow filtering of executions based on labels #906

Closed
yuri1969 opened this issue Jan 18, 2023 · 0 comments · Fixed by #1190
Closed

Allow filtering of executions based on labels #906

yuri1969 opened this issue Jan 18, 2023 · 0 comments · Fixed by #1190
Assignees
Labels
enhancement New feature or request

Comments

@yuri1969
Copy link
Contributor

yuri1969 commented Jan 18, 2023

Feature description

Executions lack a structure similar to the Flow labels (a string map). This way it would be possible to label executions of a flow with key-value pairs and use the key-value in search queries.

This way it would be possible to show only executions featuring given label and/or label value.

Based on #902

@github-project-automation github-project-automation bot moved this to Backlog in All issues Jan 18, 2023
@yuri1969 yuri1969 changed the title Allow filtering of executions based on execution input Allow filtering of executions based on labels Apr 11, 2023
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 21, 2023
* Fix defaulted 'null' values in RuntimeExec, etc.
* Impl H2/MySQL repos.
* Impl a class Param instead of Map?
* Add tests?
* Doc?

Fixes kestra-io#906
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 22, 2023
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 23, 2023
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 23, 2023
* Execution now features labels as the Flow does.
* The labels are passed in the same way the Flow inputs.
* 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 filtering UI.

Fixes kestra-io#906
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 23, 2023
* Execution now features labels as the Flow does.
* The labels are passed in the same way the Flow inputs.
* 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.

Fixes kestra-io#906
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 24, 2023
* Execution now features labels as the Flow does.
* The labels are passed in the same way the Flow inputs.
* 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.

Fixes kestra-io#906
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 24, 2023
* 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
yuri1969 added a commit to yuri1969/kestra that referenced this issue Apr 24, 2023
* 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
@Ben8t Ben8t added this to the 0.9.0 milestone Apr 25, 2023
@Ben8t Ben8t added enhancement New feature or request and removed enhancement labels May 5, 2023
@Ben8t Ben8t moved this from Backlog to In Progress in All issues May 9, 2023
@tchiotludo tchiotludo self-assigned this May 10, 2023
loicmathieu pushed a commit to yuri1969/kestra that referenced this issue May 11, 2023
* 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
@loicmathieu loicmathieu moved this from In Progress to Review in All issues May 11, 2023
@loicmathieu loicmathieu moved this from Review to In Progress in All issues May 11, 2023
tchiotludo pushed a commit to yuri1969/kestra that referenced this issue May 16, 2023
* 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
tchiotludo pushed a commit that referenced this issue May 16, 2023
* 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
tchiotludo pushed a commit that referenced this issue May 16, 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>
@github-project-automation github-project-automation bot moved this from In Progress to Done in All issues May 16, 2023
tchiotludo pushed a commit that referenced this issue 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
enhancement New feature or request
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants