codex - 💡(How to fix) Fix Windows Codex app crashes when clicking task completion notification

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…

Error Message

  • Package path shown in error: C:\Program Files\WindowsApps\OpenAI.Codex_26.527... After Codex finishes a task, Windows shows a Codex notification. If I click the notification, the Codex app fails to launch and shows an Electron startup error. The app shows an error dialog:
  1. The Electron error dialog appears.
  • Screenshot of the Electron error dialog.

Fix Action

Fix / Workaround

Workaround: Opening Codex manually from the Start menu or taskbar works. The crash only happens when clicking the notification.

RAW_BUFFERClick to expand / collapse

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

26.527.31326

What subscription do you have?

chatgpt plus

What platform is your computer?

No response

What issue are you seeing?

Title: Windows Codex app crashes when clicking task completion notification

Component: Codex Windows App

Environment:

  • OS: Windows 10 / Windows 11
  • App: Codex Windows desktop app
  • Package path shown in error: C:\Program Files\WindowsApps\OpenAI.Codex_26.527...
  • Trigger: Clicking a Codex completion notification

Description: After Codex finishes a task, Windows shows a Codex notification. If I click the notification, the Codex app fails to launch and shows an Electron startup error.

Expected behavior: Clicking the notification should open the Codex app and jump back to the related Codex thread/session.

Actual behavior: The app shows an error dialog:

Unable to find Electron app at: C:\Program Files\WindowsApps\OpenAI.Codex_26.527...\type=click&tag=...

Cannot find module: 'C:\Program Files\WindowsApps\OpenAI.Codex_26.527...\type=click&tag=...'

It looks like the notification click parameters, such as type=click&tag=..., are being appended to the Electron app path and interpreted as a module path.

Reproduction steps:

  1. Start a Codex task in the Windows Codex app.
  2. Wait for the task to complete.
  3. Click the Windows notification shown by Codex.
  4. The Electron error dialog appears.

Workaround: Opening Codex manually from the Start menu or taskbar works. The crash only happens when clicking the notification.

Attachments:

  • Screenshot of the Windows notification.
  • Screenshot of the Electron error dialog.
<img width="441" height="271" alt="Image" src="https://github.com/user-attachments/assets/a012ddb5-0e03-4a9a-bfc3-aa62c5bc050d" /> <img width="556" height="189" alt="Image" src="https://github.com/user-attachments/assets/30e4dcc0-ae45-4555-8484-62c0b3371034" />

What steps can reproduce the bug?

<img width="441" height="271" alt="Image" src="https://github.com/user-attachments/assets/229fdf1a-eccd-47b7-ab63-7ca107896b00" /> <img width="556" height="189" alt="Image" src="https://github.com/user-attachments/assets/8933e3a4-2abb-40fd-b960-3cd61a3e3691" />

What is the expected behavior?

No response

Additional information

No response

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

codex - 💡(How to fix) Fix Windows Codex app crashes when clicking task completion notification