Skip to content

fix(platform): default SANDBOX_URL so container workers reach the spawner - #3115

Merged
larryro merged 1 commit into
mainfrom
fix/backend-worker-sandbox-url
Aug 31, 2026
Merged

fix(platform): default SANDBOX_URL so container workers reach the spawner#3115
larryro merged 1 commit into
mainfrom
fix/backend-worker-sandbox-url

Conversation

@larryro

@larryro larryro commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • 0.5 backend-worker execs before env.sh, so SANDBOX_URL never defaulted to http://sandbox:8003. session_client then hit localhost:8003 and every agent start died in ~20ms with the agent run could not start: fetch failed (seen on demo05.tale.dev).
  • Default SANDBOX_URL in the backend entrypoint, both compose pipelines (compose.yml + CLI generator), and a fresh tale init .env, and lock the alias in compose-parity.

Test plan

  • bun test tools/cli/src/lib/compose/services/compose-parity.test.ts tools/cli/src/lib/config/ensure-env.test.ts
  • After merge + image/compose roll: start a task assigned to an agent on a 0.5 stack and confirm the run leaves queued (session create reaches the spawner). Existing deploys can also set SANDBOX_URL=http://sandbox:8003 in .env and recreate backend-worker without waiting for a new image.

…wner

The 0.5 worker execs before env.sh, so session_client fell through to
localhost:8003 and every agent start died with "fetch failed".
@larryro
larryro merged commit 320a9a9 into main Aug 31, 2026
55 checks passed
@larryro
larryro deleted the fix/backend-worker-sandbox-url branch August 31, 2026 07:09
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