-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: report action timeout as failed with timeout message (#165)
Problem: Previously, if an OpenJD Action was canceled due to a timeout being reached then we'd report the action as just canceled. The change to update to openjd-sessions 0.5.0 ( #160 ) made it so that timeout actions would report as FAILED, but didn't change the failure message to make it clear that the reason for the failure was a timeout. Solution: We mutate the action status when we recieve it to override the failure message with one that indicates that the action has reached its runtime limit. Signed-off-by: Daniel Neilson <53624638+ddneilson@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
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
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