Skip to content

fix(desktop): restore dev startup - #1847

Merged
jackwener merged 1 commit into
mainfrom
codex/fix-dev-startup-skeleton
Aug 1, 2026
Merged

jackwener merged 1 commit into
mainfrom
codex/fix-dev-startup-skeleton

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

  • defer the preload and filesystem worker bundles until workspace library dist files exist
  • avoid eagerly reading the Node-only createHash export when the core barrel loads in the renderer
  • keep the cursor overlay build independent so startup remains fast

Root cause

A renderer import of @maka/core evaluated a named node:crypto export before React mounted, leaving the static startup skeleton on screen. Fresh checkouts also had a build race where preload or the filesystem worker could resolve workspace packages before their dist entrypoints existed.

Verification

  • clean-room npm run clean followed by npm run dev with a fresh Electron profile
  • DevTools protocol: document ready, React root mounted, .maka-preload removed, no renderer exception
  • npm run build:test
  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm --workspace @maka/core run test:dist
  • npm --workspace @maka/desktop run test:dist
  • npm --workspace @maka/desktop run build:renderer

@jackwener
jackwener merged commit ec21db5 into main Aug 1, 2026
1 check passed
@jackwener
jackwener deleted the codex/fix-dev-startup-skeleton branch August 1, 2026 15:28
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