Skip to content

feat(updater): Windows webui npm fallback and Session ownerUsername#253

Merged
duguwanglong merged 2 commits into
devfrom
feat/updater-windows-npm-retry-session-owner-username
May 11, 2026
Merged

feat(updater): Windows webui npm fallback and Session ownerUsername#253
duguwanglong merged 2 commits into
devfrom
feat/updater-windows-npm-retry-session-owner-username

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented May 11, 2026

Summary

  • Windows updater: retry staged webui npm install/ci and run build with system npm.cmd when bundled Node npm fails or hits timeout, with appropriate timeouts and env.
  • Webui: add optional ownerUsername on Session in TypeScript types.
  • Tests: new async updater tests covering bundled-build failure and bundled-install timeout retry paths.

xiami762 and others added 2 commits May 11, 2026 15:15
- Retry frontend install/build with system npm when bundled npm fails or times out
- Add ownerUsername to webui Session type
- Extend updater tests for Windows npm retry paths

Co-authored-by: Cursor <cursoragent@cursor.com>
- Remove node_modules and dist before switching npm candidate
- Avoid duplicate system npm candidate on non-Windows when bundled exists
- Extend tests for workspace cleanup and Linux candidate list

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiami762 xiami762 requested review from Jieatgit and duguwanglong May 11, 2026 08:58
@duguwanglong duguwanglong merged commit 564a4a1 into dev May 11, 2026
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