Stop the loop when a finished chunk's session cannot be deleted, and give the session one owner #184

Merged
lilleman merged 6 commits from session-owner into main 2026-10-02 07:47:49 +02:00
Showing only changes of commit 041fb8b98d - Show all commits
+1 -1
View File
@@ -46,5 +46,5 @@ def delete_session(session: Session) -> Failure | None:
try:
shutil.rmtree(sibling) if os.path.isdir(sibling) else os.remove(sibling)
except OSError as failure:
return Failure(f"could not delete {sibling}: {failure.strerror}; delete {stem}* and rerun loop-claude, or the next chunk resumes the finished chunk's session")
return Failure(f"could not delete {sibling}: {failure.strerror or failure}; delete {stem}* and rerun loop-claude, or the next chunk resumes the finished chunk's session")
return None