fix: improve error handling for unreachable workspaces during image updates#131
Merged
khaliqgant merged 2 commits intomainfrom Jan 10, 2026
Merged
fix: improve error handling for unreachable workspaces during image updates#131khaliqgant merged 2 commits intomainfrom
khaliqgant merged 2 commits intomainfrom
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
expected behavior for workspaces that are waking up from auto-stop
update on next restart or when accessible"