Skip to content

feat(dogfood/coder): integrate tasks support into "Write Coder on Coder" template - #19320

Merged
johnstcn merged 4 commits into
mainfrom
cj/dogfood-tasks
Aug 15, 2025
Merged

johnstcn merged 4 commits into
mainfrom
cj/dogfood-tasks

Conversation

@johnstcn

@johnstcn johnstcn commented Aug 12, 2025 •

Copy link
Copy Markdown
Member

Updates coder/internal#836

  • Adds an optional AI prompt parameter
  • Conditionally adds the following resources if "AI Prompt" is provided:
    • claude-code module if AI prompt is provided
    • auto-restarting instance of develop.sh running in screen
    • a "preview" app that shows the local development server

Still TODO:

You can test here: https://dev.coder.com/templates/coder/coder/versions/relaxed_northcutt6

@johnstcn johnstcn self-assigned this Aug 12, 2025
@johnstcn johnstcn changed the title feat(dogfood): integrate tasks support feat(dogfood/coder): integrate tasks support into "Write Coder on Coder" template Aug 14, 2025
@johnstcn
johnstcn marked this pull request as ready for review August 14, 2025 17:16
Comment thread dogfood/coder/main.tf Resolved

@dannykopping dannykopping left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread dogfood/coder/main.tf

module "claude-code" {
count = local.has_ai_prompt ? data.coder_workspace.me.start_count : 0
source = "dev.registry.coder.com/coder/claude-code/coder"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this have to be sourced from dev.registry.coder.com? Is this for dogfooding?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We could use either, the module versions are published simultaneously. However, there doesn't seem to be much consistency between using registry.coder.com and dev.registry.coder.com (see above module definitions).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ideally, we should always use dev.registry.coder.com so that we can catch any breaking changes before our customers do.

Comment thread .github/workflows/dogfood.yaml Resolved
@johnstcn
johnstcn merged commit 2ea807f into main Aug 15, 2025
@johnstcn
johnstcn deleted the cj/dogfood-tasks branch August 15, 2025 16:47
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 15, 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.

3 participants