Bug: Scoring-Subprocess hat kein Timeout — kann endlos hängen #69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beschreibung
In
backend/services/scoring_engine.py:46-54wird der Claude CLI Subprocess für LLM-Scoring ohne Timeout gestartet. Wenn der Prozess hängt, blockiert er den Scoring-Worker dauerhaft.Hintergrund
asyncio.create_subprocess_exec()wird ohneasyncio.wait_for()aufgerufen. Im Gegensatz zum Claude Runner (derCLAUDE_CODE_TIMEOUT_SECONDSnutzt) hat der Scoring-Call kein Zeitlimit.Akzeptanzkriterien
Technische Hinweise
backend/services/scoring_engine.py:46-54asyncio.wait_for(process.communicate(), timeout=scoring_timeout)SCORING_TIMEOUT_SECONDS=120Aufwand: S