Skip to content

bench: retry task once when the engine is down at session start - #330

Merged
dahai80 merged 1 commit into
mainfrom
bench/engine-restart-retry
Nov 24, 2026
Merged

dahai80 merged 1 commit into
mainfrom
bench/engine-restart-retry

Conversation

@dahai80

@dahai80 dahai80 commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Problem

fusion-supervisor auto-recovery SIGTERMs fusion-mlx under sustained 27B decode load (probe-timeout streak — filed as dahai80/fusion-supervisor#153). Sessions launched during the restart window die instantly with Local inference service unavailable, and the rest of the bench run zeros out. Two of three 27B runs today were destroyed this way (one at 14:44:30 took out 13 tasks, run recorded 6/20 vs 17/20 baseline).

Fix

When a task log contains the engine-unavailable error, poll /health until ready (max 180 s) and re-run that task once. Real failures are untouched; infra blips cost a pause instead of the run.

Validation

typecheck clean; lint exit 0; full suite unaffected (test-only bench runner change, 1832 pass pre-commit). End-to-end proof will be the next 27B regression run.

🤖 Generated with Claude Code

fusion-supervisor auto-recovery SIGTERMs fusion-mlx under sustained 27B
decode load (probe timeout streak, see dahai80/fusion-supervisor#153);
sessions launched during the restart window die instantly with "Local
inference service unavailable" and the rest of the run zeros out. Two of
three 27B bench runs today were destroyed this way.

When a task log contains that error, poll /health until ready (max 180s)
and re-run the task once. Real failures are untouched; infra blips cost
a pause instead of the run.

Co-Authored-By: Claude Code <[email protected]>
@dahai80
dahai80 merged commit a6cde80 into main Nov 24, 2026
1 check passed
@dahai80
dahai80 deleted the bench/engine-restart-retry branch November 24, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant