Skip to content

Conversation

@atavism
Copy link
Contributor

@atavism atavism commented Jan 22, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the Windows IPC service optional in LanternFFIService to prevent late-initialization crashes when Windows IPC is unavailable (e.g., missing token, timeout). The service now falls back to safe defaults and non-IPC code paths when Windows IPC initialization fails.

Changes:

  • Made _windowsService nullable and added null safety checks before all Windows IPC operations
  • Provided default fallback streams for status, private server status, and app events
  • Added graceful error handling that allows initialization to continue when Windows IPC fails

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants