internal/worker/server: return an error on depsolve timeout HMS-2989
Fixes the special case that if no worker is available and we generate an internal timeout and cancel the depsolve including all followup jobs, no error was propagated.
This commit is contained in:
parent
03e74e77b2
commit
d3e3474fb7
7 changed files with 208 additions and 31 deletions
|
|
@ -44,6 +44,7 @@ const (
|
|||
ErrorJobPanicked ClientErrorCode = 37
|
||||
ErrorGeneratingSignedURL ClientErrorCode = 38
|
||||
ErrorInvalidRepositoryURL ClientErrorCode = 39
|
||||
ErrorDepsolveTimeout ClientErrorCode = 40
|
||||
)
|
||||
|
||||
type ClientErrorCode int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue