-
Notifications
You must be signed in to change notification settings - Fork 53
Mark webapi task failure as retry limit exceeded #392
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
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.
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Thank you for address this. Does this also make |
Signed-off-by: Kevin Su <[email protected]>
That's another issue, I'll fix it in a separate PR. |
Signed-off-by: Kevin Su <[email protected]>
TL;DR
fixed https://flyte-org.slack.com/archives/C05GQ16TQLF/p1692310075236329
propeller updates the
cache.state
to PhaseSystemFailure at here. however, it sets the action tocache.Unchanged
incache.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