-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
bugSomething isn't workingSomething isn't working
Description
StatGPT Backend version
latest
Short description
The fix_statuses script does not reset stuck AutoUpdateJob and Job records after server restarts or crashes.
What steps will reproduce the bug?
- Have an
AutoUpdateJoborJobrecord inQUEUEDorIN_PROGRESSstatus - Restart or crash the server
- Run the
fix_statuses.pyscript - Observe that these records remain stuck in their non-final status
What is the expected behavior?
The fix_statuses script should set stuck AutoUpdateJob and Job records to FAILED, the same way it handles stuck ChannelDatasetVersion records.
What do you see instead?
Only ChannelDatasetVersion records are reset to FAILED. The following models are not handled and their records can remain stuck indefinitely:
| Model | Table | Status field | Has reason_for_failure |
|---|---|---|---|
AutoUpdateJob |
auto_update_jobs |
status |
Yes |
Job |
jobs |
status |
Yes |
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working