HOMELAB-447: add SANDBOX_MODE and SANDBOX_NAME env vars to sandbox chart #81

Merged
claude-agent merged 1 commit from homelab-447-sandbox-env-vars into live 2026-03-26 22:43:56 +00:00
Owner

Summary

  • Add SANDBOX_NAME to deployment env block, derived from {{ .Values.sandbox.name }}

Why: LifecycleWorkflow (HOMELAB-440) requires SANDBOX_NAME to construct the workflow ID (sandbox-lifecycle-{SANDBOX_NAME}). Without it the worker exits on startup: SANDBOX_NAME not set — cannot start LifecycleWorkflow.

Test plan

  • Verify rendered template includes SANDBOX_NAME: helm template . | grep SANDBOX
  • Worker starts without error in sandbox mode
  • LifecycleWorkflow ID matches sandbox-lifecycle-{sandbox.name}

🤖 Generated with Claude Code

## Summary - Add `SANDBOX_NAME` to deployment env block, derived from `{{ .Values.sandbox.name }}` **Why:** `LifecycleWorkflow` (HOMELAB-440) requires `SANDBOX_NAME` to construct the workflow ID (`sandbox-lifecycle-{SANDBOX_NAME}`). Without it the worker exits on startup: `SANDBOX_NAME not set — cannot start LifecycleWorkflow`. ## Test plan - [ ] Verify rendered template includes SANDBOX_NAME: `helm template . | grep SANDBOX` - [ ] Worker starts without error in sandbox mode - [ ] LifecycleWorkflow ID matches `sandbox-lifecycle-{sandbox.name}` 🤖 Generated with Claude Code
HOMELAB-447: add SANDBOX_MODE and SANDBOX_NAME env vars to sandbox chart
Some checks failed
0/0 projects applied successfully.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
62d816103b
Worker exits on startup without SANDBOX_NAME (needed for LifecycleWorkflow
ID: sandbox-lifecycle-{name}). SANDBOX_MODE was also missing from the base
chart. SANDBOX_NAME is derived from the existing sandbox.name value field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!81
No description provided.