Windows Desktop 26.623 silently destroys/relaunches AppX container after resuming long-running threads
Summary
Codex Desktop on Windows Store build 26.623.19656.0 silently closes/restarts. Windows AppModel logs show the Codex Desktop AppX container being destroyed and later relaunched, but there is no matching Codex fatal log, Windows Application Error, Windows Error Reporting app crash, local CrashDump, or Crashpad report.
This became visible after the July 8 update and appears correlated with resuming/switching between several long-running Codex threads that had interrupted turns and browser-use/IAB state. I am marking that as a hypothesis rather than a confirmed root cause.
Environment
- Product: Codex Desktop, Windows Store/MSIX package
- Package:
OpenAI.Codex_26.623.19656.0_x64__2p2nqsd0c76g0 - Package version:
26.623.19656.0 - App package family:
OpenAI.Codex_2p2nqsd0c76g0 - Platform: Windows 11 Home, x64
- OS version/build:
10.0.26200, build26200 - Browser-use release observed in logs:
26.623.141536 - Bundled Node observed in logs:
v24.14.0
Observed timeline
Local time zone: Asia/Shanghai.
Confirmed silent container close/relaunch:
2026-07-08 21:31:57: AppModel created Codex process15648forOpenAI.Codex_2p2nqsd0c76g0!App.2026-07-08 21:38:39: latest Codex desktop log for that session ended on normal-lookingthread/listandthread/turns/listresponses.2026-07-08 21:38:42: AppModel-Runtime event217: Codex Desktop AppX container destroyed.- No matching Windows Application Error, WER app crash, local CrashDump, or Crashpad report was found.
Second confirmed silent close/relaunch:
2026-07-08 22:22:30: AppModel created Codex process10152.2026-07-08 22:30:51: latest Codex desktop log for that session ended on normal-lookingthread/turns/listandthread/listresponses.2026-07-08 22:30:55: AppModel-Runtime event217: Codex Desktop AppX container destroyed.2026-07-08 22:31:00: AppModel created a new Codex process26184.- Again, no matching Windows Application Error, WER app crash, local CrashDump, or Crashpad report was found.
Earlier related fatal plugin/app-server event on the same build:
2026-07-08 08:34:57: Codex desktop log showedfailed to load plugin: missing or invalid plugin.json.- Plugin:
openai-developers@openai-curated-remote - Cached path:
%USERPROFILE%\.codex\plugins\cache\openai-curated-remote\openai-developers\1.2.3 - Codex CLI/app-server process exited unexpectedly with code
1073807364. - A stale/broken plugin cache directory was locally quarantined afterward. After that workaround, this exact fatal plugin error did not reappear, but the silent AppX container destroy/relaunch still happened.
Correlated state before the 22:30 close
The desktop logs immediately before the 22:30 AppX container destroy showed repeated activity around:
thread_stream_view_activity_changedmaybe_resume_started/maybe_resume_successIAB_LIFECYCLEbrowser_use_iab_backend_startup_*- repeated
thread/turns/list turn/start
Local thread state showed three long-running user threads updated within minutes/seconds before the close, and those threads had browser/search or interrupted-turn style activity. After not reopening those three long-running threads, the current Codex session stayed up at least through the initial observation window. This is only a correlation, not a confirmed root cause.
Expected behavior
Codex Desktop should not silently close/restart because of stale or long-running thread state. If an unrecoverable app-server or renderer failure happens, it should leave a clear fatal log, crash artifact, or diagnostic message.
Actual behavior
The user sees Codex Desktop close unexpectedly. AppModel shows the AppX container being destroyed and later recreated. Codex desktop logs end on normal-looking request routing lines, and no obvious crash artifact is produced.
Diagnostics already checked
Microsoft-Windows-AppModel-Runtime/Admin: shows AppX container destroy/relaunch.- Windows
Applicationlog: no CodexApplication Erroror WER app crash around the events. - Windows
Systemlog: no matching Windows reboot/shutdown for these events. - Crashpad reports directory: empty for these incidents.
%LOCALAPPDATA%\CrashDumps: no recent Codex dump found.- Codex desktop logs: no
fatal_error_broadcastedorCodex CLI process exitedaround the silent 21:38 and 22:30 AppX container destroys.
Related issues
This may be related to:
- #21774
- #26440
- #30884
The distinguishing detail here is that Store build 26.623.19656.0 repeatedly had AppModel 217 AppX container destruction with no crash artifact, after one earlier plugin-cache fatal had already been locally worked around.
Redactions
I intentionally omitted raw local usernames, full local thread titles, account IDs, raw prompts/responses, and full log files. I can provide specific sanitized log excerpts if they would help.
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Update after filing: reproduced again on 2026-07-08 around 22:48 Asia/Shanghai.
This time the app was not running the three old threads simultaneously. The user opened one old long-running thread whose UI history appeared almost empty/missing. The local thread metadata still existed, but the desktop UI only appeared to recover a very small recent turn set.
Timeline and evidence:
thread/readfor the affected conversation returned witherrorCode=null.thread/resumereturned witherrorCode=null; the desktop log then showedmaybe_resume_success ... latestTurnStatus=interrupted ... turnCount=5and IAB/browser-use route capture for the same conversation.thread/turns/listfor that same conversation every ~11-15 seconds, each witherrorCode=null.thread/readfor the same conversation returned witherrorCode=null.thread/turns/list, followed by a normalthread/list.OpenAI.Codex_26.623.19656.0_x64__2p2nqsd0c76g0.The local watchdog captured the event and saved a tail snapshot at:
C:\Users\tangt\Desktop\codex-crash-watch\tail-20260708-224809.logThe previous-process desktop log for this reproduction was:
C:\Users\tangt\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\2026\07\08\codex-desktop-d88f88bc-c51d-4b2d-bbd8-aa92a92fc369-26184-t0-i1-143101-0.logThis makes the correlation stronger: resuming or loading history for an old, long-running, interrupted thread with browser-use/IAB state appears to trigger a silent desktop container teardown/relaunch. The user's project files are not deleted, but the desktop UI may render the old thread history as nearly empty before the relaunch.
Severity escalation: current 26.707.8479.0 silently terminated at least four times today
This failure remains reproducible in the current Microsoft Store Windows package:
I separated Store-update exits from unexpected exits using AppModel event IDs 42/201/210/211/217, package versions, main-process log PIDs, and each log's final line. The three confirmed package-update transitions at 09:07, 15:06, and 16:05 are not counted below.
High-confidence abnormal exits
| Time | Main PID | Final local evidence | AppModel result |
|---|---:|---|---|
| 15:07:22 | 40252 | log stopped after only ~34 seconds; no quit/update/clean-exit marker | event 217 destroyed the AppX container |
| 16:00:16 | 10192 | final line:
Recoverable Chromium child process gone exitCode=-1 processType=GPU reason=crashed| event 217 destroyed the container; new main process created at 16:00:18 || 16:02:40 | 5536 | final line: bundled plugin reconciliation failed because
Codex app-server is not available| event 217 destroyed the container; new main process created at 16:02:55 || 16:35:39 | 31492 | final line was a completed
thread/turns/listresponse with durationMs=11632; no shutdown marker | event 217 destroyed the container; new main process created at 16:36:13 |There was one additional container exit at 16:01:32 whose preceding log contained an orderly
stop_process/ app-server transport shutdown. I am not counting that as a crash without stronger evidence.This means the defensible count is at least four abnormal full-AppX exits in roughly 90 minutes, not counting updates or the ambiguous orderly restart.
The newest exit matches this issue's original failure shape
The 16:35 event happened during normal Codex use. The previous process's final logged operation was:
Approximately 1.85 seconds later, AppModel event 217 destroyed the entire Desktop AppX container. The UI disappeared while the user was actively conversing. A new process was created 34 seconds later.
This strongly matches the earlier reports in this issue where long-running thread hydration repeatedly reaches
thread/turns/list, the log ends on an apparently successful response, and the AppX container silently disappears seconds later.I am treating the history correlation as evidence, not yet claiming that every exit has one root cause. The 16:00 event independently proves a Chromium GPU child crash; the 16:02 event proves app-server unavailability immediately before another full-container loss.
Crash diagnostics are still missing
For all four abnormal exits, current checks found:
%LOCALAPPDATA%\CrashDumpsThe absence of a dump is not evidence that the app did not crash. AppModel proves the container was destroyed and recreated, while the user directly observed the UI disappear. It means the product's crash-reporting path is failing to preserve actionable evidence for this failure class.
User impact and requested action
This is no longer an occasional inconvenience. The app terminated repeatedly during one development session, interrupted active conversations, and forced the user to wait for automatic relaunch/recovery. A development tool cannot be considered stable when its entire UI/container can disappear four times in 90 minutes without a diagnostic artifact.
Please prioritize:
tail_history/thread/turns/listwork;Related current-build evidence:
This issue should not be treated as resolved merely because Windows produced no conventional WER entry. The silent-exit behavior is continuing on the latest build.
Current-build recurrence: at least four abnormal AppX exits in ~90 minutes
This is the same silent-close/relaunch failure shape, now reproduced on the current Microsoft Store package:
I kept the existing process state intact and correlated AppModel-Runtime events with the final lines of each Codex Desktop log. I am deliberately separating package-update transitions and a stop-marked restart from abnormal exits.
Abnormal exits
``
``Recoverable Chromium child process gone
exitCode=-1 processType=GPU reason=crashed
The AppX container was destroyed immediately afterward.
Codex app-server is not available; the AppX container was destroyed at the same time.thread/turns/listresponse that took 11,632 ms. The container was destroyed at 16:35:39 and a new package process appeared at 16:36:13.A separate 16:01:32 restart had an explicit
stop_processmarker and is not counted as a crash. The 09:07, 15:06, and 16:05 package transitions were also excluded as expected update lifecycle events.Diagnostic failure
For these current-build exits:
This is no longer an isolated historical report. A top-tier Windows development workstation saw four abnormal container deaths in roughly 90 minutes, including a confirmed Chromium GPU crash and a silent exit immediately after expensive local history work. The app provides no reliable crash artifact and no indication whether user work is safe.
Required fixes
thread/turns/list, repeated resume/navigation, GPU child loss, and app-server unavailability.The absence of WER does not make these events harmless. It means the product is failing without leaving the evidence users and maintainers need.
Additional concrete reproduction from #32904 on the same current build:
26.707.8479.00.144.2patch_apply_endrecord was 203,310,615 charactersapply_patchDelete Fileoperation that serialized the deleted file's full contents underpayload.changes.<path>.contentOpening the thread produced the same failure shape described here:
thread/readandthread/resumereturned successfully, the desktop log then ended without a fatal marker, and the whole app restarted seconds later with no WER or Crashpad artifact.This provides a specific, reproducible history-hydration trigger for at least one class of the silent container exits reported here: an unbounded patch-history payload transferred while resuming a thread. Suggested guardrails are to cap or omit deleted-file contents in
patch_apply_endand enforce per-record/per-field limits when reading legacy histories.Closing #32904 as a duplicate of this issue.
July 14 follow-up on current Windows build
This silent-container-close pattern reproduced repeatedly today on a newer Microsoft Store package:
OpenAI.Codex_26.707.8479.0_x64__2p2nqsd0c76g0The large persistent log database and very large resumed session may be relevant stressors, but I cannot establish causation. The absence of a fatal record or crash artifact remains the central diagnostic gap: the app can vanish repeatedly without preserving a user-facing reason or an actionable crash report.
After the restart, the same repository task completed successfully when work was kept to smaller bounded tool calls. Raw logs and transcripts are not attached because they contain local paths and task content; sanitized excerpts can be provided if maintainers identify the relevant log window or private upload channel.
Additional current macOS reproduction from #34003, matching the oversized-history failure isolated in #32904:
RangeError: Invalid string length, JSONL parser failures withlineBytes=1720880466and laterlineBytes=3453099188, plus the conversation-page React error boundary witherrorMessage="Invalid string length".This extends the byte-level evidence to macOS and the current desktop build. The original report and screenshot are in #34003. Full logs are not public because they contain local paths and task contents.