Skip to content

feat(conductor): auto-provision bun, postgres & redis for cloud agents#490

Merged
evantahler merged 1 commit into
mainfrom
conductor-cloud-setup
Jun 18, 2026
Merged

feat(conductor): auto-provision bun, postgres & redis for cloud agents#490
evantahler merged 1 commit into
mainfrom
conductor-cloud-setup

Conversation

@evantahler

Copy link
Copy Markdown
Member

Conductor Cloud agents run on Amazon Linux 2023, which ships Node/pnpm/Python but not bun, PostgreSQL, or Redis — so nothing provisioned them. This adds .conductor/cloud-init.sh (the snapshot init script: installs bun + postgresql16 + redis6 via dnf and initdbs a user-owned data dir) and a CONDUCTOR_IS_LOCAL=0 branch in .conductor/setup.ts that starts the services, creates the keryx/keryx-test/keryx-package-test databases, and writes .env files on every workspace creation. The non-functional Claude-Code scripts/bootstrap.sh and its SessionStart hook are removed, cloud Redis URLs are added to .conductor/settings.toml, and a gotcha note plus the patch version bump (0.31.1) are included. Verified end-to-end in a cloud sandbox: 777 framework + 255 example-backend tests pass against the auto-provisioned services. The one manual step is pasting bash .conductor/cloud-init.sh into the Conductor app's snapshot initialization script (it can't live in the repo).

🤖 Generated with Claude Code

Conductor Cloud runs on Amazon Linux 2023, which lacks bun, postgres, and
redis. Add a snapshot init script that installs them and a cloud branch in
the setup script that starts the services, creates databases, and writes
.env files. Remove the non-functional Claude-Code bootstrap.sh and its hook.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@evantahler evantahler enabled auto-merge (squash) June 18, 2026 03:53
@evantahler evantahler merged commit 399d95f into main Jun 18, 2026
15 checks passed
@evantahler evantahler deleted the conductor-cloud-setup branch June 18, 2026 03:55
evantahler added a commit that referenced this pull request Jun 18, 2026
This reverts commit b90e6ab.

Restores Bun's built-in test runner (`bun test`) across all workspaces:
- Revert all *.test.ts and keryx/testing imports back to "bun:test"
- Restore [test] bunfig.toml files; delete vitest.config.ts files
- Revert package.json/root test scripts and CI sharding to bun test
- Restore import.meta.dir in .conductor/setup.ts; drop vitest dep
- Bump keryx 0.31.1 -> 0.32.0

Conflicts (resolved): .conductor/setup.ts, CLAUDE.md,
packages/keryx/package.json -- all touched by #490 after #489.

Co-authored-by: Claude Opus 4.8 (1M context) <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.

1 participant