fix(coderd): remove deprecated AITaskSidebarApp column (#20680)

This column was no longer used in `v2.28` and the codersdk field
deprecated. Both can now be dropped in `v2.29`.

Closes coder/internal#974
This commit is contained in:
Mathias Fredriksson
2025-11-07 12:45:45 +02:00
committed by GitHub
parent 32e504cb2a
commit ce04f6cc5d
24 changed files with 127 additions and 108 deletions
-6
View File
@@ -27,7 +27,6 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
```json
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -268,7 +267,6 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild} \
```json
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -1000,7 +998,6 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/sta
```json
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -1314,7 +1311,6 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
```json
[
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -1536,7 +1532,6 @@ Status Code **200**
| Name | Type | Required | Restrictions | Description |
|----------------------------------|--------------------------------------------------------------------------------------------------------|----------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `[array item]` | array | false | | |
| `» ai_task_sidebar_app_id` | string(uuid) | false | | Deprecated: This field has been replaced with `Task.WorkspaceAppID` |
| `» build_number` | integer | false | | |
| `» created_at` | string(date-time) | false | | |
| `» daily_cost` | integer | false | | |
@@ -1813,7 +1808,6 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
```json
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
-4
View File
@@ -9971,7 +9971,6 @@ If the schedule is empty, the user will be updated to use the default schedule.|
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -11145,7 +11144,6 @@ If the schedule is empty, the user will be updated to use the default schedule.|
```json
{
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -11357,7 +11355,6 @@ If the schedule is empty, the user will be updated to use the default schedule.|
| Name | Type | Required | Restrictions | Description |
|------------------------------|-------------------------------------------------------------------|----------|--------------|---------------------------------------------------------------------|
| `ai_task_sidebar_app_id` | string | false | | Deprecated: This field has been replaced with `Task.WorkspaceAppID` |
| `build_number` | integer | false | | |
| `created_at` | string | false | | |
| `daily_cost` | integer | false | | |
@@ -11984,7 +11981,6 @@ If the schedule is empty, the user will be updated to use the default schedule.|
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
-6
View File
@@ -82,7 +82,6 @@ of the template will be used.
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -377,7 +376,6 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -697,7 +695,6 @@ of the template will be used.
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -995,7 +992,6 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -1274,7 +1270,6 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace} \
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,
@@ -1829,7 +1824,6 @@ curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/dormant \
"workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
},
"latest_build": {
"ai_task_sidebar_app_id": "852ddafb-2cb9-4cbf-8a8c-075389fb3d3d",
"build_number": 0,
"created_at": "2019-08-24T14:15:22Z",
"daily_cost": 0,