Skip to content

Report selected environment connection transitions - #33251

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5dd767372363c4a2a8319fc16164be117d5bd20c
Jul 15, 2026
Merged

Report selected environment connection transitions#33251
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5dd767372363c4a2a8319fc16164be117d5bd20c

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Report selected environment connection transitions

What changed

  • Track connected and disconnected states across initial remote exec-server connections and reconnection attempts.
  • Emit experimental thread/environment/connected and thread/environment/disconnected app-server notifications for each thread selecting the environment. Each payload identifies the thread and environment; current state is not replayed when a thread starts.
  • Stop forwarding connection events when an environment selection is removed or replaced.

Testing

  • Cover connection, disconnection, reconnection, shared-environment notifications, and replacement of a selected environment.

## What changed

- Track connected and disconnected states across initial remote exec-server connections and reconnection attempts.
- Emit experimental `thread/environment/connected` and `thread/environment/disconnected` app-server notifications for each thread selecting the environment. Each payload identifies the thread and environment; current state is not replayed when a thread starts.
- Stop forwarding connection events when an environment selection is removed or replaced.

## Testing

- Cover connection, disconnection, reconnection, shared-environment notifications, and replacement of a selected environment.

GitOrigin-RevId: 5dd767372363c4a2a8319fc16164be117d5bd20c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5dd767372363c4a2a8319fc16164be117d5bd20c branch from 000ccdd to 3afbd8d Compare July 15, 2026 05:22
@copyberry
copyberry Bot merged commit 3afbd8d into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5dd767372363c4a2a8319fc16164be117d5bd20c branch July 15, 2026 05:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
@YCX81
YCX81 temporarily deployed to issue-triage July 15, 2026 05:29 — with GitHub Actions Inactive
@YCX81
YCX81 temporarily deployed to issue-triage July 15, 2026 05:29 — with GitHub Actions Inactive
@YCX81
YCX81 temporarily deployed to issue-triage July 15, 2026 05:29 — with GitHub Actions Inactive
@YCX81
YCX81 temporarily deployed to issue-triage July 15, 2026 05:30 — with GitHub Actions Inactive
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.

4 participants