Skip to content

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

@mafredri

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:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions