feat(site): display devcontainer start error (#18637)

Fixes https://github.com/coder/internal/issues/705

Surface errors on the UI when a devcontainer agent is unable to be
injected.
This commit is contained in:
Danielle Maywood
2025-06-30 21:34:29 +01:00
committed by GitHub
parent fc7700a62f
commit 4756080eb2
12 changed files with 325 additions and 5 deletions
+1
View File
@@ -833,6 +833,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/{workspaceagent}/con
}
},
"dirty": true,
"error": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"status": "running",
+3
View File
@@ -8554,6 +8554,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
}
},
"dirty": true,
"error": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"status": "running",
@@ -8569,6 +8570,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
| `config_path` | string | false | | |
| `container` | [codersdk.WorkspaceAgentContainer](#codersdkworkspaceagentcontainer) | false | | |
| `dirty` | boolean | false | | |
| `error` | string | false | | |
| `id` | string | false | | |
| `name` | string | false | | |
| `status` | [codersdk.WorkspaceAgentDevcontainerStatus](#codersdkworkspaceagentdevcontainerstatus) | false | | Additional runtime fields. |
@@ -8710,6 +8712,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
}
},
"dirty": true,
"error": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"status": "running",