You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "seekskyworld (via GitHub)" <gi...@apache.org> on 2026/09/05 02:24:07 UTC

[PR] fix(desktop): warm and isolate Vite dev renderer [maka]

seekskyworld opened a new pull request, #4820:
URL: https://github.com/apache/maka/pull/4820

   ## Summary
   
   Fixes #4775
   
   Dev launches now warm the Vite client entry and wait for its import graph to become idle before Electron starts. The main window clears the renderer session cache only for the Vite development entry, preventing stale immutable dependency generations from being combined with a fresh optimizer graph; packaged `file://` launches keep their existing cache behavior.
   
   ## Verification
   
   - `node --test apps/desktop/scripts/dev-renderer-warmup.test.mjs` (2 passed)
   - `npm --workspace @maka/desktop run build:main` (passed)
   - `node --test apps/desktop/dist/main/__tests__/main-renderer-loader.test.js` (1 passed)
   - `npx tsc -p apps/desktop/tsconfig.main.json --noEmit` (passed)
   - `npx biome lint` on all changed files (passed)
   - `npm --workspace @maka/desktop run build:workspace-deps` reaches the existing `@maka/ui` baseline type errors on current `main`; it is not green in this checkout.
   
   ## AI use
   
   - [ ] No generative tool made a substantive contribution
   - [x] Generative tooling made a substantive contribution
   
   Tool(s) and scope: OpenAI Codex authored the implementation and tests, then ran the focused checks listed above.
   
   ## Checklist
   
   - [x] Tests cover the change and fail without it
   - [ ] Lint, format, typecheck and the affected suites pass locally
   
   Does this PR entail a change in behavior?
   
   - [x] Yes — development launches now clear stale renderer cache and wait for Vite warmup before opening Electron.
   - [ ] No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] fix(desktop): warm and isolate Vite dev renderer [maka]

Posted by "seekskyworld (via GitHub)" <gi...@apache.org>.
seekskyworld commented on PR #4820:
URL: https://github.com/apache/maka/pull/4820#issuecomment-5548724807

   Closing as duplicate after verifying the existing implementation in #4782. I will not compete with that PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] fix(desktop): warm and isolate Vite dev renderer [maka]

Posted by "seekskyworld (via GitHub)" <gi...@apache.org>.
seekskyworld closed pull request #4820: fix(desktop): warm and isolate Vite dev renderer
URL: https://github.com/apache/maka/pull/4820


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org