Skip to content

chore(provisioner): support updated coder_ai_task resource - #20160

Merged
DanielleMaywood merged 4 commits into
mainfrom
danielle/tasks/provisioner
Oct 9, 2025
Merged

DanielleMaywood merged 4 commits into
mainfrom
danielle/tasks/provisioner

Conversation

@DanielleMaywood

@DanielleMaywood DanielleMaywood commented Oct 3, 2025 •

Copy link
Copy Markdown
Contributor

Closes coder/internal#978

  • Introduce CODER_TASK_ID and CODER_TASK_PROMPT to the provisioner environment
  • Make use of new app_id field in provider, with a fallback to sidebar_app.id for backwards compatibility

For now I've left the taskPrompt and taskID as a TODO as we do not yet create these values.

@DanielleMaywood DanielleMaywood changed the title chore(provisioner): begin support for updated coder_ai_task resource chore(provisioner): support updated coder_ai_task resource Oct 3, 2025
@DanielleMaywood
DanielleMaywood force-pushed the danielle/tasks/provisioner branch 2 times, most recently from 193a93b to 18a58db Compare October 7, 2025 09:20
Comment on lines +600 to +606
// TODO(DanielleMaywood):
// Plumb a task prompt into this when we have the new data-model ready
var taskPrompt string

// TODO(DanielleMaywood):
// Plumb a task ID into this when we have the new data-model ready
var taskID string

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will be hooked up later on once we start creating these resources

@DanielleMaywood
DanielleMaywood force-pushed the danielle/tasks/provisioner branch from 0c212b5 to df1845a Compare October 8, 2025 08:34
@DanielleMaywood
DanielleMaywood marked this pull request as ready for review October 8, 2025 08:46
Comment thread provisionersdk/proto/provisioner.proto Resolved
Comment thread provisionersdk/proto/provisioner.proto Resolved
Comment thread provisionerd/proto/version.go Resolved
@DanielleMaywood
DanielleMaywood merged commit f31e6e0 into main Oct 9, 2025
3 checks passed
@DanielleMaywood
DanielleMaywood deleted the danielle/tasks/provisioner branch October 9, 2025 09:42
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

provisionerdserver: support updated coder_ai_task resource

4 participants