==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_39e0775f-23f1-46a9-bcfe-ab21fa2d8241]...done ==> Making package: qwen-code 0.10.6-1.1 (Fri Feb 27 04:08:37 2026) ==> Retrieving sources... -> Cloning qwen-code git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/qwen-code-0.10.6-1/qwen-code'... ==> Validating source files with sha256sums... qwen-code ... Passed ==> Validating source files with b2sums... qwen-code ... Passed ==> Making package: qwen-code 0.10.6-1.1 (Fri Feb 27 03:09:38 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/c-ares 1.34.6-1 0.51 MiB extra/libuv 1.52.0-1 0.63 MiB extra/simdjson 1:4.3.1-1 7.43 MiB extra/nodejs 25.6.1-2 69.21 MiB extra/ripgrep 15.1.0-2 5.01 MiB Total Installed Size: 82.80 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing libuv... installing simdjson... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager installing ripgrep... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (11) New Version Net Change extra/node-gyp 12.2.0-1 7.84 MiB extra/nodejs-nopt 7.2.1-1 0.03 MiB extra/oniguruma 6.9.10-1 0.88 MiB extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.33-9 0.08 MiB extra/semver 7.7.4-1 0.09 MiB extra/zlib-ng 2.3.3-1 0.28 MiB extra/git 2.53.0-1 29.72 MiB extra/jq 1.8.1-1 0.45 MiB extra/npm 11.10.1-1 7.47 MiB Total Installed Size: 46.98 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing oniguruma... installing jq... installing nodejs-nopt... installing semver... installing node-gyp... Optional dependencies for node-gyp gcc: to build C++ modules [installed] make: to build C++ modules [installed] python: to build C++ modules installing npm... Optional dependencies for npm git: for dependencies using Git URL's [installed] :: Running post-transaction hooks... (1/3) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/3) Reloading system manager configuration... Skipped: Current root is not booted. (3/3) Arming ConditionNeedsUpdate... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of qwen-code git repo... Cloning into 'qwen-code'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. added 1546 packages, and audited 1553 packages in 59s 414 packages are looking for funding run `npm fund` for details 27 vulnerabilities (1 low, 15 moderate, 11 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm notice npm notice New minor version of npm available! 11.10.1 -> 11.11.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.11.0 npm notice To update run: npm install -g npm@11.11.0 npm notice ==> Starting build()... > @qwen-code/qwen-code@0.10.6 bundle > npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js > @qwen-code/qwen-code@0.10.6 generate > node scripts/generate-git-commit-info.js Copied sandbox profiles to dist/ Copying vendor directory... Copied vendor directory to dist/ ✅ All bundle assets copied to dist/ ==> Starting check()... > @qwen-code/qwen-code@0.10.6 build > node scripts/build.js > @qwen-code/qwen-code@0.10.6 generate > node scripts/generate-git-commit-info.js > @qwen-code/qwen-code-test-utils@0.10.6 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/qwen-code-core@0.10.6 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/qwen-code@0.10.6 build > npm run build:assets && node ../../scripts/build_package.js > @qwen-code/qwen-code@0.10.6 build:assets > node ./assets/parallel-build.mjs added 13 packages, and audited 14 packages in 5s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities > build > node build.mjs Successfully copied files. > @qwen-code/webui@0.10.6 build > vite build vite v5.4.21 building for production... transforming... ✓ 150 modules transformed. rendering chunks... [vite:dts] Start generate declaration files... computing gzip size... dist/styles.css 77.59 kB │ gzip: 14.60 kB dist/index.js 339.10 kB │ gzip: 88.45 kB │ map: 749.70 kB [vite:dts] Start rollup declaration files... Analysis will use the bundled TypeScript version 5.8.2 [vite:dts] Declaration files built in 4210ms. dist/styles.css 77.59 kB │ gzip: 14.60 kB dist/index.cjs 346.81 kB │ gzip: 88.94 kB │ map: 753.73 kB dist/styles.css 77.59 kB │ gzip: 14.60 kB dist/index.umd.js 367.31 kB │ gzip: 89.88 kB │ map: 756.52 kB ✓ built in 6.11s > @qwen-code/sdk@0.1.4 build > node scripts/build.js Compiling input files... Processing src/index.ts Writing src/index.ts -> dist/index.d.ts Checking generated files... Compiler option "skipLibCheck" is disabled to properly check generated output Done in 8.69s > qwen-code-vscode-ide-companion@0.10.6 build > npm run build:dev > qwen-code-vscode-ide-companion@0.10.6 build:dev > npm run check-types && npm run lint && node esbuild.js > qwen-code-vscode-ide-companion@0.10.6 check-types > tsc --noEmit > qwen-code-vscode-ide-companion@0.10.6 lint > eslint src > @qwen-code/qwen-code@0.10.6 test > npm run test --workspaces --if-present --parallel npm warn Unknown cli config "--parallel". This will stop working in the next major version of npm. > @qwen-code/qwen-code@0.10.6 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/cli Coverage enabled with v8 ✓ src/utils/nonInteractiveHelpers.test.ts (60 tests) 26ms ✓ src/ui/hooks/atCommandProcessor.test.ts (42 tests) 185ms ✓ src/ui/components/shared/vim-buffer-actions.test.ts (74 tests) 40ms ✓ src/utils/settingsUtils.test.ts (73 tests) 71ms ✓ src/ui/commands/languageCommand.test.ts (47 tests) 144ms ✓ src/config/settings.test.ts (101 tests) 117ms ✓ src/services/FileCommandLoader.test.ts (39 tests) 226ms ✓ src/ui/components/shared/text-buffer.test.ts (115 tests) 347ms ✓ src/ui/contexts/KeypressContext.test.tsx (56 tests) 384ms ✓ src/ui/hooks/vim.test.ts (87 tests) 926ms ✓ src/ui/commands/extensionsCommand.test.ts (31 tests) 127ms ✓ src/ui/hooks/useGeminiStream.test.tsx (49 tests) 976ms ✓ src/ui/hooks/useSelectionList.test.ts (44 tests) 228ms ✓ src/ui/hooks/useVisionAutoSwitch.test.ts (36 tests) 76ms ✓ src/ui/hooks/slashCommandProcessor.test.ts (35 tests) 2298ms ✓ src/config/config.test.ts (157 tests | 2 skipped) 1119ms ✓ src/nonInteractiveCli.test.ts (29 tests | 1 skipped) 198ms ✓ src/nonInteractive/io/BaseJsonOutputAdapter.test.ts (93 tests) 46ms ✓ src/nonInteractive/io/StreamJsonOutputAdapter.test.ts (46 tests) 52ms ✓ src/nonInteractive/control/ControlDispatcher.test.ts (34 tests) 48ms ✓ src/ui/hooks/useToolScheduler.test.ts (17 tests) 227ms ✓ src/acp-integration/session/emitters/ToolCallEmitter.test.ts (33 tests) 135ms ✓ src/services/prompt-processors/shellProcessor.test.ts (34 tests) 110ms ✓ src/ui/hooks/useSlashCompletion.test.ts (22 tests) 610ms ✓ src/acp-integration/session/SubAgentTracker.test.ts (21 tests) 282ms ❯ src/ui/components/SettingsDialog.test.tsx (53 tests | 1 failed) 7069ms ✓ SettingsDialog > Initial Rendering > should render the settings dialog with default state 65ms ✓ SettingsDialog > Initial Rendering > should accept availableTerminalHeight prop without errors 35ms ✓ SettingsDialog > Initial Rendering > should show settings list with default values 18ms ✓ SettingsDialog > Initial Rendering > should highlight first setting by default 20ms ✓ SettingsDialog > Settings Navigation > should navigate down with arrow key 153ms ✓ SettingsDialog > Settings Navigation > should navigate up with arrow key 130ms ✓ SettingsDialog > Settings Navigation > should navigate with vim keys (j/k) 143ms ✓ SettingsDialog > Settings Navigation > wraps around when at the top of the list 99ms ✓ SettingsDialog > Settings Toggling > should toggle setting with Enter key 305ms ✓ SettingsDialog > Settings Toggling > enum values > toggles enum values with the enter key 92ms ✓ SettingsDialog > Settings Toggling > enum values > loops back when reaching the end of an enum 94ms ✓ SettingsDialog > Settings Toggling > should toggle setting with Space key 106ms ✓ SettingsDialog > Settings Toggling > should handle vim mode setting specially 92ms ✓ SettingsDialog > Scope Selection > should switch between scopes 171ms ✓ SettingsDialog > Scope Selection > should reset to settings focus when scope is selected 30ms ✓ SettingsDialog > Restart Prompt > should show restart prompt for restart-required settings 87ms ✓ SettingsDialog > Restart Prompt > should handle restart request when r is pressed 89ms ✓ SettingsDialog > Escape Key Behavior > should call onSelect with undefined when Escape is pressed 49ms ✓ SettingsDialog > Settings Persistence > should persist settings across scope changes 241ms ✓ SettingsDialog > Settings Persistence > should show different values for different scopes 17ms ✓ SettingsDialog > Error Handling > should handle vim mode toggle errors gracefully 70ms ✓ SettingsDialog > Complex State Management > should track modified settings correctly 193ms ✓ SettingsDialog > Complex State Management > should handle scrolling when there are many settings 221ms ✓ SettingsDialog > VimMode Integration > should sync with VimModeContext when vim mode is toggled 116ms ✓ SettingsDialog > Specific Settings Behavior > should show correct display values for settings with different states 31ms ✓ SettingsDialog > Specific Settings Behavior > should handle immediate settings save for non-restart-required settings 114ms ✓ SettingsDialog > Specific Settings Behavior > should show restart prompt for restart-required settings 117ms × SettingsDialog > Specific Settings Behavior > should keep restart prompt when switching scopes 1266ms → expected '╭────────────────────────────────────…' to contain 'To see changes, Qwen Code must be res…' ✓ SettingsDialog > Settings Display Values > should show correct values for inherited settings 14ms ✓ SettingsDialog > Settings Display Values > should show override indicator for overridden settings 22ms ✓ SettingsDialog > Output Language > treats empty output language as auto 455ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle rapid key presses gracefully 152ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle Ctrl+C to reset current setting to default 90ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle Ctrl+L to reset current setting to default 76ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle navigation when only one setting exists 210ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should properly handle Tab navigation between sections 44ms ✓ SettingsDialog > Error Recovery > should handle malformed settings gracefully 25ms ✓ SettingsDialog > Error Recovery > should handle missing setting definitions gracefully 18ms ✓ SettingsDialog > Complex User Interactions > should handle complete user workflow: navigate, toggle, change scope, exit 34ms ✓ SettingsDialog > Complex User Interactions > should allow changing multiple settings without losing pending changes 353ms ✓ SettingsDialog > Complex User Interactions > should maintain state consistency during complex interactions 306ms ✓ SettingsDialog > Complex User Interactions > should handle restart workflow correctly 77ms ✓ SettingsDialog > String Settings Editing > should allow editing and committing a string setting 714ms ✓ SettingsDialog > Snapshot Tests > should render default state correctly 38ms ✓ SettingsDialog > Snapshot Tests > should render with various boolean settings enabled 25ms ✓ SettingsDialog > Snapshot Tests > should render with mixed boolean and number settings 39ms ✓ SettingsDialog > Snapshot Tests > should render focused on scope selector 25ms ✓ SettingsDialog > Snapshot Tests > should render with different scope selected (System) 40ms ✓ SettingsDialog > Snapshot Tests > should render with different scope selected (Workspace) 33ms ✓ SettingsDialog > Snapshot Tests > should render with accessibility settings enabled 43ms ✓ SettingsDialog > Snapshot Tests > should render with file filtering settings configured 24ms ✓ SettingsDialog > Snapshot Tests > should render with tools and security settings 18ms ✓ SettingsDialog > Snapshot Tests > should render with all boolean settings disabled 24ms ✓ src/utils/errors.test.ts (33 tests) 129ms ✓ src/utils/modelConfigUtils.test.ts (28 tests) 145ms ✓ src/ui/hooks/shellCommandProcessor.test.ts (20 tests) 583ms ✓ src/ui/AppContainer.test.tsx (31 tests) 956ms ✓ AppContainer State Management > Error Handling > handles config methods that might throw 441ms ✓ src/nonInteractive/io/JsonOutputAdapter.test.ts (35 tests) 119ms ✓ src/validateNonInterActiveAuth.test.ts (13 tests) 70ms ✓ src/ui/components/QwenOAuthProgress.test.tsx (22 tests) 924ms ✓ src/ui/hooks/useAutoAcceptIndicator.test.ts (15 tests) 161ms ✓ src/ui/keyMatchers.test.ts (33 tests) 27ms (node:2439) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 resize listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/ui/components/shared/BaseSelectionList.test.tsx (26 tests | 1 skipped) 967ms ✓ src/utils/languageUtils.test.ts (38 tests) 51ms ✓ src/ui/hooks/useExtensionUpdates.test.ts (15 tests) 416ms ✓ src/ui/commands/exportCommand.test.ts (14 tests) 123ms ✓ src/ui/components/StandaloneSessionPicker.test.tsx (15 tests) 2884ms ✓ SessionPicker > Keyboard Navigation > should navigate with vim keys (j/k) 326ms ✓ src/ui/hooks/useCodingPlanUpdates.test.ts (13 tests) 298ms ✓ src/nonInteractive/session.test.ts (21 tests) 185ms ✓ src/services/McpPromptLoader.test.ts (25 tests) 64ms ✓ src/ui/utils/commandUtils.test.ts (26 tests) 117ms ✓ src/acp-integration/session/HistoryReplayer.test.ts (16 tests) 42ms ✓ src/ui/commands/memoryCommand.test.ts (13 tests) 120ms ✓ src/commands/extensions/settings.test.ts (20 tests) 312ms ✓ src/ui/hooks/useQwenAuth.test.ts (17 tests) 123ms ✓ src/ui/auth/AuthDialog.test.tsx (10 tests) 979ms ✓ src/config/trustedFolders.test.ts (21 tests) 108ms ✓ src/ui/hooks/useAtCompletion.test.ts (13 tests) 1444ms ✓ src/ui/hooks/useCommandCompletion.test.ts (14 tests) 295ms Invalid values: Argument: approval-mode, Given: "invalid_mode", Choices: "plan", "default", "auto-edit", "yolo" Cannot use both --yolo (-y) and --approval-mode together. Use --approval-mode=yolo instead. process.exit unexpectedly called with "1" ✓ src/ui/components/InputPrompt.test.tsx (95 tests | 1 skipped) 15916ms ✓ InputPrompt > should NOT call completion navigation when suggestions are not showing 300ms ✓ InputPrompt > paste auto-submission protection > should allow submission after paste protection timeout 860ms ✓ InputPrompt > reverse search > submits the highlighted entry on Enter and exits reverse-search 340ms ✓ InputPrompt > large paste placeholder > should use sequential IDs for multiple pastes of same size 326ms ✓ InputPrompt > large paste placeholder > should expand placeholder to full content on submit 799ms ✓ InputPrompt > large paste placeholder > should expand same-size placeholders correctly when #2 appears first 887ms ✓ InputPrompt > large paste placeholder > should write expanded placeholder content to shell history 801ms ✓ src/ui/components/messages/DiffRenderer.test.tsx (16 tests) 771ms ✓ src/config/config.integration.test.ts (19 tests) 1361ms ✓ Configuration Integration Tests > Approval Mode Integration Tests > should parse --approval-mode=auto-edit correctly through the full argument parsing flow 1152ms ✓ src/services/CommandService.test.ts (11 tests) 71ms ✓ src/utils/installationInfo.test.ts (16 tests) 42ms ✓ src/commands/extensions/consent.test.ts (17 tests) 47ms ✓ src/commands/extensions/update.test.ts (14 tests) 67ms ✓ src/ui/components/shared/MaxSizedBox.test.tsx (21 tests) 195ms ✓ src/commands/mcp/add.test.ts (20 tests) 454ms ✓ src/config/settingsSchema.test.ts (14 tests) 64ms ✓ src/ui/components/messages/ToolGroupMessage.test.tsx (14 tests) 405ms ✓ src/utils/envVarResolver.test.ts (16 tests) 41ms ✓ src/utils/systemInfo.test.ts (15 tests) 164ms ✓ src/services/prompt-processors/injectionParser.test.ts (21 tests) 18ms ✓ src/ui/components/ModelDialog.test.tsx (10 tests) 281ms Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED Fatal error: Failed to relaunch the CLI process. Runner failed node:internal/modules/cjs/loader:1458 throw err; ^ Error: Cannot find module '/app/cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1455:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1065:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1070:22) at Module._load (node:internal/modules/cjs/loader:1241:25) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v25.6.1 Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED ✓ src/ui/components/StatsDisplay.test.tsx (12 tests) 797ms ✓ src/utils/relaunch.test.ts (8 tests) 196ms (node:3043) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 mcp-client-update listeners added to [EventEmitter]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/ui/components/Composer.test.tsx (14 tests) 281ms ✓ src/utils/handleAutoUpdate.test.ts (9 tests) 45ms ✓ src/services/FileCommandLoader-extension.test.ts (6 tests) 103ms ✓ src/ui/commands/restoreCommand.test.ts (13 tests) 104ms ✓ src/ui/components/messages/ToolMessage.test.tsx (13 tests) 297ms ]2;Qwen - cli]2;Qwen - root]2;Qwen - root]2;Qwen - root ✓ src/gemini.test.tsx (11 tests) 626ms ✓ gemini.tsx main function > verifies that we dont load the config before relaunchAppInChildProcess 588ms ✓ src/ui/commands/ideCommand.test.ts (8 tests) 22ms ✓ src/ui/hooks/useKeypress.test.ts (15 tests) 304ms ✓ src/ui/components/LoadingIndicator.test.tsx (16 tests) 256ms ✓ src/ui/themes/color-utils.test.ts (16 tests) 21ms ✓ src/ui/commands/copyCommand.test.ts (11 tests) 54ms ✓ src/ui/utils/resumeHistoryUtils.test.ts (4 tests) 30ms ✓ src/ui/hooks/useShellHistory.test.ts (7 tests) 656ms ✓ src/ui/hooks/useInputHistory.test.ts (11 tests) 140ms ✓ src/ui/utils/computeStats.test.ts (12 tests) 47ms ✓ src/ui/commands/aboutCommand.test.ts (7 tests) 98ms ✓ src/ui/hooks/useInputHistoryStore.test.ts (14 tests) 264ms ✓ src/ui/hooks/useEditorSettings.test.ts (10 tests) 224ms ✓ src/acp-integration/session/emitters/PlanEmitter.test.ts (17 tests) 20ms ✓ src/ui/hooks/usePermissionsModifyTrust.test.ts (8 tests) 289ms ✓ src/config/auth.test.ts (13 tests) 71ms ✓ src/acp-integration/session/emitters/MessageEmitter.test.ts (13 tests) 27ms ✓ src/ui/hooks/usePhraseCycler.test.ts (9 tests) 43ms ✓ src/services/prompt-processors/atFileProcessor.test.ts (11 tests) 59ms ✓ src/ui/hooks/useHistoryManager.test.ts (8 tests) 82ms ✓ src/utils/gitUtils.test.ts (24 tests) 44ms ✓ src/acp-integration/session/Session.test.ts (10 tests) 60ms ✓ src/services/command-migration-tool.test.ts (13 tests) 49ms ✓ src/commands/extensions/install.test.ts (8 tests) 65ms ✓ src/ui/hooks/useReverseSearchCompletion.test.tsx (10 tests) 134ms ✓ src/ui/utils/textUtils.test.ts (9 tests) 19ms ✓ src/ui/hooks/useMessageQueue.test.ts (9 tests) 157ms ✓ src/ui/commands/setupGithubCommand.test.ts (8 tests) 50ms ✓ src/ui/components/HistoryItemDisplay.test.tsx (13 tests) 884ms ✓ src/nonInteractive/io/StreamJsonInputReader.test.ts (11 tests) 59ms ✓ src/ui/hooks/useIdeTrustListener.test.ts (5 tests) 114ms ✓ src/ui/hooks/useGitBranchName.test.ts (7 tests | 2 skipped) 262ms ✓ src/ui/hooks/useResumeCommand.test.ts (6 tests) 125ms ✓ src/ui/components/PluginChoicePrompt.test.tsx (12 tests) 452ms ✓ src/ui/components/messages/CompressionMessage.test.tsx (8 tests) 170ms ✓ src/nonInteractiveCliCommands.test.ts (9 tests) 18ms ✓ src/ui/components/messages/ToolConfirmationMessage.test.tsx (13 tests) 283ms ✓ src/ui/components/ModelStatsDisplay.test.tsx (6 tests) 473ms ✓ src/ui/commands/directoryCommand.test.tsx (7 tests) 53ms ✓ src/ui/hooks/useFolderTrust.test.ts (9 tests) 175ms ✓ src/acp-integration/service/filesystem.test.ts (7 tests) 39ms Error parsing settings file. Unexpected end of JSON input Settings file may be corrupted. Please check the JSON syntax. ✓ src/utils/commentJson.test.ts (8 tests) 124ms ✓ src/services/BuiltinCommandLoader.test.ts (7 tests) 45ms ✓ src/commands/mcp/list.test.ts (4 tests) 33ms ✓ src/ui/utils/formatters.test.ts (25 tests) 32ms ✓ src/ui/hooks/useAttentionNotifications.test.ts (6 tests) 39ms ✓ src/ui/utils/highlight.test.ts (16 tests) 11ms ✓ src/utils/commands.test.ts (12 tests) 10ms ✓ src/ui/utils/MarkdownDisplay.test.tsx (31 tests) 617ms ✓ src/ui/commands/mcpCommand.test.ts (5 tests) 27ms ✓ src/ui/components/PermissionsModifyTrustDialog.test.tsx (6 tests) 1029ms ✓ PermissionsModifyTrustDialog > should display the inherited trust note from parent 304ms ✓ src/ui/models/availableModels.test.ts (19 tests) 45ms ✓ src/ui/hooks/useLoadingIndicator.test.ts (5 tests) 80ms ✓ src/ui/components/ModelSwitchDialog.test.tsx (11 tests) 242ms ✓ src/ui/commands/approvalModeCommand.test.ts (13 tests) 31ms ✓ src/utils/deepMerge.test.ts (13 tests) 24ms ✓ src/ui/themes/theme-manager.test.ts (12 tests) 79ms ✓ src/ui/commands/initCommand.test.ts (5 tests) 39ms ✓ src/ui/components/shared/RadioButtonSelect.test.tsx (5 tests) 132ms ✓ src/ui/contexts/SessionContext.test.tsx (4 tests) 166ms ✓ src/ui/hooks/useTimer.test.ts (8 tests) 181ms ✓ src/commands/extensions/utils.test.ts (6 tests) 23ms ✓ src/ui/components/AnsiOutput.test.tsx (6 tests) 112ms ✓ src/ui/commands/bugCommand.test.ts (3 tests) 62ms ✓ src/ui/utils/updateCheck.test.ts (9 tests) 36ms ✓ src/ui/commands/compressCommand.test.ts (5 tests) 55ms ✓ src/ui/components/ToolStatsDisplay.test.tsx (5 tests) 383ms ✓ src/ui/components/views/McpStatus.test.tsx (12 tests) 328ms ✓ src/ui/commands/modelCommand.test.ts (8 tests) 13ms ✓ src/ui/hooks/useFocus.test.ts (6 tests) 210ms ✓ src/services/FileCommandLoader-markdown.test.ts (3 tests) 26ms ✓ src/ui/App.test.tsx (7 tests) 158ms ✓ src/ui/components/SessionSummaryDisplay.test.tsx (3 tests) 91ms ✓ src/commands/extensions/disable.test.ts (7 tests) 114ms ✓ src/commands/extensions/enable.test.ts (7 tests) 62ms ✓ src/ui/components/shared/EnumSelector.test.tsx (9 tests) 103ms ✓ src/ui/components/FolderTrustDialog.test.tsx (9 tests) 449ms ✓ src/utils/userStartupWarnings.test.ts (5 tests) 75ms ✓ src/commands/mcp/remove.test.ts (4 tests) 91ms ✓ src/ui/components/Header.test.tsx (11 tests) 318ms ✓ src/commands/extensions/list.test.ts (4 tests) 64ms ✓ src/ui/components/PrepareLabel.test.tsx (6 tests) 174ms ✓ src/utils/readStdin.test.ts (4 tests) 16ms ✓ src/ui/commands/toolsCommand.test.ts (4 tests) 47ms ✓ src/services/markdown-command-parser.test.ts (10 tests) 27ms ✓ src/ui/commands/clearCommand.test.ts (2 tests) 7ms ✓ src/ui/components/SettingInputPrompt.test.tsx (6 tests) 224ms ✓ src/ui/themes/theme.test.ts (5 tests) 5ms ✓ src/ui/components/Footer.test.tsx (6 tests) 88ms No extensions installed. ✓ src/commands/extensions.test.tsx (11 tests) 109ms Successfully created new extension at /some/path. You can install this using "qwen extensions link /some/path" to test it out. Successfully created new extension from template "context" at /some/path. You can install this using "qwen extensions link /some/path" to test it out. Path already exists: /some/path ✓ src/commands/extensions/new.test.ts (4 tests) 95ms ✓ src/ui/components/AppHeader.test.tsx (3 tests) 161ms ✓ src/ui/components/views/ExtensionsList.test.tsx (9 tests) 73ms ✓ src/ui/hooks/useMemoryMonitor.test.ts (3 tests) 41ms ✓ src/ui/components/ConsentPrompt.test.tsx (5 tests) 100ms ✓ src/utils/systemInfoFields.test.ts (2 tests) 5ms ✓ src/ui/utils/markdownUtilities.test.ts (7 tests) 11ms ✓ src/ui/components/QueuedMessageDisplay.test.tsx (5 tests) 85ms ✓ src/config/keyBindings.test.ts (3 tests) 10ms ✓ src/ui/commands/docsCommand.test.ts (3 tests) 22ms ✓ src/ui/components/ContextSummaryDisplay.test.tsx (4 tests) 110ms ✓ src/utils/windowTitle.test.ts (7 tests) 19ms ✓ src/config/modelProvidersScope.test.ts (4 tests) 3ms ✓ src/commands/extensions/link.test.ts (4 tests) 81ms ✓ src/ui/utils/displayUtils.test.ts (8 tests) 4ms ✓ src/ui/utils/sessionPickerUtils.test.ts (7 tests) 8ms ✓ src/ui/components/TodoDisplay.test.tsx (6 tests) 140ms ✓ src/utils/startupWarnings.test.ts (4 tests) 24ms ✓ src/ui/components/ThemeDialog.test.tsx (2 tests) 810ms ✓ ThemeDialog Snapshots > should render correctly in theme selection mode 582ms ✓ src/ui/commands/statsCommand.test.ts (3 tests) 24ms ✓ src/ui/utils/clipboardUtils.test.ts (6 tests) 21ms ✓ src/ui/commands/terminalSetupCommand.test.ts (5 tests) 22ms ✓ src/ui/hooks/useModelCommand.test.ts (3 tests) 79ms ✓ src/ui/components/shared/DescriptiveRadioButtonSelect.test.tsx (2 tests) 47ms ✓ src/ui/components/Help.test.tsx (4 tests) 431ms ✓ src/ui/components/IdeTrustChangeDialog.test.tsx (6 tests) 357ms ✓ src/test-utils/mockCommandContext.test.ts (3 tests) 6ms ✓ src/commands/mcp.test.ts (3 tests) 15ms ✓ src/utils/attentionNotification.test.ts (4 tests) 34ms ✓ src/utils/cleanup.test.ts (4 tests) 8ms ✓ src/ui/commands/helpCommand.test.ts (2 tests) 13ms ✓ src/ui/commands/quitCommand.test.ts (1 test) 68ms ✓ src/ui/components/ShellConfirmationDialog.test.tsx (4 tests) 298ms ✓ src/services/prompt-processors/argumentProcessor.test.ts (2 tests) 5ms ✓ src/ui/components/views/ToolsList.test.tsx (3 tests) 56ms ✓ src/utils/acpModelUtils.test.ts (5 tests) 19ms ✓ src/ui/commands/themeCommand.test.ts (2 tests) 5ms ✓ src/ui/commands/resumeCommand.test.ts (2 tests) 13ms ✓ src/ui/commands/permissionsCommand.test.ts (3 tests) 6ms ✓ src/ui/components/LoopDetectionConfirmation.test.tsx (2 tests) 92ms ✓ src/ui/commands/settingsCommand.test.ts (2 tests) 13ms ✓ src/ui/commands/authCommand.test.ts (2 tests) 13ms ✓ src/utils/processUtils.test.ts (1 test) 4ms ✓ src/ui/commands/editorCommand.test.ts (2 tests) 9ms ✓ src/commands/extensions/uninstall.test.ts (1 test) 12ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/ui/components/SettingsDialog.test.tsx > SettingsDialog > Specific Settings Behavior > should keep restart prompt when switching scopes AssertionError: expected '╭────────────────────────────────────…' to contain 'To see changes, Qwen Code must be res…' - Expected + Received - To see changes, Qwen Code must be restarted + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ▲ │ + │ Tool Approval Mode Default │ + │ ● Language: UI Auto (detect from system) │ + │ Language: Model auto │ + │ Theme Qwen Dark │ + │ Vim Mode false │ + │ Interactive Shell (PTY) false │ + │ Preferred Editor │ + │ Auto-connect to IDE false │ + │ ▼ │ + │ │ + │ (Use Enter to select, Tab to configure scope) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ❯ src/ui/components/SettingsDialog.test.tsx:894:29 892| 893| await waitFor(() => { 894| expect(lastFrame()).toContain( | ^ 895| 'To see changes, Qwen Code must be restarted', 896| ); ❯ waitFor src/ui/components/SettingsDialog.test.tsx:176:9 ❯ src/ui/components/SettingsDialog.test.tsx:893:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 208 passed (209) Tests 1 failed | 3351 passed | 7 skipped (3359) Start at 03:11:45 Duration 82.31s (transform 49.93s, setup 10.59s, collect 1181.64s, tests 66.37s, environment 223.01s, prepare 54.42s) JUNIT report written to /startdir/src/qwen-code/packages/cli/junit.xml npm error Lifecycle script `test` failed with error: npm error code 1 npm error path /startdir/src/qwen-code/packages/cli npm error workspace @qwen-code/qwen-code@0.10.6 npm error location /startdir/src/qwen-code/packages/cli npm error command failed npm error command sh -c vitest run > @qwen-code/qwen-code-core@0.10.6 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/core Coverage enabled with v8 ✓ src/utils/memoryImportProcessor.test.ts (28 tests) 69ms ✓ src/services/shellExecutionService.test.ts (37 tests) 224ms ✓ src/core/openaiContentGenerator/pipeline.test.ts (21 tests) 40ms ✓ src/mcp/oauth-provider.test.ts (22 tests) 315ms ✓ src/qwen/sharedTokenManager.test.ts (31 tests) 327ms ✓ src/utils/fileUtils.test.ts (65 tests) 107ms ✓ src/tools/mcp-tool.test.ts (45 tests) 340ms ✓ src/core/openaiContentGenerator/streamingToolCallParser.test.ts (51 tests) 45ms ✓ src/tools/lsp.test.ts (69 tests) 787ms ✓ src/core/anthropicContentGenerator/converter.test.ts (27 tests) 43ms ✓ src/tools/ripGrep.test.ts (40 tests) 243ms ✓ src/utils/paths.test.ts (100 tests) 35ms +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ ✓ src/qwen/qwenOAuth2.test.ts (81 tests) 2217ms ✓ getQwenOAuthClient - Enhanced Error Scenarios > should handle different authentication failure reasons - timeout 2096ms ✓ src/services/loopDetectionService.test.ts (37 tests) 391ms ✓ src/models/modelsConfig.test.ts (41 tests) 42ms ✓ src/core/openaiContentGenerator/provider/dashscope.test.ts (41 tests) 37ms ✓ src/tools/memoryTool.test.ts (29 tests) 87ms ✓ src/core/logger.test.ts (38 tests) 142ms ✓ src/extension/extensionSettings.test.ts (23 tests) 77ms ✓ src/lsp/NativeLspService.integration.test.ts (30 tests) 34ms ✓ src/services/sessionService.test.ts (25 tests) 81ms ✓ src/telemetry/uiTelemetry.test.ts (21 tests) 48ms ✓ src/core/prompts.test.ts (51 tests) 49ms ✓ src/utils/editor.test.ts (127 tests) 101ms ✓ src/utils/filesearch/fileSearch.test.ts (27 tests) 110ms ✓ src/models/modelRegistry.test.ts (35 tests) 28ms ✓ src/utils/retry.test.ts (29 tests) 53ms ✓ src/tools/read-file.test.ts (27 tests) 341ms ✓ src/core/turn.test.ts (20 tests) 44ms ✓ src/qwen/qwenContentGenerator.test.ts (44 tests) 324ms ✓ src/config/config.test.ts (75 tests) 295ms ✓ src/core/openaiContentGenerator/converter.test.ts (49 tests) 62ms ✓ src/subagents/subagent.test.ts (20 tests | 2 skipped) 254ms ✓ src/tools/write-file.test.ts (34 tests) 389ms ✓ src/subagents/subagent-manager.test.ts (52 tests) 133ms ✓ src/extension/extensionManager.test.ts (34 tests) 208ms ✓ src/tools/edit.test.ts (54 tests) 369ms ✓ src/telemetry/loggers.test.ts (24 tests) 206ms (node:7561) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/tools/shell.test.ts (53 tests) 455ms ✓ src/core/coreToolScheduler.test.ts (36 tests) 485ms ✓ src/ide/ide-client.test.ts (18 tests) 43ms ✓ src/core/client.test.ts (48 tests) 568ms ✓ src/core/tokenLimits.test.ts (69 tests) 23ms ✓ src/utils/shell-utils.test.ts (69 tests) 95ms ✓ src/utils/systemEncoding.test.ts (39 tests) 103ms ✓ src/utils/workspaceContext.test.ts (34 tests) 30ms ✓ src/mcp/oauth-token-storage.test.ts (28 tests) 100ms ✓ src/subagents/validation.test.ts (37 tests) 29ms ✓ src/utils/filesearch/crawler.test.ts (18 tests) 106ms ✓ src/services/chatCompressionService.test.ts (19 tests) 74ms ✓ src/utils/memoryDiscovery.test.ts (14 tests) 88ms ✓ src/tools/skill.test.ts (21 tests) 54ms ✓ src/skills/skill-manager.test.ts (33 tests) 50ms ✓ src/ide/ideContext.test.ts (23 tests) 25ms ✓ src/telemetry/metrics.test.ts (38 tests) 2667ms ✓ src/utils/pathReader.test.ts (16 tests) 94ms ✓ src/utils/openaiLogger.test.ts (25 tests) 228ms ✓ src/telemetry/qwen-logger/qwen-logger.test.ts (23 tests) 121ms ✓ src/core/openaiContentGenerator/errorHandler.test.ts (36 tests) 36ms ✓ src/utils/ignorePatterns.test.ts (28 tests) 24ms ✓ src/mcp/oauth-utils.test.ts (25 tests) 29ms ✓ src/utils/partUtils.test.ts (37 tests) 13ms ✓ src/tools/ls.test.ts (22 tests) 340ms ✓ src/core/baseLlmClient.test.ts (18 tests) 46ms ✓ src/core/geminiContentGenerator/geminiContentGenerator.test.ts (10 tests) 46ms ✓ src/core/loggingContentGenerator/loggingContentGenerator.test.ts (4 tests) 58ms ✓ src/subagents/subagent-statistics.test.ts (30 tests) 43ms ✓ src/utils/request-tokenizer/textTokenizer.test.ts (31 tests) 82ms ✓ src/utils/getFolderStructure.test.ts (15 tests) 65ms ✓ src/core/anthropicContentGenerator/anthropicContentGenerator.test.ts (10 tests) 3070ms ✓ AnthropicContentGenerator > passes a QwenCode User-Agent header to the Anthropic SDK 841ms ✓ AnthropicContentGenerator > does not add the effort beta header when reasoning.effort is not set 332ms ✓ AnthropicContentGenerator > generateContent > omits thinking when request.config.thinkingConfig.includeThoughts is false 352ms ✓ src/tools/modifiable-tool.test.ts (11 tests) 49ms ✓ src/utils/generateContentResponseUtilities.test.ts (29 tests) 17ms ✓ src/tools/task.test.ts (23 tests) 85ms ✓ src/tools/glob.test.ts (37 tests) 4932ms ✓ GlobTool > file count truncation > should truncate results when more than 100 files are found 428ms ✓ GlobTool > file count truncation > should not truncate when exactly 100 files are found 1500ms ✓ GlobTool > file count truncation > should not truncate when fewer than 100 files are found 900ms ✓ GlobTool > file count truncation > should use correct singular/plural in truncation message for 1 file truncated 306ms ✓ src/core/__tests__/openaiTimeoutHandling.test.ts (12 tests) 27ms ✓ src/utils/readManyFiles.test.ts (15 tests) 163ms ✓ src/extension/marketplace.test.ts (18 tests) 13ms ✓ src/output/json-formatter.test.ts (15 tests) 7ms ✓ src/core/geminiChat.test.ts (30 tests) 5217ms ✓ GeminiChat > sendMessageStream > should fail if the stream ends with an empty part and has no finishReason 560ms ✓ GeminiChat > sendMessageStream > should throw an error when a tool call is followed by an empty stream response 508ms ✓ GeminiChat > sendMessageStream > should throw InvalidStreamError when no tool call and no finish reason 509ms ✓ GeminiChat > sendMessageStream > should throw InvalidStreamError when no tool call and empty response text 505ms ✓ GeminiChat > sendMessageStream with retries > should yield a RETRY event when an invalid stream is encountered 505ms ✓ GeminiChat > sendMessageStream with retries > should retry on invalid content, succeed, and report metrics 517ms ✓ GeminiChat > sendMessageStream with retries > should fail after all retries on persistent invalid content and report metrics 507ms ✓ GeminiChat > should correctly retry and append to an existing history mid-conversation 513ms ✓ GeminiChat > should retry if the model returns a completely empty stream (no chunks) 504ms ✓ GeminiChat > should discard valid partial content from a failed attempt upon retry 505ms ✓ src/core/openaiContentGenerator/provider/default.test.ts (14 tests) 29ms ✓ src/tools/grep.test.ts (29 tests) 1984ms ✓ GrepTool > Result limiting > should respect custom limit parameter 437ms ✓ GrepTool > Result limiting > should not show truncation warning when all results fit 929ms ✓ src/tools/todoWrite.test.ts (17 tests) 129ms ✓ src/models/modelConfigResolver.test.ts (19 tests) 55ms ✓ src/skills/skill-load.test.ts (16 tests) 65ms ✓ src/mcp/token-storage/file-token-storage.test.ts (16 tests) 1143ms ✓ src/core/openaiContentGenerator/openaiContentGenerator.test.ts (13 tests) 19ms ✓ src/utils/envVarResolver.test.ts (16 tests) 45ms ✓ src/mcp/token-storage/hybrid-token-storage.test.ts (11 tests) 26ms ✓ src/services/gitService.test.ts (12 tests) 41ms ✓ src/utils/schemaValidator.test.ts (22 tests) 181ms ✓ src/utils/gitIgnoreParser.test.ts (20 tests) 119ms ✓ src/utils/request-tokenizer/requestTokenizer.test.ts (11 tests) 6ms ✓ src/mcp/token-storage/keychain-token-storage.test.ts (24 tests) 3481ms ✓ src/utils/subagentGenerator.test.ts (9 tests) 20ms ✓ src/utils/secure-browser-launcher.test.ts (14 tests) 41ms ✓ src/core/openaiContentGenerator/provider/openrouter.test.ts (12 tests) 10ms ✓ src/utils/environmentContext.test.ts (7 tests) 65ms ✓ src/utils/yaml-parser.test.ts (18 tests) 7ms ✓ src/utils/editHelper.test.ts (17 tests) 13ms ✓ src/utils/debugLogger.test.ts (12 tests) 77ms ✓ src/utils/terminalSerializer.test.ts (16 tests) 184ms ✓ src/services/fileDiscoveryService.test.ts (13 tests) 50ms ✓ src/mcp/token-storage/base-token-storage.test.ts (12 tests) 6ms ✓ src/tools/tools.test.ts (11 tests) 24ms ✓ src/services/fileSystemService.test.ts (10 tests) 19ms ✓ src/tools/diffOptions.test.ts (9 tests) 11ms ✓ src/mcp/sa-impersonation-provider.test.ts (8 tests) 15ms ✓ src/ide/ide-installer.test.ts (10 tests) 47ms ✓ src/ide/process-utils.test.ts (6 tests) 11ms ✓ src/utils/request-tokenizer/imageTokenizer.test.ts (9 tests) 7ms ✓ src/extension/gemini-converter.test.ts (9 tests) 7ms ✓ src/utils/filesearch/ignore.test.ts (12 tests) 48ms ✓ src/tools/mcp-client.test.ts (26 tests) 67ms ✓ src/tools/tool-registry.test.ts (9 tests) 118ms ✓ src/extension/github.test.ts (28 tests) 171ms ✓ src/ide/detect-ide.test.ts (14 tests) 6ms ✓ src/utils/safeJsonParse.test.ts (14 tests) 19ms ✓ src/extension/override.test.ts (16 tests) 5ms ✓ src/utils/quotaErrorDetection.test.ts (17 tests) 8ms ✓ src/extension/settings.test.ts (10 tests) 27ms ✓ src/utils/errorReporting.test.ts (5 tests) 12ms ✓ src/utils/filesearch/crawlCache.test.ts (9 tests) 13ms ✓ src/utils/configResolver.test.ts (12 tests) 5ms ✓ src/utils/schemaConverter.test.ts (12 tests) 9ms ✓ src/services/chatRecordingService.test.ts (11 tests) 45ms ✓ src/core/openaiContentGenerator/provider/deepseek.test.ts (5 tests) 9ms ✓ src/telemetry/sdk.test.ts (6 tests) 72ms ✓ src/subagents/builtin-agents.test.ts (8 tests) 30ms ✓ src/lsp/NativeLspService.test.ts (3 tests) 32ms ✓ src/telemetry/config.test.ts (11 tests) 23ms ✓ src/utils/installationManager.test.ts (4 tests) 5ms ✓ src/extension/claude-converter.test.ts (11 tests) 50ms ✓ src/mcp/google-auth-provider.test.ts (8 tests) 17ms ✓ src/utils/errors.test.ts (12 tests) 18ms ✓ src/extension/storage.test.ts (5 tests) 6ms ✓ src/utils/runtimeFetchOptions.test.ts (4 tests) 15ms ✓ src/core/openaiContentGenerator/provider/modelscope.test.ts (5 tests) 7ms ✓ src/utils/errorParsing.test.ts (11 tests) 4ms ✓ src/core/nonInteractiveToolExecutor.test.ts (8 tests) 33ms ✓ src/utils/textUtils.test.ts (12 tests) 37ms ✓ src/utils/thoughtUtils.test.ts (11 tests) 9ms ✓ src/utils/toml-to-markdown-converter.test.ts (10 tests) 16ms ✓ src/core/geminiRequest.test.ts (12 tests) 3ms ✓ src/utils/rateLimit.test.ts (10 tests) 12ms ✓ src/utils/safeJsonStringify.test.ts (8 tests) 4ms ✓ src/utils/fetch.test.ts (3 tests) 4ms ✓ src/utils/qwenIgnoreParser.test.ts (2 tests) 14ms ✓ src/lsp/LspConfigLoader.test.ts (2 tests) 87ms ✓ src/config/storage.test.ts (5 tests) 9ms ✓ src/utils/filesearch/result-cache.test.ts (3 tests) 4ms ✓ src/tools/web-search/index.test.ts (10 tests) 105ms ✓ src/core/contentGenerator.test.ts (4 tests) 186ms ✓ src/subagents/types.test.ts (3 tests) 25ms ✓ src/telemetry/telemetry-utils.test.ts (6 tests) 3ms ✓ src/extension/variables.test.ts (1 test) 3ms ✓ src/index.test.ts (1 test) 2ms ✓ src/tools/mcp-client-manager.test.ts (7 tests) 17ms ✓ src/utils/nextSpeakerChecker.test.ts (10 tests) 24ms ✓ src/tools/exitPlanMode.test.ts (16 tests) 24ms ✓ src/utils/shellReadOnlyChecker.test.ts (33 tests) 19ms ✓ src/utils/summarizer.test.ts (8 tests) 69ms ✓ src/core/geminiContentGenerator/index.test.ts (1 test) 4ms ✓ src/tools/web-fetch.test.ts (7 tests) 90ms ✓ src/utils/ripgrepUtils.test.ts (6 tests) 4ms ✓ src/utils/tool-utils.test.ts (19 tests) 6ms ✓ src/telemetry/telemetry.test.ts (2 tests) 17ms Test Files 166 passed (166) Tests 3669 passed | 2 skipped (3671) Start at 03:13:08 Duration 25.35s (transform 31.41s, setup 6.29s, collect 312.69s, tests 38.10s, environment 58ms, prepare 32.84s) JUNIT report written to /startdir/src/qwen-code/packages/core/junit.xml % Coverage report from v8 > @qwen-code/sdk@0.1.4 test > vitest run RUN v1.6.1 /startdir/src/qwen-code/packages/sdk-typescript ✓ test/unit/cliPath.test.ts (33 tests) 20ms 2026-02-27 03:13:37 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-02-27 03:13:37 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process error: Spawn failed 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process terminated by signal SIGTERM (node:10499) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process error: Process error 2026-02-27 03:13:37 [DEBUG] [ProcessTransport] Spawning CLI (native): qwen --input-format stream-json --output-format stream-json --channel=SDK ✓ test/unit/ProcessTransport.test.ts (66 tests) 103ms 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process error: Process error 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-02-27 03:13:37 [ERROR] [ProcessTransport] CLI process terminated by signal SIGKILL 2026-02-27 03:13:37 [INFO] [ProcessTransport] CLI process started successfully 2026-02-27 03:13:37 [DEBUG] [ProcessTransport] Forking CLI (node): /path/to/cli.js --input-format stream-json --output-format stream-json --channel=SDK 2026-02-27 03:13:37 [INFO] [ProcessTransport] CLI process started successfully ✓ test/unit/createSdkMcpServer.test.ts (18 tests) 22ms 2026-02-27 03:13:37 [ERROR] [Query] Control response error for request beb84604-5641-4c85-be5f-c77613be3573: Test error 2026-02-27 03:13:37 [ERROR] [Query] Initialization error: Test error ✓ test/unit/Stream.test.ts (20 tests) 10ms 2026-02-27 03:13:49 [ERROR] [Query] Initialization error: Query is closed 2026-02-27 03:14:00 [ERROR] [Query] Control response error for request 62c5e618-4be9-4a92-874a-893ac1f3d3a2: Malformed error ✓ test/unit/Query.test.ts (53 tests) 23724ms Test Files 5 passed (5) Tests 190 passed (190) Start at 03:13:36 Duration 24.56s (transform 844ms, setup 0ms, collect 1.49s, tests 23.88s, environment 1ms, prepare 401ms) > qwen-code-vscode-ide-companion@0.10.6 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/vscode-ide-companion ✓ src/utils/acpModelInfo.test.ts (12 tests) 6ms stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > current_model_update handling > calls onModelChanged callback with model info [SessionUpdateHandler] Processing update type: current_model_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > current_model_update handling > handles model update with _meta field [SessionUpdateHandler] Processing update type: current_model_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > current_model_update handling > does not call callback when onModelChanged is not set [SessionUpdateHandler] Processing update type: current_model_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > current_mode_update handling > calls onModeChanged callback with mode id [SessionUpdateHandler] Processing update type: current_mode_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > agent_message_chunk handling > calls onStreamChunk callback with text content [SessionUpdateHandler] Processing update type: agent_message_chunk stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > agent_message_chunk handling > emits usage metadata when present [SessionUpdateHandler] Processing update type: agent_message_chunk stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > tool_call handling > calls onToolCall callback with tool call data [SessionUpdateHandler] Processing update type: tool_call stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > plan handling > calls onPlan callback with plan entries [SessionUpdateHandler] Processing update type: plan stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > plan handling > falls back to stream chunk when onPlan is not set [SessionUpdateHandler] Processing update type: plan stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > calls onAvailableCommands callback with commands [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > handles commands with input hint [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > does not call callback when onAvailableCommands is not set [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > handles empty commands list [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > updateCallbacks > updates callbacks and uses new ones [SessionUpdateHandler] Processing update type: current_model_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > updateCallbacks > updates onAvailableCommands callback [SessionUpdateHandler] Processing update type: available_commands_update ✓ src/services/qwenSessionUpdateHandler.test.ts (15 tests) 24ms stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > sends session/set_model request with correct parameters [ACP] Sending session/set_model: qwen3-coder-plus stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > sends session/set_model request with correct parameters [ACP] set_model response: { modeId: 'default', modelId: 'test-model' } stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > increments request ID for each call [ACP] Sending session/set_model: model-1 stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > increments request ID for each call [ACP] set_model response: { modeId: 'default', modelId: 'test-model' } stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > increments request ID for each call [ACP] Sending session/set_model: model-2 stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setModel > increments request ID for each call [ACP] set_model response: { modeId: 'default', modelId: 'test-model' } stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setMode > sends session/set_mode request with correct parameters [ACP] Sending session/set_mode: auto-edit stdout | src/services/acpSessionManager.test.ts > AcpSessionManager > setMode > sends session/set_mode request with correct parameters [ACP] set_mode response: { modeId: 'default', modelId: 'test-model' } ✓ src/webview/utils/utils.test.ts (15 tests) 5ms stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths and includes request metadata in workspace files [FileMessageHandler] handleGetWorkspaceFiles start { query: 'txt', requestId: 7 } [FileMessageHandler] Searching workspace files for query txt stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths and includes request metadata in workspace files [FileMessageHandler] Sent final workspaceFiles 1 ✓ src/services/acpSessionManager.test.ts (5 tests) 64ms ✓ src/webview/handlers/FileMessageHandler.test.ts (1 test) 6ms ✓ src/open-files-manager.test.ts (17 tests) 39ms ✓ src/ide-server.test.ts (13 tests | 1 skipped) 152ms stderr | src/extension.test.ts > activate > should not show the info message on subsequent activations [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > should register a handler for onDidGrantWorkspaceTrust [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > should launch the Qwen Code when the user clicks the button [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should show an update notification if a newer version is available [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should not show an update notification if the version is the same [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > does not show the notification for 'cloudshell' [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > does not show the notification for 'firebasestudio' [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should not show an update notification if the version is older [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should execute the install command when the user clicks "Update" [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should handle fetch errors gracefully [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance ✓ src/extension.test.ts (11 tests) 78ms Test Files 8 passed (8) Tests 88 passed | 1 skipped (89) Start at 03:14:01 Duration 2.91s (transform 2.75s, setup 0ms, collect 6.50s, tests 374ms, environment 2ms, prepare 1.80s) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_39e0775f-23f1-46a9-bcfe-ab21fa2d8241/build