Skip to content

fix(cloud-agent-next): recover cold attach after idle stop - #5957

Merged
eshurakov merged 1 commit into
eshurakov/recovery-not-ready-retryfrom
eshurakov/recovery-cold-bootstrap-attach
Sep 8, 2026
Merged

fix(cloud-agent-next): recover cold attach after idle stop#5957
eshurakov merged 1 commit into
eshurakov/recovery-not-ready-retryfrom
eshurakov/recovery-cold-bootstrap-attach

Conversation

@eshurakov

@eshurakov eshurakov commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Release a completed retryable attach proof so the next drain can issue a new session.attach after QUEUE_RETRY_MS, then prompt. Do not retire kilo when session.preparing receipts expire, and allow attach when kilo is not yet ready so retries are not deadlocked.

Stack

Remaining control-plane recovery stack. #5912#5918 are merged. Merge from the bottom.

  1. fix(cloud-agent-next): control-plane recovery follow-ups #5919 eshurakov/recovery-stackmain
  2. fix(cloud-agent-next): release unadmitted queued messages on quarantine #5920 eshurakov/recovery-not-ready-retryeshurakov/recovery-stack
  3. fix(cloud-agent-next): recover cold attach after idle stop #5957 eshurakov/recovery-cold-bootstrap-attacheshurakov/recovery-not-ready-retry
  4. fix(web): keep Cloud Agent workspace tabs stable during progress #5958 eshurakov/ca-stable-workspace-tabseshurakov/recovery-cold-bootstrap-attach

Release a completed retryable attach proof so the next drain can issue a
new session.attach after QUEUE_RETRY_MS, then prompt. Do not retire kilo
when session.preparing receipts expire, and allow attach when kilo is not
yet ready so retries are not deadlocked.
@eshurakov
eshurakov force-pushed the eshurakov/recovery-cold-bootstrap-attach branch from 9ed30d9 to 47c8e04 Compare September 8, 2026 09:36
@kilo-code-bot

kilo-code-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (17 files)
  • packages/cloud-agent-sdk/src/normalizer.ts
  • packages/cloud-agent-sdk/src/normalizer.test.ts
  • services/cloud-agent-next/src/persistence/SandboxControl.ts
  • services/cloud-agent-next/src/sandbox-control/diagnostics.ts
  • services/cloud-agent-next/src/sandbox-control/diagnostics.test.ts
  • services/cloud-agent-next/src/sandbox-session/SandboxSession.ts
  • services/cloud-agent-next/src/sandbox-session/control-dispatch.ts
  • services/cloud-agent-next/src/sandbox-session/control-dispatch.test.ts
  • services/cloud-agent-next/src/sandbox-session/recovery/failed-snapshot-uses-terminal-failure.test.ts
  • services/cloud-agent-next/src/sandbox-session/session-message-queue.ts
  • services/cloud-agent-next/src/sandbox-session/session-message-queue.test.ts
  • services/cloud-agent-next/test/integration/sandbox-control.test.ts
  • services/cloud-agent-next/wrapper/src/control/control-event-transport.ts
  • services/cloud-agent-next/wrapper/src/control/control-event-transport.test.ts
  • services/cloud-agent-next/wrapper/src/control/sandbox-control-handlers.ts
  • services/cloud-agent-next/wrapper/src/control/sandbox-control-handlers.test.ts
  • services/cloud-agent-next/wrapper/src/control/session-operation.ts

Reviewed by grok-4.6 · Input: 190.2K · Output: 31.9K · Cached: 1.9M

Review guidance: REVIEW.md from base branch eshurakov/recovery-not-ready-retry

@eshurakov
eshurakov merged commit a9e8ebc into main Sep 8, 2026
25 checks passed
@eshurakov
eshurakov deleted the eshurakov/recovery-cold-bootstrap-attach branch September 8, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants