Skip to content

refactor(desktop): convert main process to Effect-TS#26148

Open
Brendonovich wants to merge 1 commit intodevfrom
brendonovich/desktop-main-effect-refactor
Open

refactor(desktop): convert main process to Effect-TS#26148
Brendonovich wants to merge 1 commit intodevfrom
brendonovich/desktop-main-effect-refactor

Conversation

@Brendonovich
Copy link
Copy Markdown
Member

Summary

Refactors the desktop main process to use Effect-TS for improved composability and error handling.

Changes

  • Extracted auto-updater logic into a new updater.ts module
  • Converted main process initialization to Effect-TS (Effect.gen, Deferred, Fiber)
  • Replaced manual promise/deferred patterns with Effect primitives
  • Improved sidecar health check timeout handling via Effect.timeout
  • Cleaned up initialization flow and removed dead code (delay, defer, sqliteFileExists, getSidecarPort)

2 files changed, 362 insertions(+), 370 deletions(-)

@Brendonovich Brendonovich requested a review from adamdotdevin as a code owner May 7, 2026 08:52
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