This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Add env FLYTE_FAIL_ON_ERROR to aws batch job #306
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Kevin Su <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #306 +/- ##
==========================================
+ Coverage 63.02% 64.35% +1.33%
==========================================
Files 148 148
Lines 12148 9859 -2289
==========================================
- Hits 7656 6345 -1311
+ Misses 3912 2934 -978
Partials 580 580
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This seems very hacky. We should probably dive into this a bit further and see how we can have subtask phases match between AWS batch and Flyte reporting. |
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]>
pingsutw
changed the title
Correct aws batch job state
Add env FLYTE_FAIL_ON_ERROR to aws batch job
Jan 11, 2023
Signed-off-by: Kevin Su <[email protected]>
8 tasks
hamersaw
reviewed
Jan 11, 2023
Signed-off-by: Kevin Su <[email protected]>
hamersaw
approved these changes
Jan 11, 2023
eapolinario
pushed a commit
that referenced
this pull request
Sep 6, 2023
* Correct aws batch job state Signed-off-by: Kevin Su <[email protected]> * Add env FAST_ON_ERROR to aws batch job Signed-off-by: Kevin Su <[email protected]> * Add tests Signed-off-by: Kevin Su <[email protected]> * update tests Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * update test Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Kevin Su <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Kevin Su [email protected]
TL;DR
Add env FLYTE_FAIL_ON_ERROR to aws batch job, so the flytekit will return error code once the job fail.
Type
Are all requirements met?
Complete description
Tracking Issue
https://flyte-org.slack.com/archives/C01P3B761A6/p1664972219043289
Follow-up issue
NA