codex - 💡(How to fix) Fix [CLI] Windows: Intermittent infinite scroll animation loop when resuming long conversations after heavy usage

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

<!-- Replace with your version, run `codex --version` -->

(Intermittent issue — version not recorded at time of report)

What subscription do you have?

(Not recorded)

Which model were you using?

(Not recorded)

What platform is your computer?

Windows 11 Home China 10.0.22631

What issue are you seeing?

On Windows, after a period of heavy/high-frequency usage (accumulating a very long conversation history, likely 9000+ messages), resuming a conversation via codex resume or codex continue can trigger an infinite scroll animation loop. The UI gets stuck continuously scrolling with no way to recover except killing the process.

This appears to be an intermittent issue — it does not happen on every resume. It seems to be triggered after prolonged, intensive usage over an extended period rather than by a single conversation alone. The exact trigger condition is unclear.

What steps can reproduce the bug?

  1. Use Codex CLI intensively over a long period (many conversations, accumulating thousands of messages per session)
  2. Close a session after a long conversation (9000+ messages)
  3. Resume the session using codex resume or codex continue
  4. In some cases, the UI enters an infinite scroll animation loop immediately or shortly after resuming

Note: The bug is intermittent — it does not reproduce on every resume. It only appears after a period of heavy, sustained usage. Exact reproduction steps are unclear.

What is the expected behavior?

After resuming a long conversation, the UI should properly render the conversation history and settle at the bottom, allowing normal interaction.

What is the actual behavior?

The UI enters an infinite scroll loop — the scroll position continuously changes, making the app unusable. The only recovery is to kill the process.

Additional notes

  • This may be related to the viewport/recalculation issues described in #25430 (interactive picker hangs/freezes when session files are large), but manifests as a scroll animation loop rather than a complete freeze
  • The intermittent nature suggests it could be a race condition triggered by the accumulated state of long-running sessions
  • Shorter conversations resume without problems — the issue is specific to very long conversation histories
  • The trigger is the combination of long history + extended heavy usage, not just history length alone

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING