feat(conductor): auto-provision bun, postgres & redis for cloud agents#490
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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+redis6via dnf andinitdbs a user-owned data dir) and aCONDUCTOR_IS_LOCAL=0branch in.conductor/setup.tsthat starts the services, creates thekeryx/keryx-test/keryx-package-testdatabases, and writes.envfiles on every workspace creation. The non-functional Claude-Codescripts/bootstrap.shand itsSessionStarthook 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 pastingbash .conductor/cloud-init.shinto the Conductor app's snapshot initialization script (it can't live in the repo).🤖 Generated with Claude Code