Repeated context compaction and reconnection disrupt active threads

Open 💬 3 comments Opened Aug 24, 2026 by dmliu16
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.818.41509

What subscription do you have?

Plus

What platform is your computer?

macOS

What issue are you seeing?

Summary

During an active, multi-step coding workflow, this Codex thread repeatedly compacted context and reconnected. This disrupted continuity within the same thread.

Expected behavior

After compaction or a reconnect, the active task should retain enough context to continue naturally without requiring me to restate prior decisions, progress, and instructions.

Actual behavior

The conversation repeatedly lost practical continuity after context compaction/reconnection. I had to re-establish what had already been completed and what the active task was.

Context

  • This occurred during a long, iterative coding workflow.
  • The thread included screenshots, repository context, and step-by-step implementation guidance.
  • The issue was not a deliberate new chat or task change.
  • It happened multiple times in the same ongoing thread.

Impact

This makes long-running work unreliable because I need to repeatedly reconstruct task context and verify prior work instead of continuing from the existing conversation state.

What steps can reproduce the bug?

  1. Start a Codex thread for a multi-step coding task.
  2. Continue the task across many messages, including screenshots, repository context, and iterative follow-up instructions.
  3. Keep working in the same thread rather than starting a new one.
  4. After Codex compacts context or reconnects, continue the task.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #38931

Powered by Codex Action

dmliu16 · 4 days ago

<img width="946" height="716" alt="Image" src="https://github.com/user-attachments/assets/734fcd14-7dee-4973-9d51-7d6a83e78af2" />
it compacts multiple times per session, and occasionally it would be fine for a couple sessions then this happens again

dmliu16 · 1 day ago

<img width="814" height="1009" alt="Image" src="https://github.com/user-attachments/assets/7d65b8cc-5f2a-4d16-af02-08a1531f4ac4" />
unusable