Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: update coder/dogfood template to reference coder_task.prompt#20416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 7 commits intomainfromcj/coder/dogfood/tasks-refactor
Nov 6, 2025

Conversation

@johnstcn
Copy link
Member

@johnstcnjohnstcn commentedOct 22, 2025
edited
Loading

Relates tocoder/internal#1065

Updates the coder/dogfood template to reference new Task features in provider version2.12.0 2.13.0:

Update: to avoid a cycle that only appears to occur when using acount, leveraging a data source (ref:coder/terraform-provider-coder#460)

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelOct 30, 2025
@johnstcnjohnstcn reopened thisNov 3, 2025
@johnstcnjohnstcn removed the staleThis issue is like stale bread. labelNov 3, 2025
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

Changes look good once updated to match latest provider behavior 👍🏻

@@ -879,7 +899,7 @@ resource "coder_script" "develop_sh" {
}

resource "coder_app" "preview" {
count = local.has_ai_prompt ? data.coder_workspace.me.start_count : 0
count = local.is_task ? data.coder_workspace.me.start_count : 0
Copy link
Member

Choose a reason for hiding this comment

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

Seeing this, it could be nice to have acoder_ai_task.start_count, but perhaps that's more confusing than useful.

Relates tocoder/internal#1065Updates the coder/dogfood template to reference new Task featuresin provider version 2.12.0:- Adds a `coder_ai_task` resource- Passes `coder_ai_task.task.prompt` into Claude Code module- Updates Claude Code module to 4.0.0 (ref:coder/registry#488)- Removes "AI Prompt" parameter
@johnstcnjohnstcnforce-pushed thecj/coder/dogfood/tasks-refactor branch from7c28bf6 toe9efb79CompareNovember 3, 2025 22:05
@johnstcnjohnstcn marked this pull request as ready for reviewNovember 4, 2025 13:43
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

Would perhaps make sense to have adata.coder_task.me.start_count like workspaces. Avoids the ternary operator.

johnstcn reacted with thumbs up emoji
@johnstcn
Copy link
MemberAuthor

Smoke-tested withhttps://dev.coder.com/templates/coder/coder/versions/gh-20416-testing-3

mafredri reacted with hooray emoji

@johnstcnjohnstcn merged commit2cec1db intomainNov 6, 2025
30 checks passed
@johnstcnjohnstcn deleted the cj/coder/dogfood/tasks-refactor branchNovember 6, 2025 15:00
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 6, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@DanielleMaywoodDanielleMaywoodDanielleMaywood left review comments

@mafredrimafredrimafredri approved these changes

Assignees

@johnstcnjohnstcn

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@johnstcn@mafredri@DanielleMaywood

[8]ページ先頭

©2009-2025 Movatter.jp