Skip to content

Expose the session ID to shell commands - #37848

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5228867d25507105c7edf11607a8298958c3b917
Aug 10, 2026
Merged

Expose the session ID to shell commands#37848
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5228867d25507105c7edf11607a8298958c3b917

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 10, 2026

Copy link
Copy Markdown

Expose the session ID to shell commands

What changed

  • Set CODEX_SESSION_ID to the shared root-session ID for shell tool calls,
    unified exec processes, and user shell commands.
  • Preserve CODEX_SESSION_ID when restoring a shell snapshot, alongside the
    existing runtime-owned environment variables.

## What changed

- Set `CODEX_SESSION_ID` to the shared root-session ID for shell tool calls,
  unified exec processes, and user shell commands.
- Preserve `CODEX_SESSION_ID` when restoring a shell snapshot, alongside the
  existing runtime-owned environment variables.

GitOrigin-RevId: 5228867d25507105c7edf11607a8298958c3b917
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5228867d25507105c7edf11607a8298958c3b917 branch from add9847 to 9772988 Compare August 10, 2026 17:03
@copyberry
copyberry Bot merged commit 9772988 into main Aug 10, 2026
24 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5228867d25507105c7edf11607a8298958c3b917 branch August 10, 2026 17:04
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants