* fix(session-manager): terminate sessions even when handle is missing Kill hard-failed with ErrIncompleteHandle before recording terminal intent, so a session that lost its runtime/workspace handle (crash, partial spawn) was un-killable and stuck forever on the dashboard. MarkTerminated now runs unconditionally; each destroy step is gated individually on whether that handle exists. If nothing is present to tear down, the session still terminates — freed=false just signals nothing was freed. ErrIncompleteHandle is still returned by Restore and runtimeMessenger.Send, where a missing handle is genuinely fatal. Updates TestKill_RefusesIncompleteHandle → TestKill_TerminatesIncompleteHandle. * style: gofmt blank line between test functions --------- Co-authored-by: AO Bot <ao-bot@composio.dev> |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| sqlc.yaml | ||