Skip to content

Handle Electron sleep/resume renderer recovery - #82

Merged
turesheim merged 1 commit into
mainfrom
codex/electron-sleep-resume-recovery
Aug 30, 2026
Merged

Handle Electron sleep/resume renderer recovery#82
turesheim merged 1 commit into
mainfrom
codex/electron-sleep-resume-recovery

Conversation

@turesheim

Copy link
Copy Markdown
Owner

Summary

  • add Electron main-process sleep/resume handling for renderer OOM, crash, kill, and unresponsive states
  • add a frontend resume contribution that reloads when Theia's backend connection remains unhealthy after wake
  • guard Electron window-event sends so disposed or crashed frames are skipped

Verification

  • npm run build --workspace @commodore-commander/theia-extension
  • npm run theia:build
  • npm test --workspace @commodore-commander/theia-extension

Remaining manual work

  • Verify the real macOS sleep/wake scenario with the same emulator/SIDScore workload that triggered the OOM.

Assumptions

  • Reloading a crashed or unresponsive renderer after wake is preferable to leaving the IDE wedged.

@turesheim
turesheim merged commit 59efca6 into main Aug 30, 2026
2 checks passed
@turesheim
turesheim deleted the codex/electron-sleep-resume-recovery branch August 30, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant