mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -145,13 +145,12 @@ func TestTelemetry(t *testing.T) {
|
||||
AgentID: taskWsAgent.ID,
|
||||
})
|
||||
taskWB := dbgen.WorkspaceBuild(t, db, database.WorkspaceBuild{
|
||||
Transition: database.WorkspaceTransitionStart,
|
||||
Reason: database.BuildReasonAutostart,
|
||||
WorkspaceID: taskWs.ID,
|
||||
TemplateVersionID: tv.ID,
|
||||
JobID: taskJob.ID,
|
||||
HasAITask: sql.NullBool{Valid: true, Bool: true},
|
||||
AITaskSidebarAppID: uuid.NullUUID{Valid: true, UUID: taskWsApp.ID},
|
||||
Transition: database.WorkspaceTransitionStart,
|
||||
Reason: database.BuildReasonAutostart,
|
||||
WorkspaceID: taskWs.ID,
|
||||
TemplateVersionID: tv.ID,
|
||||
JobID: taskJob.ID,
|
||||
HasAITask: sql.NullBool{Valid: true, Bool: true},
|
||||
})
|
||||
task := dbgen.Task(t, db, database.TaskTable{
|
||||
OwnerID: user.ID,
|
||||
|
||||
Reference in New Issue
Block a user