-
Notifications
You must be signed in to change notification settings - Fork 51
Mark webapi task failure as retry limit exceeded #392
Conversation
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #392 +/- ##
==========================================
+ Coverage 63.01% 64.23% +1.21%
==========================================
Files 154 156 +2
Lines 13080 10670 -2410
==========================================
- Hits 8243 6854 -1389
+ Misses 4220 3195 -1025
- Partials 617 621 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
| if err != nil { | ||
| return core.PhaseInfoUndefined, err | ||
| } | ||
| logger.Infof(ctx, "Agent returned an output") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: remove it once this pr is merged.
|
Thank you for address this. Does this also make |
Signed-off-by: Kevin Su <pingsutw@apache.org>
That's another issue, I'll fix it in a separate PR. |
Signed-off-by: Kevin Su <pingsutw@apache.org>
TL;DR
fixed https://flyte-org.slack.com/archives/C05GQ16TQLF/p1692310075236329
propeller updates the
cache.stateto PhaseSystemFailure at here. however, it sets the action tocache.Unchangedincache.ItemSyncResponse, which won't update the item in the LRU cache.Add an error message field to
cache.state, and use it when we returnPhaseInfoFailure. Therefore, we can see the error message on FlyteConsole if the propeller fails to get the task status.Type
Are all requirements met?
Complete description
Tracking Issue
NA
Follow-up issue
NA