Skip to content

Conversation

@liqiongyu
Copy link
Contributor

Fixes #1304.

  • Skip checkForUpdates() on startup when general.disableUpdateNag is enabled (prevents network calls in air-gapped setups).
  • Add unit test to ensure update checks are skipped when disabled.

Tests:

  • npm test --workspace=packages/cli
  • npm run typecheck --workspace=packages/cli
  • npm run lint --workspace=packages/cli

@liqiongyu liqiongyu force-pushed the fix/1304-disable-update-nag branch from e255320 to 473cb7b Compare January 4, 2026 06:32
@tanzhenxin
Copy link
Collaborator

LGTM!

@tanzhenxin tanzhenxin merged commit 58eac7f into QwenLM:main Jan 5, 2026
13 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.

While disableUpdateNag is set to true, qwen-code is still checking for updates

2 participants