Skip to content

Tasks API: Add fields to codersdk.Task (required by the UI) #949

Closed
coder/coder
#19619

Description

@mafredri

Update GET /tasks, GET /tasks/{user}/{id}, and codersdk.Task to return additional fields required by the UI.

Goals:

  • Response includes the following fields:
    • owner_username
    • template_name
    • template_display_name
    • template_icon
    • workspace_agent_id (nullable, used to fetch agent logs during startup)
    • workspace_agent_lifecycle (nullable, used for knowing agent starting/ready)
    • health (healthy|unhealthy)

Eventual goals:

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions