You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently append some custom text to the error message when a database job fails with certain exit codes, but we leave the status_code as NONZERO_EXIT like any other failed job. This makes monitoring and debugging harder than it needs to be. We should add custom status codes for this. I think probably one for each specific type of database error?
We currently append some custom text to the error message when a database job fails with certain exit codes, but we leave the
status_code
as NONZERO_EXIT like any other failed job. This makes monitoring and debugging harder than it needs to be. We should add custom status codes for this. I think probably one for each specific type of database error?Related Slack thread:
https://bennettoxford.slack.com/archives/C069YDR4NCA/p1736417917622859
And relevant bits of code:
job-runner/jobrunner/run.py
Lines 448 to 451 in 4fba743
job-runner/jobrunner/config.py
Lines 218 to 227 in 4fba743
job-runner/jobrunner/models.py
Lines 69 to 76 in 4fba743
The text was updated successfully, but these errors were encountered: