Windows Codex app crashes when clicking task completion notification
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:
- Start a Codex task in the Windows Codex app.
- Wait for the task to complete.
- Click the Windows notification shown by Codex.
- 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_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗