Skip to content

chore(railway): add sandbox-agent preview deployment#4787

Closed
mmabrouk wants to merge 1 commit into
chore/sandbox-agent-corefrom
chore/sandbox-agent-railway
Closed

chore(railway): add sandbox-agent preview deployment#4787
mmabrouk wants to merge 1 commit into
chore/sandbox-agent-corefrom
chore/sandbox-agent-railway

Conversation

@mmabrouk

Copy link
Copy Markdown
Member

Context

Railway previews need the sandbox-agent service to run beside API/services and receive the same Daytona credentials used by the agent runtime. Without a Railway slice, the POC can be tested locally but not in preview environments.

This PR is stacked on #4786 and should be reviewed with the existing agent-workflows POC PRs (#4771, #4772, #4776, #4778, #4779).

Changes

Adds the Railway deploy workflow wiring for the sandbox-agent Daytona key, adds a Railway service Dockerfile wrapper for agenta-sandbox-agent, and updates the Railway scripts so configure, deploy, bootstrap, and preview-env resolution include the runner service. The Railway self-host guide now documents the sandbox-agent service in the Railway deployment path.

Tests / notes

  • Split from the previously validated working tree. I did not rerun a Railway preview deploy after the branch split.
  • The shared GHCR image build workflow is intentionally in the image/CI PR, not this Railway PR.

What to QA

  • Run a Railway preview deploy for this stack. The sandbox-agent service should be created and receive SANDBOX_AGENT_DAYTONA_API_KEY.
  • Open the preview app and run an agent workflow that uses Daytona-backed code execution. The request should route from services to the sandbox-agent service, not to an in-process fallback.

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. devops labels Jun 20, 2026
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jun 20, 2026 11:40pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 33c5031a-3174-40d3-a761-a9bb2f9a0c14

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/sandbox-agent-railway

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mmabrouk
mmabrouk force-pushed the chore/sandbox-agent-core branch from 05437f9 to b99fffb Compare June 23, 2026 11:05
@mmabrouk
mmabrouk deleted the branch chore/sandbox-agent-core June 23, 2026 11:08
@mmabrouk mmabrouk closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant