Skip to content

fix(desktop): repair update checks and prepare v1.0.2 - #99

Merged
Dailin521 merged 2 commits into
mainfrom
codex/v102-updater-module-interop
Sep 11, 2026
Merged

Dailin521 merged 2 commits into
mainfrom
codex/v102-updater-module-interop

Conversation

@Dailin521

Copy link
Copy Markdown
Owner

Windows 1.0.1 installed builds fail immediately when checking for updates because the lazy ESM import cannot expose electron-updater's CommonJS autoUpdater getter as a named export. Load it through the default export and retain the existing download/install gates.

Prepare version 1.0.2 and tell affected 1.0.1 users to install it manually once. Add a regression using the real dependency (only the Electron host is mocked), and require stable-updater NSIS and ZIP container smoke to actually check the public release feed. These checks do not download or install an update.

Validation:

  • Real dependency regression reproduced the old TypeError and passes after the fix.
  • npm run desktop:test: 178 passed, 1 file-symlink platform skip.
  • npm test: 538 passed, 56 platform/runtime skips; no failures.
  • npm run architecture:check and production bundle audit passed.
  • Local Windows production bundle: installed-layout public update check and existing Sync/Restore/UI cases passed; portable public check also verified before push.
  • Release version and Chinese announcement validation passed. Local layout checks are not real installation/uninstallation or cross-version upgrade acceptance; final-SHA CI and release-container gates remain required.

No Provider I/O or public API changes. Only Windows Electron artifacts will be published; Legacy project version fields follow the repository version-consistency gate without publishing Legacy packages.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-11T13:43:56.383655Z 036cbef New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2751b5e6db

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/WINDOWS_ELECTRON_RELEASE_ZH.md
Comment thread package.json
@Dailin521
Dailin521 merged commit 09452d9 into main Sep 11, 2026
49 of 52 checks passed
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