Skip to content

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

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 15, 2025

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Aug 12, 2025

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
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -380,6 +396,24 @@ module "devcontainers-cli" {
agent_id = coder_agent.dev.id
}

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
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
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
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.

@johnstcn johnstcn merged commit 2ea807f into main Aug 15, 2025
33 checks passed
@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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy