From 900c40d2b08cededac41760e4c5f6448e48411d7 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Nov 2026 14:52:03 -0500 Subject: [PATCH] Set CODEBOX_SESSION in Podman boxes too A process inside a Podman box had no way to tell which session it is: the hostname is the launcher's name, and Podman fills /run/.containerenv only for privileged containers. The Apptainer backend already exported the session (container) name as CODEBOX_SESSION. Move it into the runtime-neutral session spec, so both backends set it. Tools that read the name from outside, from the terminal's 'podman run --name', can then match what a process in the box reports: the Herdr cockpit uses it to give each agent in a project its own status file instead of a shared one. Co-Authored-By: Claude Fable 5.2 --- AGENTS.md | 2 +- docs/architecture.md | 1 + lib/box-common.sh | 6 +++++- tests/golden/ccbox-all-opts.txt | 1 + tests/golden/ccbox-default.txt | 1 + tests/golden/ccbox-explicit.txt | 1 + tests/golden/ccbox-mount.txt | 1 + tests/golden/ccbox-no-github.txt | 1 + tests/golden/ccbox-safe-mode-args.txt | 1 + tests/golden/ccbox-settings-env.txt | 1 + tests/golden/ccbox-settings.txt | 1 + tests/golden/ccbox-shell.txt | 1 + tests/golden/ccbox-tmux.txt | 1 + tests/golden/clipboard-selinux.txt | 1 + tests/golden/clipboard-wayland.txt | 1 + tests/golden/cxbox-all-opts.txt | 1 + tests/golden/cxbox-args.txt | 1 + tests/golden/cxbox-default.txt | 1 + tests/golden/memory-absolute-live.txt | 1 + tests/golden/memory-env-off.txt | 1 + tests/golden/memory-flag-off.txt | 1 + tests/golden/memory-percent.txt | 1 + tests/golden/memory-unavailable.txt | 1 + tests/golden/ocbox-all-opts.txt | 1 + tests/golden/ocbox-args.txt | 1 + tests/golden/ocbox-default.txt | 1 + tests/golden/ompbox-all-opts.txt | 1 + tests/golden/ompbox-args.txt | 1 + tests/golden/ompbox-default.txt | 1 + tests/golden/ompbox-profile-env.txt | 1 + tests/golden/ompbox-profile.txt | 1 + tests/golden/qcbox-all-opts.txt | 1 + tests/golden/qcbox-default.txt | 1 + 33 files changed, 37 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2e6a657..7ffab02 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -288,7 +288,7 @@ The launchers also run inside a long-lived pod (`docs/kubernetes.md`): the pod i - **Firewall**: Optional, requires `NET_ADMIN` and `NET_RAW` capabilities - **Memory budget**: Podman sessions of all launchers run in one shared systemd user slice (`codebox.slice` via `--cgroup-parent`), generated by `setup_memory_budget` in `lib/box-common.sh` from `CODEBOX_MEMORY_MAX` (default `80%`, `off` disables) / `CODEBOX_MEMORY_HIGH` (default 90% of max) / `CODEBOX_MEMORY_SWAP_MAX` (default `2G`) / `CODEBOX_SLICE`; `--no-memory-limit` opts one session out. Skipped with a warning when cgroup v2, a delegated systemd user session or the systemd cgroup manager is missing; not used by the Apptainer backend (the pod limit applies) - **Project Isolation**: Each project gets its own history and session data (`~/.claude/ccbox-projects/` for ccbox, `~/.local/share/ocbox-projects/` for ocbox, `~/.qwen/qcbox-projects/` for qcbox, `~/.codex/cxbox-projects/` for cxbox, `~/.omp/ompbox-projects/` for ompbox) -- **Multi-Session**: Multiple sessions can run simultaneously per project, each with a unique container name (`{box}-{project}-{hash}-{session-id}`) +- **Multi-Session**: Multiple sessions can run simultaneously per project, each with a unique container name (`{box}-{project}-{hash}-{session-id}`), also set inside the container as `CODEBOX_SESSION` (both runtimes) - **Per-harness mounts**: the mounts listed above are ccbox's (`.credentials.json` is opt-in via `ccbox --with-credentials`). ocbox mounts `~/.config/opencode` (shared config), a per-project data dir as `~/.local/share/opencode`, and a shared `~/.cache/opencode`; the shared `auth.json` is opt-in via `ocbox --with-credentials` (mounted on top of the per-project data dir). qcbox mounts shared `~/.qwen/{settings.json,QWEN.md}` plus per-project `projects/` (chat transcripts, enables `qwen --resume`), `tmp/`, and `file-history/` dirs; `oauth_creds.json` is opt-in via `qcbox --with-credentials`. cxbox mounts a per-project data dir as the entire `~/.codex` (sessions, state DB, memories, goals) and copies the shared `config.toml` into it at launch (refreshed whenever the host file changed; not bind-mounted because Codex saves config edits via rename, which fails on a file mount); `auth.json` is opt-in via `cxbox --with-credentials` (mounted on top of the per-project data dir). ompbox mounts a per-project agent dir as `~/.omp/agent` (agent.db, sessions, blobs, history, plus a `config.yml` copy seeded and refreshed from the shared file like cxbox's `config.toml`), bind-mounts the shared config directories (`commands rules prompts instructions skills hooks tools extensions`) read-write from the host `~/.omp/agent`, and bind-mounts the shared config files (`SYSTEM.md APPEND_SYSTEM.md RULES.md TITLE_SYSTEM.md AGENTS.md models.yml mcp.json keybindings.json`) read-only when present on the host; `~/.omp/.env` and `~/.omp/agent/.env` are opt-in via `ompbox --with-credentials` (both read-only). `ompbox --profile ` selects a host-side account profile from `~/.omp/profiles//` shared across projects: its `config.yml` becomes the source of the per-project config copy (per-profile sync snapshot; profile switches replace the in-container copy), and its `.env`/`models.yml`, when present, replace the shared `agent/.env`/`models.yml` mounts for that run (see docs/usage.md "Account Profiles"). Workspace, credentials (`--with-credentials`, per harness), gcloud (opt-in `--with-gcloud`), gitconfig (opt-in `--with-gitconfig`), extra directories (opt-in `--mount`), clipboard, audio, timezone, npm-global, and GitHub token mounts are common to all launchers (handled by `lib/box-common.sh` and the harness wrappers). - **Credentials / what actually reaches the container**: `--with-credentials` controls **only** the dedicated credential store file. The main config is **always** mounted, so any key stored there (an `"env"` block or a provider `apiKey`/`envKey`) is passed regardless of the flag. Each launcher also forwards host env vars matching its prefix list (see `ENV_PASSTHROUGH_REGEX` in each wrapper): ccbox `ANTHROPIC_*`/`CLAUDE_CODE_*`/`CLAUDE_AX_*`/`CLAUDE_ENABLE_*`/`CLAUDE_AUTOCOMPACT_*`, ocbox `OPENCODE_*`/`ANTHROPIC_*`/`OPENAI_*`/`OPENROUTER_*`/`GEMINI_*`/`GOOGLE_*`/`AZURE_*`/`DEEPSEEK_*`/`MISTRAL_*`/`XAI_*`/`GROQ_*`, qcbox `QWEN_*`/`OPENAI_*`/`DASHSCOPE_*`/`BAILIAN_*`/`MODELSCOPE_*`/`OPENROUTER_*`/`ANTHROPIC_*`/`GEMINI_*`/`GOOGLE_*`, cxbox `CODEX_*`/`OPENAI_*`/`OPENROUTER_*`/`ANTHROPIC_*`/`GEMINI_*`/`GOOGLE_*`/`AZURE_*`/`DEEPSEEK_*`/`MISTRAL_*`/`XAI_*`/`GROQ_*`, ompbox `OMP_*`/`PI_*` (except the state-relocating `PI_CODING_AGENT_DIR`/`PI_CONFIG_DIR`/`PI_CONFIG_FILES`/`PI_PROFILE`/`OMP_PROFILE`/`PI_INSTALL_DIR`)/`ANTHROPIC_*`/`OPENAI_*`/`OPENROUTER_*`/`GEMINI_*`/`GOOGLE_*`/`AZURE_*`/`DEEPSEEK_*`/`MISTRAL_*`/`XAI_*`/`GROQ_*`/`QWEN_*`/`DASHSCOPE_*`/`COPILOT_*`, plus specific vars (e.g. `AWS_*`). So a container is only credential-free if *neither* the always-mounted config *nor* a forwarded env var carries a key. Per-project overrides that stay out of the shared home dir: ccbox `.claude/settings{,.local}.json`, ocbox `opencode.json` in the project root, qcbox `.qwen/settings.json` + `.qwen/.env` in the project, cxbox `AGENTS.md` in the project root (via the workspace mount), ompbox `.omp/` in the project root plus `AGENTS.md`. Full per-launcher tables live in `docs/usage.md` (API Provider Configuration + Credentials) and `docs/architecture.md` (Per-Harness Mounts). diff --git a/docs/architecture.md b/docs/architecture.md index af1bca5..c760320 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -62,6 +62,7 @@ The wrappers locate the engine relative to their (symlink-resolved) location, su - **PID 1**: `--init` runs catatonit as PID 1 to reap orphaned processes; the harness does not reap them, so as PID 1 it would leave zombies holding slots of the container's pids limit until the container stops - **Logging**: `--log-driver=none`, so the interactive session's terminal output (and anything shown in it) is not copied into the journal; `podman logs` is therefore empty for these containers - **Container name**: `{box}-{project}-{hash}-{session-id}` — multiple sessions can run simultaneously in the same project, sharing project data +- **Session name inside the container**: `CODEBOX_SESSION` holds the container name, with both runtimes, so a process in the box can tell which session it is (the hostname is the launcher's name, and Podman fills `/run/.containerenv` only for privileged containers). Tools outside the box that read the name from `podman run --name` can match it, e.g. to give each session its own status file - **Firewall**: optional (`--with-firewall`), iptables/ipset allowlist, requires `NET_ADMIN`/`NET_RAW` (added automatically), Linux only - **Memory budget**: every Podman session of every launcher joins one systemd user slice (`codebox.slice`, `--cgroup-parent`), generated from `CODEBOX_MEMORY_MAX` / `_HIGH` / `_SWAP_MAX` (defaults 80% of RAM / 90% of that / 2G), so all agents share one budget and are throttled and OOM-killed inside it rather than freezing the host; skipped with a warning when cgroup v2, a delegated user session or the systemd cgroup manager is missing (see [usage.md](usage.md#memory-budget)) diff --git a/lib/box-common.sh b/lib/box-common.sh index 926e166..24b088d 100644 --- a/lib/box-common.sh +++ b/lib/box-common.sh @@ -860,7 +860,6 @@ apptainer_rt_render() { ;; esac done - export "APPTAINERENV_CODEBOX_SESSION=${CONTAINER_NAME}" if ! $NEEDS_SHELL; then RUN_ARGS+=("$IMAGE_REF" "$HARNESS_CLI" "${EXTRA_ARGS[@]}") @@ -1544,6 +1543,11 @@ box_main() { # Session spec: workspace and basic environment add_env PROJECT_NAME "$(basename "$WORKSPACE_DIR")" + # The session's own name (the container name), so a process inside can + # tell which session it is. Nothing else in the container carries it: + # the hostname is the launcher's, and Podman fills /run/.containerenv + # only for privileged containers. + add_env CODEBOX_SESSION "$CONTAINER_NAME" add_mount "$WORKSPACE_DIR" /workspace add_env TERM "${TERM:-xterm-256color}" add_env LANG "${LANG:-C.UTF-8}" diff --git a/tests/golden/ccbox-all-opts.txt b/tests/golden/ccbox-all-opts.txt index 019fac7..1e201e2 100644 --- a/tests/golden/ccbox-all-opts.txt +++ b/tests/golden/ccbox-all-opts.txt @@ -10,6 +10,7 @@ -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 -e CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-default.txt b/tests/golden/ccbox-default.txt index 9b56ac2..baf4b55 100644 --- a/tests/golden/ccbox-default.txt +++ b/tests/golden/ccbox-default.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-explicit.txt b/tests/golden/ccbox-explicit.txt index 0d6f891..b67b72a 100644 --- a/tests/golden/ccbox-explicit.txt +++ b/tests/golden/ccbox-explicit.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_explicit -e GITHUB_TOKEN=ghp_explicit -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-mount.txt b/tests/golden/ccbox-mount.txt index 786ccf9..1120793 100644 --- a/tests/golden/ccbox-mount.txt +++ b/tests/golden/ccbox-mount.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-no-github.txt b/tests/golden/ccbox-no-github.txt index 44ed8f2..80fc58b 100644 --- a/tests/golden/ccbox-no-github.txt +++ b/tests/golden/ccbox-no-github.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e LANG=C.UTF-8 -e NO_COLOR=1 -e PROJECT_NAME=demo diff --git a/tests/golden/ccbox-safe-mode-args.txt b/tests/golden/ccbox-safe-mode-args.txt index 9c0eb72..d812562 100644 --- a/tests/golden/ccbox-safe-mode-args.txt +++ b/tests/golden/ccbox-safe-mode-args.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-settings-env.txt b/tests/golden/ccbox-settings-env.txt index 781fb76..a1ecafe 100644 --- a/tests/golden/ccbox-settings-env.txt +++ b/tests/golden/ccbox-settings-env.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-settings.txt b/tests/golden/ccbox-settings.txt index 781fb76..a1ecafe 100644 --- a/tests/golden/ccbox-settings.txt +++ b/tests/golden/ccbox-settings.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-shell.txt b/tests/golden/ccbox-shell.txt index be222ba..9d19ac5 100644 --- a/tests/golden/ccbox-shell.txt +++ b/tests/golden/ccbox-shell.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ccbox-tmux.txt b/tests/golden/ccbox-tmux.txt index d339314..7da67db 100644 --- a/tests/golden/ccbox-tmux.txt +++ b/tests/golden/ccbox-tmux.txt @@ -8,6 +8,7 @@ -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 -e CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/clipboard-selinux.txt b/tests/golden/clipboard-selinux.txt index f2a4efd..84e5137 100644 --- a/tests/golden/clipboard-selinux.txt +++ b/tests/golden/clipboard-selinux.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/clipboard-wayland.txt b/tests/golden/clipboard-wayland.txt index 3a1b9ff..6f0a5cf 100644 --- a/tests/golden/clipboard-wayland.txt +++ b/tests/golden/clipboard-wayland.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/cxbox-all-opts.txt b/tests/golden/cxbox-all-opts.txt index 88c7a59..097bd8c 100644 --- a/tests/golden/cxbox-all-opts.txt +++ b/tests/golden/cxbox-all-opts.txt @@ -9,6 +9,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=cxbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/cxbox-args.txt b/tests/golden/cxbox-args.txt index 77bc2d8..66bf93d 100644 --- a/tests/golden/cxbox-args.txt +++ b/tests/golden/cxbox-args.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=cxbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/cxbox-default.txt b/tests/golden/cxbox-default.txt index 49e27fe..2e72f4f 100644 --- a/tests/golden/cxbox-default.txt +++ b/tests/golden/cxbox-default.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=cxbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/memory-absolute-live.txt b/tests/golden/memory-absolute-live.txt index 312ead4..6d1b73b 100644 --- a/tests/golden/memory-absolute-live.txt +++ b/tests/golden/memory-absolute-live.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/memory-env-off.txt b/tests/golden/memory-env-off.txt index 8863192..05ae550 100644 --- a/tests/golden/memory-env-off.txt +++ b/tests/golden/memory-env-off.txt @@ -6,6 +6,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=cxbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/memory-flag-off.txt b/tests/golden/memory-flag-off.txt index d591008..aad94a3 100644 --- a/tests/golden/memory-flag-off.txt +++ b/tests/golden/memory-flag-off.txt @@ -6,6 +6,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ccbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/memory-percent.txt b/tests/golden/memory-percent.txt index 6008886..be4a407 100644 --- a/tests/golden/memory-percent.txt +++ b/tests/golden/memory-percent.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/memory-unavailable.txt b/tests/golden/memory-unavailable.txt index 0f4f682..e9398df 100644 --- a/tests/golden/memory-unavailable.txt +++ b/tests/golden/memory-unavailable.txt @@ -5,6 +5,7 @@ --rm --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub +-e CODEBOX_SESSION=qcbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ocbox-all-opts.txt b/tests/golden/ocbox-all-opts.txt index 46c524e..2aa7e01 100644 --- a/tests/golden/ocbox-all-opts.txt +++ b/tests/golden/ocbox-all-opts.txt @@ -9,6 +9,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ocbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ocbox-args.txt b/tests/golden/ocbox-args.txt index 9992c86..a833149 100644 --- a/tests/golden/ocbox-args.txt +++ b/tests/golden/ocbox-args.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ocbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ocbox-default.txt b/tests/golden/ocbox-default.txt index bfda9e8..2e6f94f 100644 --- a/tests/golden/ocbox-default.txt +++ b/tests/golden/ocbox-default.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ocbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ompbox-all-opts.txt b/tests/golden/ompbox-all-opts.txt index e38cd45..bf0d111 100644 --- a/tests/golden/ompbox-all-opts.txt +++ b/tests/golden/ompbox-all-opts.txt @@ -9,6 +9,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ompbox-args.txt b/tests/golden/ompbox-args.txt index 96b5fe6..a6d1864 100644 --- a/tests/golden/ompbox-args.txt +++ b/tests/golden/ompbox-args.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ompbox-default.txt b/tests/golden/ompbox-default.txt index 9c00595..e3eeff0 100644 --- a/tests/golden/ompbox-default.txt +++ b/tests/golden/ompbox-default.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ompbox-profile-env.txt b/tests/golden/ompbox-profile-env.txt index 050518c..72bd06f 100644 --- a/tests/golden/ompbox-profile-env.txt +++ b/tests/golden/ompbox-profile-env.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/ompbox-profile.txt b/tests/golden/ompbox-profile.txt index 78b82a6..8d519eb 100644 --- a/tests/golden/ompbox-profile.txt +++ b/tests/golden/ompbox-profile.txt @@ -7,6 +7,7 @@ --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub -e AWS_REGION=eu-west-1 +-e CODEBOX_SESSION=ompbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/qcbox-all-opts.txt b/tests/golden/qcbox-all-opts.txt index fbbc5ae..0647c3b 100644 --- a/tests/golden/qcbox-all-opts.txt +++ b/tests/golden/qcbox-all-opts.txt @@ -8,6 +8,7 @@ --rm --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub +-e CODEBOX_SESSION=qcbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8 diff --git a/tests/golden/qcbox-default.txt b/tests/golden/qcbox-default.txt index ff5ae45..020a4bf 100644 --- a/tests/golden/qcbox-default.txt +++ b/tests/golden/qcbox-default.txt @@ -6,6 +6,7 @@ --rm --userns=keep-id:uid=1000,gid=1000 -e ANTHROPIC_API_KEY=anthropic-stub +-e CODEBOX_SESSION=qcbox-demo-HASH-SESSION -e GH_TOKEN=ghp_stubtoken -e GITHUB_TOKEN=ghp_stubtoken -e LANG=C.UTF-8