-
Notifications
You must be signed in to change notification settings - Fork 661
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
Deprecated Agent State to Agent Phase #4738
Merged
pingsutw
merged 9 commits into
flyteorg:master
from
Future-Outlier:deprecated-agent-state-agent-phase
Jan 24, 2024
Merged
Deprecated Agent State to Agent Phase #4738
pingsutw
merged 9 commits into
flyteorg:master
from
Future-Outlier:deprecated-agent-state-agent-phase
Jan 24, 2024
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: Future-Outlier <[email protected]>
dosubot
bot
added
size:XS
This PR changes 0-9 lines, ignoring generated files.
enhancement
New feature or request
labels
Jan 18, 2024
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4738 +/- ##
=======================================
Coverage 58.18% 58.18%
=======================================
Files 626 626
Lines 53833 53858 +25
=======================================
+ Hits 31322 31337 +15
- Misses 20003 20012 +9
- Partials 2508 2509 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Future-Outlier <[email protected]>
… deprecated-agent-state-agent-phase Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
dosubot
bot
added
size:XL
This PR changes 500-999 lines, ignoring generated files.
and removed
size:XS
This PR changes 0-9 lines, ignoring generated files.
labels
Jan 21, 2024
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Future-Outlier
changed the title
Deprecated Agent State to Agent Phase in WebAPI Plugin
Deprecated Agent State to Agent Phase
Jan 21, 2024
honnix
reviewed
Jan 22, 2024
honnix
reviewed
Jan 22, 2024
…ion logic Signed-off-by: Future-Outlier <[email protected]>
pingsutw
approved these changes
Jan 24, 2024
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
lgtm
This PR has been approved by a maintainer
size:XL
This PR changes 500-999 lines, ignoring generated files.
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.
Tracking issue
Fixes #3936
Why are the changes needed?
We want to deprecate
State
in webapi and usecore.TaskExecution.Phase
instead to make users less confused.What changes were proposed in this pull request?
core.TaskExecution.Phase
phase inagent.proto
DEPRECATED
annotation inState
inagent.proto
agent/plugin.go
Note:
The reason why we need to:
is because the default value of phase is
UNDEFINED
, and the default value of state isRETRYABLE FAILURE
.We can check the state when the phase is
UNDEFINED
.How was this patch tested?
Setup process
--dev
Screenshots
Check all the applicable boxes
Related PRs
flyteorg/flytekit#2123