Skip to content

Broadcast timeouts are reported as ordinary failures #501

Description

@retr0h

When an agent does not respond, internal/job/client/client.go:502 records Status: StatusFailed with the error text timeout: agent did not respond. The job status enum has no timeout value and the SDK does not handle that string, so callers cannot tell "never responded" from "ran and failed".

Fix: add a timeout status (or structured error code) and surface it through the SDK and the domain broadcast responses.


Found in the September 2026 codebase review. Tracked in the review tracking issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions