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
{{ message }}
Repository navigation
Hosts keep sandboxes of deleted sessions and retry their uplinks #12
When a project is deleted, the control plane now purges its sessions' event logs (SessionObject storage). Hosts are not told:
A stopped session keeps its sandbox on the host so it can resume. After its project is deleted, the sandbox (repository checkout, Claude's local transcript) stays on the machine until someone removes it by hand.
If the session's uplink was still open, the purge closes it with code 4404 and the host reconnects forever: every attempt gets HTTP 404, with backoff capped at 15 s, until the host restarts.
What should happen:
The uplink treats close code 4404 and an HTTP 404 on connect as final: it stops reconnecting and asks the session task to destroy the sandbox.
On (re)connect, a host reports the sessions it keeps sandboxes for; the fleet answers with the ones that no longer exist, and the host destroys those (this covers hosts that were offline during the deletion).
Needs a host release; hosts may run one version behind, so the fleet message must be optional.
Related: keep_stopped_hours (default 72) is in the host config and docs/cli.md says it keeps a stopped session's sandbox that long, but nothing in fctl-host reads it, so stopped sandboxes are never removed at all. Implementing that expiry would also clean up sandboxes of deleted sessions within 72 hours, even before the fleet message above exists.
Fixed in 39c5de9, shipping in 0.1.2: hosts now remove stopped sandboxes after keep_stopped_hours (72 by default; 0 keeps them), at startup and hourly, which covers the sandboxes of deleted sessions too. Resuming a session whose sandbox expired starts a fresh one on its branch with a new Claude conversation, and its events now reach the transcript (first_agent_seq).
The uplink retries turned out to last only until the session task ends, a few seconds after a stop, so they needed no change.
Activity
Purge deleted sessions' transcripts; delete expired records hourly
fctl-sh commentedon Oct 17, 2026
Related:
keep_stopped_hours(default 72) is in the host config anddocs/cli.mdsays it keeps a stopped session's sandbox that long, but nothing infctl-hostreads it, so stopped sandboxes are never removed at all. Implementing that expiry would also clean up sandboxes of deleted sessions within 72 hours, even before the fleet message above exists.https://claude.ai/code/session_01PQMz6M4XFEb1wkZKjtJgEK
fctl-sh commentedon Oct 17, 2026
Fixed in 39c5de9, shipping in 0.1.2: hosts now remove stopped sandboxes after
keep_stopped_hours(72 by default; 0 keeps them), at startup and hourly, which covers the sandboxes of deleted sessions too. Resuming a session whose sandbox expired starts a fresh one on its branch with a new Claude conversation, and its events now reach the transcript (first_agent_seq).The uplink retries turned out to last only until the session task ends, a few seconds after a stop, so they needed no change.
https://claude.ai/code/session_01PQMz6M4XFEb1wkZKjtJgEK
docs: add agent rules for issues and pull requests (#29)
docs: add agent rules for issues and pull requests (#3)
docs: add agent rules for issues and pull requests (#3)
feat: add pull request and issue rules that projects can change (#299)
fix(domain): read review summaries with a Markdown parser, as GitHub …
feat: let review agents sum pull requests up in their descriptions (#336