You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: remove AI task support from the provisioner protocol (#28790)
Removes AI task support from the provisioner protocol: the task-related
proto fields, terraform scanning for `coder_ai_task` resources, echo
provisioner support, the regenerated `.pb.go` and
`provisionerGenerated.ts`, and the terraform testdata that exercised
them. The provisioner API version change lives in
`provisionerd/proto/version.go`.
**Stack context:** Coder Tasks removal stack (CODAGT-642): #28743
frontend → #28788 CLI → #28789 API → #28790 provisioner → #29084
notifications and usage → #29085 build reasons → #29086 tables → #28750
permissions. The last four PRs replace the single data-drop migration
that used to live in #28750; each carries one concern and a focused
migration test.
**Why:** the proto fields lost their last consumer in #28789; this
deletes the producer side and the wire format.
**What to scrutinize:** the proto/version handling, and that
`coder_ai_task` resources in existing templates are now ignored rather
than errors (template imports simply no longer scan for them).
**Validation:** `go build ./...`, `go test ./provisionersdk/...
./provisionerd/...`, `go test ./provisioner/terraform -run
TestConvertResources`, provisioner list golden regenerated, site tsc,
pre-commit hooks.
**Size:** +580/-1,286 over 76 files; most files are mechanical testdata
and generated-code updates.
> Created by Xum (AI agent) on behalf of @ibetitsmike.
Copy file name to clipboardExpand all lines: docs/ai-coder/agents/tasks-to-chats-migration.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,11 +436,9 @@ unused when the chat is driven by the Chats API:
436
436
}
437
437
```
438
438
439
-
> [!TIP]
440
-
> You do not have to remove these resources immediately. Templates can
441
-
> serve both Tasks and Chats simultaneously during a transition period.
442
-
> The Tasks-specific resources are simply unused when work comes through
443
-
> the Chats API.
439
+
> [!IMPORTANT]
440
+
> Remove the Tasks-specific Terraform when you upgrade.
441
+
> Tasks and Chats can no longer run side by side: Coder no longer injects `CODER_TASK_ID` or `CODER_TASK_PROMPT`, so builds of a template that keeps the `coder_task` data source can no longer populate it.
0 commit comments