Skip to content

Show read-only conversations when resume encounters an active writer - #43253

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fa864cc73143cad9139c22e33b7958569eec20cf
Sep 6, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fa864cc73143cad9139c22e33b7958569eec20cf

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Show read-only conversations when resume encounters an active writer

Why

Resuming a conversation that is open in another app fails with an active-writer error. Allow users to inspect its transcript and retry after closing it in the other app.

What changed

  • Fall back to a read-only history snapshot on active-writer conflicts during startup and session selection.
  • Replace the composer with an explanatory notice, R to retry, exit shortcuts, and the configured transcript shortcut.
  • Block input and freeze active command and MCP animations while viewing the snapshot. Preserve initial prompts and existing drafts for a successful retry.
  • Keep the subscription when retrying the same thread and preserve read-only state across thread switches and reconnects.

Testing

Add regression tests for conflict detection, history viewing, draft preservation, same-thread retry without unsubscribing, exit shortcuts, and notice and frozen-tool rendering.

…43253)

## Why

Resuming a conversation that is open in another app fails with an active-writer error. Allow users to inspect its transcript and retry after closing it in the other app.

## What changed

- Fall back to a read-only history snapshot on active-writer conflicts during startup and session selection.
- Replace the composer with an explanatory notice, `R` to retry, exit shortcuts, and the configured transcript shortcut.
- Block input and freeze active command and MCP animations while viewing the snapshot. Preserve initial prompts and existing drafts for a successful retry.
- Keep the subscription when retrying the same thread and preserve read-only state across thread switches and reconnects.

## Testing

Add regression tests for conflict detection, history viewing, draft preservation, same-thread retry without unsubscribing, exit shortcuts, and notice and frozen-tool rendering.

GitOrigin-RevId: fa864cc73143cad9139c22e33b7958569eec20cf
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/fa864cc73143cad9139c22e33b7958569eec20cf branch from d3f7089 to 4aec233 Compare September 6, 2026 17:28
@copyberry
copyberry Bot merged commit 4aec233 into main Sep 6, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/fa864cc73143cad9139c22e33b7958569eec20cf branch September 6, 2026 17:30
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 6, 2026

This branch was previously deployed

1 inactive deployment
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.

7 participants