You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: fix session termination and add per-session task serialization
- Add per-session mutex to serialize tasks: stop command fully completes
before new message starts, preventing race conditions
- Poll task-level status (not session-level) so cancellation only affects
the specific task, not new tasks for the same session
- Send SIGTERM instead of SIGKILL on context cancel so CLI processes can
save session state before exiting (10s grace period)
- Add GET /v1/machines/{id}/tasks/{id}/status endpoint for task-level
status polling
0 commit comments