We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13310cf commit 897a977Copy full SHA for 897a977
1 file changed
surogates/harness/loop.py
@@ -1988,6 +1988,14 @@ async def _complete_session(
1988
EventType.SESSION_COMPLETE,
1989
complete_data,
1990
)
1991
+ try:
1992
+ await self._store.update_session_status(session.id, "completed")
1993
+ except Exception:
1994
+ logger.warning(
1995
+ "Failed to update session status to completed for %s",
1996
+ session.id,
1997
+ exc_info=True,
1998
+ )
1999
2000
# Notify parent session if this is a worker (child) session.
2001
if session.parent_id is not None:
0 commit comments