Closed
Description
I recently played with workspaces build and in some situations had workspaces struggling to be healthy.
While watching at the build timeline for this workspace - the connect
step for the agent is displaying a weird value.
Looking at the JSON for the endpoint, the ended_at
field returned seems to be a Golang zero value.
{
"started_at": "2024-11-07T17:52:51.485204Z",
"ended_at": "0001-01-01T00:00:00Z",
"stage": "connect",
"workspace_agent_id": "67e37a9d-ccac-497e-8f48-4093bcc4f3e7",
"workspace_agent_name": "main"
}
An easy way to reproduce is to create or modify an existing template and change the host
value in the workspace
- which will result in the agent being impossible to contact.