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

fix: task recent runs should filter by version #759

Merged
merged 2 commits into from
May 17, 2023
Merged

Conversation

ursucarina
Copy link
Contributor

@ursucarina ursucarina commented May 16, 2023

TL;DR

filters tasks by version

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

filters tasks by version

test on:
wf1
wf2

task 1
task 2
task 3

launch plan

Tracking Issue

fixes flyteorg/flyte#3538

Follow-up issue

NA

@ursucarina ursucarina enabled auto-merge (squash) May 16, 2023 19:48
@ursucarina ursucarina requested review from a team, jsonporter, 4nalog and james-union and removed request for a team May 17, 2023 00:26
Signed-off-by: Carina Ursu <[email protected]>
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #759 (0e1ca8d) into master (a4802e0) will decrease coverage by 0.01%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
- Coverage   65.90%   65.90%   -0.01%     
==========================================
  Files         489      489              
  Lines       11915    11917       +2     
  Branches     2196     2198       +2     
==========================================
+ Hits         7853     7854       +1     
- Misses       4062     4063       +1     
Impacted Files Coverage Δ
...ages/console/src/components/Entities/generators.ts 64.44% <57.14%> (-0.68%) ⬇️

operation: FilterOperationName.EQ,
value: name,
},
...(version
Copy link
Member

Choose a reason for hiding this comment

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

[nit] we can actually also use && to make it more concise

...(version && [...])

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i did it that way because there's a difference between
[1,2, ...[]] and [1,2,...undefined]

Copy link
Member

@4nalog 4nalog left a comment

Choose a reason for hiding this comment

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

minor nit but otherwise lgtm

@ursucarina ursucarina merged commit 3e8f517 into master May 17, 2023
@ursucarina ursucarina deleted the carina/tasks branch May 17, 2023 15:09
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 1.8.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

wild-endeavor added a commit to flyteorg/flyte that referenced this pull request May 22, 2023
Signed-off-by: Yee Hing Tong <[email protected]>

### Admin - v1.1.100
* Inject user identifier to ExecutionSpec by @ByronHsu in flyteorg/flyteadmin#549
* Fix flaky test by @eapolinario in flyteorg/flyteadmin#563
* Add oauth http proxy for external server & Extract email from azure claim by @ByronHsu in flyteorg/flyteadmin#553
* Remove single task execution default timeout by @hamersaw in flyteorg/flyteadmin#564
* Revert conditional setting of SecurityContext when launching security context by @wild-endeavor in flyteorg/flyteadmin#566

### Console - v1.8.2
* Export Flytedecks support for TLRO by @james-union in flyteorg/flyteconsole#757
* fix: filter executions by version and name by @ursucarina in flyteorg/flyteconsole#758
* fix: task recent runs should filter by version by @ursucarina in flyteorg/flyteconsole#759
* Bug: Execution Page's back button returns Workflows route from Launch Plan route #patch by @FrankFlitton in flyteorg/flyteconsole#760
* chore: add item when mapped task by @jsonporter in flyteorg/flyteconsole#761
* Feature: Fullview Flyte Deck modal by @FrankFlitton in flyteorg/flyteconsole#764

### Propeller - v1.1.90
* Add grpc plugin to loader.go by @pingsutw in flyteorg/flytepropeller#562
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] [UI] Task version "Recent Run" view conflates runs across all versions
3 participants