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
{{ message }}
Repository navigation
Intermittent long-running submissions eventually fail #2557
We’re seeing intermittent submission failures on our self-hosted compute worker. Some submissions stay in Running for an unusually long time, then eventually show Failed. Rerunning the same submission later has succeeded.
For affected runs, the worker logs show that after ingestion_program starts, its attempt to update the submission status to Scoring receives HTTP 500. The worker logs “Failed to update submission status to Scoring,” but the Celery task then reports success. We’re unsure whether this failed status update explains the long wait and eventual failure, or whether there is an additional issue.
Could you help us identify the cause of the intermittent HTTP 500s and long-running submissions, and advise how the worker should handle a failed status update?
Failed before dispatch to any worker
ID 943845 - Status: "Submitting", no task, no scores, no backend activity.
Reached ingestion, but HTTP 500 blocked transition to scoring
ID 934192 - Status: "Failed", "ingestion_hostname-", no score.
ID 944485 - Status: "Failed", "ingestion_hostname-", no score.
ID 942886 - Status: "Cancelled", formerly stuck on "Preparing", no score.
ID 942887 - Status: "Cancelled", formerly stuck on "Submitted", no score.
ID 947200 - Status: "Submitted", no score.
For these five, the submission reached the worker, but the PATCH to Scoring failed. The scoring program never ran.
Activity
cmjoshua01 commentedon Sep 25, 2026
In case the images fail to load (refreshing gets them back for me):
Image 1- Codabench submission list, showing submission ID 934192, showing "Failed" due to "ingestion_hostname-010d147e0efc",
Image2- Terminal showing docker logs:
eroots-analytics@eroots-analytics-IdeaPad-3-15ITL6:~$ docker logs --since 72h compute_worker_participant 2>&1 |
awk -v sid=934192 '/Received run arguments:/ {a=1; m=0} a && index($0, sid) {m=1; print "SUBMISSION " sid; next}
a && /^[[:space:]]*}/ {a=0} m && /Task compute_worker_run|Preparing to run:|Metadata contains:|exited with|raised unexpected|ERROR|Traceback|OSError|No space|OOM|Killed|timeout|succeeded/ {print}'
SUBMISSION 934192
2026-09-20 00:27:07.271 | INFO | compute_worker:start:1287 - Preparing to run: ingestion_program
2026-09-20 00:27:13.569 | ERROR | compute_worker:_update_submission:627 - Submission patch failed with status = 500, and response =
2026-09-20 00:27:13.569 | ERROR | compute_worker:_update_status:643 - Failed to update submission status to Scoring: Failure updating submission data.
Traceback (most recent call last):
2026-09-20 00:27:13.820 | INFO | celery.app.trace:info:128 - Task compute_worker_run[eecf05cb-7bec-48b4-ad2b-a0894e6a75d7] succeeded in 9.71352353086695s: None
2026-09-20 04:09:54.229 | INFO | celery.worker.strategy:task_message_handler:161 - Task compute_worker_run[4f909657-d0d1-418a-8f30-aa00be2642db] received
eroots-analytics@eroots-analytics-IdeaPad-3-15ITL6:~$
cmjoshua01 commentedon Sep 28, 2026
Some concise stuck/failed examples:
Failed before dispatch to any worker
ID 943845 - Status: "Submitting", no task, no scores, no backend activity.
Reached ingestion, but HTTP 500 blocked transition to scoring
ID 934192 - Status: "Failed", "ingestion_hostname-", no score.
ID 944485 - Status: "Failed", "ingestion_hostname-", no score.
ID 942886 - Status: "Cancelled", formerly stuck on "Preparing", no score.
ID 942887 - Status: "Cancelled", formerly stuck on "Submitted", no score.
ID 947200 - Status: "Submitted", no score.
For these five, the submission reached the worker, but the PATCH to Scoring failed. The scoring program never ran.
cmjoshua01 commentedon Sep 29, 2026
Scored, but stale status appears to prevent proper migration to leaderboard
ID 950590 - Status "Running", score visible, not placed on leaderboard despite being participant's leading submission (with Force Best leaderboard).
pcayetan commentedon Oct 12, 2026
To add to this, it seems like multiple issues can be regrouped:
With the following as a potential fix:
#2588
Didayolo commentedon Oct 21, 2026
The mentionned fix is now here:
Related fixes: