Skip to content

fix: improve error handling for unreachable workspaces during image updates#131

Merged
khaliqgant merged 2 commits intomainfrom
claude/fix-docker-agent-error-HZM2H
Jan 10, 2026
Merged

fix: improve error handling for unreachable workspaces during image updates#131
khaliqgant merged 2 commits intomainfrom
claude/fix-docker-agent-error-HZM2H

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

  • Change SKIPPED_VERIFICATION_FAILED from "error" to "reason" since this is
    expected behavior for workspaces that are waking up from auto-stop
  • Update error message to be more informative: "Workspace unreachable - will
    update on next restart or when accessible"
  • Add skippedVerificationFailed to the summary return type for completeness
  • Add reason field to return types for non-error skip conditions

…pdates

- Change SKIPPED_VERIFICATION_FAILED from "error" to "reason" since this is
  expected behavior for workspaces that are waking up from auto-stop
- Update error message to be more informative: "Workspace unreachable - will
  update on next restart or when accessible"
- Add skippedVerificationFailed to the summary return type for completeness
- Add reason field to return types for non-error skip conditions
The checkActiveAgents method was calling /api/agents which doesn't exist
on the workspace dashboard-server. Changed to /api/data which returns
{ agents: [...], ... } with the agent status information needed.

This was causing all workspaces to be reported as "unreachable" even when
they were healthy, because the 404 response was treated as a connection
failure.
@khaliqgant khaliqgant merged commit f1dcbc3 into main Jan 10, 2026
6 checks passed
@khaliqgant khaliqgant deleted the claude/fix-docker-agent-error-HZM2H branch January 10, 2026 16:32
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