Skip to content

feat(dkai): preinstall dev language toolchains - #5

Merged
surrealwolf merged 3 commits into
mainfrom
feat/language-toolchain-support
Aug 1, 2026
Merged

feat(dkai): preinstall dev language toolchains#5
surrealwolf merged 3 commits into
mainfrom
feat/language-toolchain-support

Conversation

@surrealwolf

Copy link
Copy Markdown
Contributor

Summary

  • Add preinstalled dev toolchains to dkai-dev, dkai-arch, dkai-agent, and dkai-hermes startup scripts: Node.js, pnpm, Python (pip/venv), uv, Go, Rust, Java (OpenJDK, Maven, Gradle), Ruby, PHP, .NET SDK, and C/C++ (gcc/build-essential).
  • kubernetes template is unchanged (code-server only; languages via custom image or dotfiles).
  • Installation uses distro package managers: apt on DKAI DevPod (Ubuntu), pacman on Arch-based templates; dkai-dev also uses NodeSource, Microsoft .NET feed, and Astral uv install script where needed.
  • Document toolchains in docs/build-parameters.md (#preinstalled-dev-toolchains) and update template READMEs.
  • Extend === Startup summary === in workspace logs to report detected versions for each toolchain.

Test plan

  • make test (terraform init/validate, fmt-check, dkai startup bash -n) passes locally
  • Push templates to Coder (coder templates push … --directory templates/<id> --activate=false) for dkai-dev and one Arch template
  • Promote version and update a test workspace; confirm startup completes and coder logs shows the expanded startup summary with toolchain versions

Made with Cursor

Install Node/pnpm, Python/uv, Go, Rust, Java, Ruby, PHP, .NET, and
C/C++ via distro packages (apt on dkai-dev, pacman on Arch templates)
so workspaces are ready for polyglot work without dotfiles.

Document toolchains in build-parameters.md and extend startup summary.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread templates/dkai-dev/main.tf Outdated
Comment thread templates/dkai-dev/main.tf Outdated
Comment thread templates/dkai-dev/main.tf Outdated
Split Java apt package checks, capture javac stderr in startup summary,
and guard php/gcc version probes when binaries are missing.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5a912a3. Configure here.

Comment thread templates/dkai-dev/main.tf Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
@surrealwolf
surrealwolf merged commit 7cdf202 into main Aug 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant