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: handle fullInputs for relaunch workflow #171

Merged
merged 2 commits into from
Jun 3, 2021

Conversation

jsonporter
Copy link
Contributor

Fixes issue where recent changes made to flyteadmin were not being supported in UI. The use-case is when a user goes to relaunch a workflow, we now return raw/full inputs when the payload is small enough; this adds support for fullInputs

see: flyteorg/flyteadmin@067dc91#diff-9b311b663f43eccf79220bfcae3a565ad26d83532c945f39cfc1f7ba029c22e3

@welcome
Copy link

welcome bot commented Jun 1, 2021

Thank you for opening this pull request! 🙌
These tips will help get your PR across the finish line: - Most of the repos have a PR template; if not, fill it out to the best of your knowledge. - Sign off your commits (Reference: DCO Guide).

@codecov
Copy link

codecov bot commented Jun 1, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@b61b6ee). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #171   +/-   ##
=========================================
  Coverage          ?   70.28%           
=========================================
  Files             ?      340           
  Lines             ?     6747           
  Branches          ?     1127           
=========================================
  Hits              ?     4742           
  Misses            ?     2005           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b61b6ee...3a253cc. Read the comment docs.

@katrogan katrogan requested a review from schottra June 1, 2021 17:30
Signed-off-by: Jason Porter <jason@union.ai>
@jsonporter jsonporter force-pushed the flyteconsole-relaunch-inputs-bugfix branch from 152c2d2 to 37ce07a Compare June 1, 2021 17:32
schottra
schottra previously approved these changes Jun 1, 2021
Copy link
Contributor

@schottra schottra left a comment

Choose a reason for hiding this comment

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

Seems alright to me.
I know we don't have a lot of test coverage around this, but we do cover the case of fetching remote inputs here: https://github.com/flyteorg/flyteconsole/blob/master/src/components/Executions/ExecutionDetails/test/RelaunchExecutionForm.test.tsx
Would be nice if you can add a test case for full inputs there as well!

 - added unit tests
Signed-off-by: Jason Porter <jason@union.ai>
@jsonporter jsonporter merged commit 8a4fd82 into master Jun 3, 2021
@welcome
Copy link

welcome bot commented Jun 3, 2021

Congrats on merging your first pull request! 🎉

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.20.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@anrusina anrusina deleted the flyteconsole-relaunch-inputs-bugfix branch January 13, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants