Skip to content

agent connection timings rendering as negative values when agent cannot connect #15432

@defelmnq

Description

@defelmnq

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.

Image

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.

Image

Overall view of the workspace
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy