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

feat: added RawOutputDataConfig in ExecutionSpec #patch #329

Merged
merged 10 commits into from
Mar 18, 2022

Conversation

pingsutw
Copy link
Member

Signed-off-by: Kevin Su [email protected]

TL;DR

added RawOutputDataConfig in ExecutionSpec, so we can override LaunchPlan's RawOutputDataConfig at CreateExecutionRequest time

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

image

Tracking Issue

flyteorg/flyte#2230

Follow-up issue

NA

@welcome
Copy link

welcome bot commented Mar 16, 2022

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 Mar 16, 2022

Codecov Report

Merging #329 (5a8818d) into master (5732fc1) will decrease coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #329      +/-   ##
==========================================
- Coverage   65.15%   65.14%   -0.02%     
==========================================
  Files         390      390              
  Lines        8705     8707       +2     
  Branches     1505     1506       +1     
==========================================
  Hits         5672     5672              
- Misses       3033     3035       +2     
Impacted Files Coverage Δ
...cutions/ExecutionDetails/RelaunchExecutionForm.tsx 100.00% <ø> (ø)
src/components/Launch/LaunchForm/launchMachine.ts 86.53% <ø> (ø)
src/components/Launch/LaunchForm/types.ts 100.00% <ø> (ø)
...ts/Launch/LaunchForm/useLaunchWorkflowFormState.ts 98.87% <ø> (ø)
src/models/Common/types.ts 100.00% <ø> (ø)
src/models/Execution/api.ts 58.97% <0.00%> (-3.19%) ⬇️
...nts/Launch/LaunchForm/LaunchFormAdvancedInputs.tsx 82.25% <50.00%> (ø)
...utions/ExecutionDetails/ExecutionMetadataExtra.tsx 100.00% <100.00%> (ø)

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 5732fc1...5a8818d. Read the comment docs.

Copy link
Contributor

@anrusina anrusina left a comment

Choose a reason for hiding this comment

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

Hi Kevin,
Can you please rebase on top of latest master. Today a big eslint/prettier changes were merged, which already took care of all spaces changes.
Unfortunately your PR was done before that - and as result, it is hard to follow which exactly changes were added by you, and which are just styling update.

Please, let me know if it's a hustle, and I will try to update it from my side (looks like you have your own fork of flyteconsole, which makes it a bit more complicated..).

Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@@ -82,7 +82,7 @@
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@date-io/moment": "1.3.9",
"@flyteorg/flyteidl": "0.21.24",
"@flyteorg/flyteidl": "0.23.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

Did smoke test, the new field looks good.
Is it expected, that if provided Config is not accessible it is using default value?
See here:
https://user-images.githubusercontent.com/55718143/158853593-7c554fba-b544-4017-9607-41fe7ddc1c4a.mp4
Otherwise LGTM, and I can merge it later.

Copy link
Member Author

@pingsutw pingsutw Mar 18, 2022

Choose a reason for hiding this comment

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

yes, We should use the default value if the bucket is not accessible

Copy link
Contributor

@anrusina anrusina left a comment

Choose a reason for hiding this comment

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

Lgtm

@anrusina anrusina changed the title feat: added RawOutputDataConfig in ExecutionSpec feat: added RawOutputDataConfig in ExecutionSpec #patch Mar 17, 2022
@anrusina anrusina merged commit 24bdaee into flyteorg:master Mar 18, 2022
@welcome
Copy link

welcome bot commented Mar 18, 2022

Congrats on merging your first pull request! 🎉

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.46.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

olga-union pushed a commit that referenced this pull request Mar 23, 2022
* feat: added RawOutputDataConfig in ExecutionSpec
Signed-off-by: Kevin Su [email protected]

Signed-off-by: Olga Nad <[email protected]>
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