Bug: kontext.md wird bei Pipeline-Failure nicht aufgeräumt #39
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
Wenn die Pipeline fehlschlägt (z.B. während Review oder Claude Code Run), bleibt die kontext.md im Repository liegen. Nachfolgende Runs finden stale Kontext-Dateien.
Hintergrund
pipeline.py:363räumt kontext.md nur bei Erfolg auf (_cleanup_kontext). Bei Failures wird die Cleanup-Funktion nicht aufgerufen. Wenn das Ticket erneut gestartet wird, existiert die alte kontext.md noch im Repo.Akzeptanzkriterien
Technische Hinweise
backend/services/pipeline.py—_cleanup_kontext()infinally-Block verschieben_run_preparation_and_execution()ob kontext.md bereits existiertAufwand: S
Superseded by #78 (Error Recovery & Cleanup). kontext.md Cleanup ist dort als Teil der Aufräumlogik abgedeckt (Finding #5: kontext.md-Write nicht atomar, Finding #8: Kein Cleanup nach Partial Failure).