Skip to content

Add Bun runtime support alongside Deno#1

Open
N3xusFour wants to merge 2 commits intomainfrom
feat/bun-runtime
Open

Add Bun runtime support alongside Deno#1
N3xusFour wants to merge 2 commits intomainfrom
feat/bun-runtime

Conversation

@N3xusFour
Copy link

Summary

  • Add Bun as an alternative JavaScript/TypeScript runtime alongside Deno
  • Runtime is selectable per-environment via "runtime": "bun" in setup request
  • Defaults to Deno for backwards compatibility
  • Both runtime images built and published via GitHub Actions

Changes

  • New files: services/runtime-bun/ with Dockerfile and runner.ts
  • Models: Added Runtime type (deno/bun) to SetupRequest and Environment
  • Executor: Runtime-aware image selection, dependency installation (bun install vs deno cache), and cache directory mounts
  • Database: Added runtime column with migration for existing installations
  • CI/CD: GitHub Actions builds both assist-tee-rt-deno and assist-tee-rt-bun images
  • Makefile: Added build-runtime-bun, test-setup-bun targets
  • Docs: Added CLAUDE.md for Claude Code guidance

Test plan

  • Build both runtime images: make build-runtime
  • Create Deno environment: make test-setup
  • Create Bun environment: make test-setup-bun
  • Execute in both environments: make test-execute ENV_ID=<uuid>
  • Verify backwards compatibility (existing environments without runtime field default to Deno)

🤖 Generated with Claude Code

jsfour and others added 2 commits December 4, 2025 05:09
Implement support for Bun as an alternative JavaScript/TypeScript runtime:

- Add services/runtime-bun/ with Dockerfile and runner.ts
- Add Runtime type to models with "deno" (default) and "bun" options
- Update executor to select runtime image and handle Bun-specific
  dependency installation (bun install vs deno cache)
- Add runtime column to environments database schema with migration
- Update GitHub Actions to build both runtime images
- Add Makefile targets: build-runtime-bun, test-setup-bun
- Add CLAUDE.md documentation file

Usage: Set "runtime": "bun" in setup request to use Bun instead of Deno.
Defaults to Deno for backwards compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants