If Codex stops at Reconnecting 5/5, check the files it already changed, then try a short prompt in a fresh Codex chat. That comparison tells you whether to focus on the old conversation or investigate the extension, account, and connection. If the failing message mentions remote compaction, record that part of the error too.
Check what Codex finished before it disconnected
In the same working directory, run these read-only Git checks.
git status --short
git diff --stat
git diff --cached --stat
Open the actual diff for files you plan to keep. git status --short also shows untracked files, whose contents won’t appear in git diff. Files can already be on disk even when Codex never finishes its reply. In the November 4 VS Code report, the extension displayed file edits and command activity before the conversation failed. VS Code report on GitHub
Try the same account and model in a fresh chat
Keep the original chat available. In a new Codex chat in the same workspace, choose the same model if possible and ask it to reply with a short confirmation without running tools. If it returns a response, compare with the exact error in the old chat. A related CLI report documents a long chat failing remote compaction while fresh conversations worked. Codex remote-compaction report
| Result | Next step |
|---|---|
| Fresh chat works and the old chat fails at compaction | Continue work from a short handoff in the fresh chat. Keep the old history for reference. |
| Fresh and old chats both fail in VS Code | Check OpenAI Status and try a fresh request through another Codex client on the same account and model, if available. |
| Another client works and the VS Code extension still fails | Record both versions. Save local work, reload the VS Code window, and recheck the extension’s sign-in account, workspace, and whether it is running locally or in WSL. |
| Multiple clients fail or say model access cannot be verified | Check account and workspace access, model availability, and any matching incident. If the problem persists, include the exact error and time in a report. |
Keep your network and model the same for the first comparison so you can tell which variable changed. If only one network fails, review its approved proxy or network setup. Codex IDE settings · Codex on WSL
Continue without repeating the interrupted changes
Give the new chat a short handoff with the goal, branch, files already changed, and what still needs testing. Tell it to inspect the current diff before editing. A prompt like this gives it a clear starting point.
Continue the import fix on the current branch. Inspect the existing diff first. Keep the parser and types changes already on disk. The export test still needs to run. Tell me what you find before editing.
Use the original thread for decisions you need to recover. If it repeatedly errors during remote compaction, the new thread lets you work while you investigate the old one.
What to include in a bug report
Record the VS Code and Codex extension versions, Windows build, local or WSL environment, model, exact error, and approximate time with time zone. Include the result of the fresh-chat test. The November 4 report named the environment but didn’t capture the exact extension version or establish the cause. A separate November 12 report reproduced long-chat failures with standalone Codex CLI 0.167.2 on Windows. That version belongs to the CLI report. VS Code report · Windows desktop and CLI report
Frequently asked questions
Does Reconnecting 5/5 mean OpenAI is down?
It means your chat reached the last displayed retry. Check OpenAI Status and the fresh-chat test to learn how broadly the problem affects you.
Did Codex lose my edits when it disconnected?
Inspect the working tree. Edits already written can still be there. Check their contents and run the relevant tests before using them.