==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_2459e611-9ed7-4ff3-a268-45fc55302719]...done ==> Making package: qwen-code 0.13.1-1.1 (Sat Mar 28 01:09:12 2026) ==> Retrieving sources... -> Cloning qwen-code git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/qwen-code-0.13.1-1/qwen-code'... ==> Validating source files with sha256sums... qwen-code ... Passed ==> Validating source files with b2sums... qwen-code ... Passed ==> Making package: qwen-code 0.13.1-1.1 (Sat Mar 28 00:18:57 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (6) New Version Net Change extra/ada 3.4.4-1 1.08 MiB extra/c-ares 1.34.6-1 0.51 MiB extra/libuv 1.52.1-1 0.64 MiB extra/simdjson 1:4.4.2-1 7.49 MiB extra/nodejs 25.8.2-1 63.50 MiB extra/ripgrep 15.1.0-2 5.01 MiB Total Installed Size: 78.22 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing ada... 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 9.0.0-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.35-1 0.15 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.12.1-1 7.47 MiB Total Installed Size: 47.05 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/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead 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. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported added 1557 packages, and audited 1565 packages in 1m 414 packages are looking for funding run `npm fund` for details 34 vulnerabilities (2 low, 16 moderate, 15 high, 1 critical) 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. ==> Starting build()... > @qwen-code/qwen-code@0.13.1 build > node scripts/build.js > @qwen-code/qwen-code@0.13.1 generate > node scripts/generate-git-commit-info.js > @qwen-code/qwen-code-test-utils@0.13.1 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/qwen-code-core@0.13.1 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/web-templates@0.13.1 build > node build.mjs && tsc --build --clean && tsc Building web-templates... Building insight assets with Vite... vite v5.4.21 building for production... transforming... ✓ 7 modules transformed. rendering chunks... computing gzip size... dist/main.css 17.77 kB │ gzip: 4.28 kB dist/main.js 31.01 kB │ gzip: 8.25 kB ✓ built in 404ms Reading generated files... Successfully generated /startdir/src/qwen-code/packages/web-templates/src/generated/insightTemplate.ts Successfully built all web-templates. > @qwen-code/qwen-code@0.13.1 build > node ../../scripts/build_package.js Successfully copied files. Generated settings JSON Schema at: /startdir/src/qwen-code/packages/vscode-ide-companion/schemas/settings.schema.json > @qwen-code/webui@0.13.1 build > vite build vite v5.4.21 building for production... transforming... ✓ 152 modules transformed. rendering chunks... [vite:dts] Start generate declaration files... computing gzip size... dist/styles.css 79.89 kB │ gzip: 14.91 kB dist/index.js 359.12 kB │ gzip: 91.94 kB │ map: 782.38 kB [vite:dts] Start rollup declaration files... Analysis will use the bundled TypeScript version 5.8.2 [vite:dts] Declaration files built in 4006ms. dist/styles.css 79.89 kB │ gzip: 14.91 kB dist/index.cjs 367.52 kB │ gzip: 92.54 kB │ map: 786.88 kB dist/styles.css 79.89 kB │ gzip: 14.91 kB dist/index.umd.js 389.06 kB │ gzip: 93.53 kB │ map: 789.75 kB ✓ built in 5.87s > @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 7.22s > qwen-code-vscode-ide-companion@0.13.1 build > npm run build:dev > qwen-code-vscode-ide-companion@0.13.1 build:dev > npm run check-types && npm run lint && node esbuild.js > qwen-code-vscode-ide-companion@0.13.1 check-types > tsc --noEmit > qwen-code-vscode-ide-companion@0.13.1 lint > eslint src > @qwen-code/qwen-code@0.13.1 bundle > npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js > @qwen-code/qwen-code@0.13.1 generate > node scripts/generate-git-commit-info.js Copied sandbox profiles to dist/ Copying vendor directory... Copied vendor directory to dist/ Copied bundled skills to dist/bundled/ ✅ All bundle assets copied to dist/ ==> Starting check()... > @qwen-code/qwen-code@0.13.1 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.13.1 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/cli Coverage enabled with v8 ✓ src/ui/hooks/atCommandProcessor.test.ts (42 tests) 99ms ✓ src/services/insight/generators/DataProcessor.test.ts (38 tests) 28ms ✓ src/utils/nonInteractiveHelpers.test.ts (60 tests) 18ms ✓ src/utils/settingsUtils.test.ts (73 tests) 13ms ✓ src/services/FileCommandLoader.test.ts (39 tests) 93ms ✓ src/ui/components/shared/vim-buffer-actions.test.ts (74 tests) 21ms ✓ src/ui/commands/languageCommand.test.ts (47 tests) 40ms ✓ src/ui/components/shared/text-buffer.test.ts (115 tests) 138ms ✓ src/config/settings.test.ts (87 tests) 43ms ✓ src/services/prompt-processors/shellProcessor.test.ts (34 tests) 34ms ✓ src/ui/hooks/useSelectionList.test.ts (45 tests) 77ms ✓ src/ui/hooks/vim.test.ts (87 tests) 392ms ✓ src/ui/contexts/KeypressContext.test.tsx (89 tests) 240ms ✓ src/ui/hooks/useGeminiStream.test.tsx (49 tests) 604ms ✓ src/config/config.test.ts (169 tests | 2 skipped) 638ms ✓ src/nonInteractive/io/StreamJsonOutputAdapter.test.ts (48 tests) 31ms ✓ src/nonInteractive/io/BaseJsonOutputAdapter.test.ts (93 tests) 34ms ✓ src/nonInteractive/control/ControlDispatcher.test.ts (34 tests) 27ms ✓ src/nonInteractiveCli.test.ts (29 tests | 1 skipped) 106ms ✓ src/acp-integration/session/emitters/ToolCallEmitter.test.ts (33 tests) 16ms ✓ src/ui/hooks/useToolScheduler.test.ts (17 tests) 44ms ✓ src/utils/errors.test.ts (33 tests) 20ms ✓ src/ui/hooks/slashCommandProcessor.test.ts (35 tests) 2000ms ✓ src/utils/modelConfigUtils.test.ts (28 tests) 25ms ✓ src/acp-integration/session/SubAgentTracker.test.ts (24 tests) 268ms ✓ src/ui/AppContainer.test.tsx (32 tests) 264ms ✓ src/ui/hooks/useSlashCompletion.test.ts (22 tests) 442ms ✓ src/ui/hooks/shellCommandProcessor.test.ts (20 tests) 416ms ✓ src/nonInteractive/io/JsonOutputAdapter.test.ts (35 tests) 35ms ✓ src/ui/components/agent-view/agentHistoryAdapter.test.ts (32 tests) 32ms ✓ src/ui/hooks/useCodingPlanUpdates.test.ts (15 tests) 165ms ✓ src/utils/languageUtils.test.ts (44 tests) 34ms ✓ src/config/migration/versions/v2-to-v3.test.ts (31 tests) 37ms ✓ src/validateNonInterActiveAuth.test.ts (13 tests) 63ms ❯ src/ui/auth/AuthDialog.test.tsx (12 tests | 2 failed) 1243ms ✓ AuthDialog > should show an error if the initial auth type is invalid 114ms ✓ AuthDialog > GEMINI_API_KEY environment variable > should detect GEMINI_API_KEY environment variable 24ms ✓ AuthDialog > GEMINI_API_KEY environment variable > should not show the GEMINI_API_KEY message if QWEN_DEFAULT_AUTH_TYPE is set to something else 22ms ✓ AuthDialog > GEMINI_API_KEY environment variable > should show the GEMINI_API_KEY message if QWEN_DEFAULT_AUTH_TYPE is set to use api key 16ms ✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should select the auth type specified by QWEN_DEFAULT_AUTH_TYPE 21ms ✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should fall back to default if QWEN_DEFAULT_AUTH_TYPE is not set 29ms ✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should show an error and fall back to default if QWEN_DEFAULT_AUTH_TYPE is invalid 23ms ✓ AuthDialog > should prevent exiting when no auth method is selected and show error message 148ms ✓ AuthDialog > should not exit if there is already an error message 141ms ✓ AuthDialog > should allow exiting when auth method is already selected 134ms × AuthDialog > shows API Key subtype menu and opens custom info 246ms → expected '┌────────────────────────────────────…' to contain 'Custom Configuration' × AuthDialog > shows Alibaba Cloud ModelStudio Standard API Key region endpoint 322ms → expected '┌────────────────────────────────────…' to contain 'Enter Alibaba Cloud ModelStudio Stand…' ✓ src/ui/hooks/useAutoAcceptIndicator.test.ts (15 tests) 128ms ✓ src/ui/components/SettingsDialog.test.tsx (53 tests) 4672ms ✓ SettingsDialog > Output Language > treats empty output language as auto 320ms ✓ SettingsDialog > Complex User Interactions > should maintain state consistency during complex interactions 309ms ✓ SettingsDialog > String Settings Editing > should allow editing and committing a string setting 657ms Select an option: > Option 1 - First option Option 2 - Second option Option 3 - Third option (Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit) Select an option: > Option 1 - First option Option 2 - Second option Option 3 - Third option (Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit) ✓ src/commands/auth/interactiveSelector.test.ts (15 tests) 68ms ✓ src/ui/keyMatchers.test.ts (34 tests) 32ms ✓ src/ui/commands/memoryCommand.test.ts (17 tests) 63ms ✓ src/nonInteractive/session.test.ts (21 tests) 88ms ✓ src/ui/hooks/useExtensionUpdates.test.ts (15 tests) 383ms ✓ src/services/McpPromptLoader.test.ts (25 tests) 49ms ✓ src/acp-integration/session/Session.test.ts (14 tests) 138ms ✓ src/ui/commands/btwCommand.test.ts (20 tests) 91ms ✓ src/ui/utils/commandUtils.test.ts (26 tests) 95ms ✓ src/ui/commands/exportCommand.test.ts (14 tests) 43ms ✓ src/ui/components/shared/BaseSelectionList.test.tsx (26 tests | 1 skipped) 571ms ✓ src/ui/hooks/useCommandCompletion.test.ts (17 tests) 155ms ✓ src/acp-integration/session/HistoryReplayer.test.ts (16 tests) 22ms ✓ src/config/trustedFolders.test.ts (21 tests) 17ms ✓ src/ui/hooks/useQwenAuth.test.ts (17 tests) 55ms (node:2565) 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/QwenOAuthProgress.test.tsx (18 tests) 358ms ✓ src/ui/hooks/useAtCompletion.test.ts (13 tests) 1217ms ✓ src/config/migration/index.test.ts (26 tests) 27ms ✓ src/commands/extensions/settings.test.ts (20 tests) 107ms ✓ src/ui/components/messages/DiffRenderer.test.tsx (16 tests) 440ms ✓ src/services/CommandService.test.ts (11 tests) 21ms ✓ src/ui/components/StandaloneSessionPicker.test.tsx (15 tests) 2444ms 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/config/config.integration.test.ts (19 tests) 598ms ✓ Configuration Integration Tests > Approval Mode Integration Tests > should parse --approval-mode=auto-edit correctly through the full argument parsing flow 497ms ✓ src/ui/components/LoadingIndicator.test.tsx (22 tests) 94ms ✓ src/ui/components/ModelDialog.test.tsx (10 tests) 143ms ✓ src/ui/commands/arenaCommand.test.ts (14 tests) 17ms ✓ src/commands/extensions/consent.test.ts (17 tests) 12ms ✓ src/commands/extensions/update.test.ts (14 tests) 22ms ✓ src/utils/installationInfo.test.ts (16 tests) 14ms ✓ src/commands/mcp/add.test.ts (20 tests) 104ms ✓ src/ui/components/messages/ToolMessage.test.tsx (15 tests) 83ms ✓ src/config/settingsSchema.test.ts (14 tests) 13ms ✓ src/utils/systemInfo.test.ts (15 tests) 19ms ✓ src/ui/components/shared/MaxSizedBox.test.tsx (21 tests) 105ms 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:1478 throw err; ^ Error: Cannot find module '/app/cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1475:15) at wrapResolveFilename (node:internal/modules/cjs/loader:1048:27) at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1072:10) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1093:12) at Module._load (node:internal/modules/cjs/loader:1261: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.8.2 Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED ✓ src/ui/components/messages/ToolGroupMessage.test.tsx (14 tests) 94ms ✓ src/utils/envVarResolver.test.ts (16 tests) 7ms ✓ src/utils/relaunch.test.ts (8 tests) 40ms ✓ src/ui/components/StatsDisplay.test.tsx (12 tests) 209ms (node:3330) 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/commands/restoreCommand.test.ts (13 tests) 44ms ✓ src/utils/writeWithBackup.test.ts (12 tests) 10ms ✓ src/ui/components/Composer.test.tsx (14 tests) 90ms ✓ src/services/prompt-processors/injectionParser.test.ts (21 tests) 10ms ✓ src/services/FileCommandLoader-extension.test.ts (6 tests) 36ms ✓ src/utils/handleAutoUpdate.test.ts (9 tests) 15ms ]2;Qwen - cli]2;Qwen - root]2;Qwen - root]2;Qwen - root ✓ src/gemini.test.tsx (11 tests) 555ms ✓ gemini.tsx main function > verifies that we dont load the config before relaunchAppInChildProcess 525ms ✓ src/ui/hooks/useKeypress.test.ts (15 tests) 74ms ✓ src/ui/commands/copyCommand.test.ts (11 tests) 12ms ✓ src/ui/themes/color-utils.test.ts (16 tests) 8ms ✓ src/ui/commands/ideCommand.test.ts (8 tests) 20ms ✓ src/ui/utils/resumeHistoryUtils.test.ts (4 tests) 6ms ✓ src/ui/hooks/useLoadingIndicator.test.ts (8 tests) 54ms ✓ src/ui/hooks/useInputHistoryStore.test.ts (14 tests) 40ms ✓ src/ui/commands/aboutCommand.test.ts (7 tests) 13ms ✓ src/ui/hooks/useEditorSettings.test.ts (10 tests) 38ms ✓ src/ui/hooks/useShellHistory.test.ts (7 tests) 566ms ✓ src/ui/hooks/useInputHistory.test.ts (11 tests) 44ms ✓ src/ui/components/messages/AskUserQuestionDialog.test.tsx (13 tests) 1086ms ✓ src/ui/utils/computeStats.test.ts (12 tests) 6ms ✓ src/ui/hooks/useTrustModify.test.ts (8 tests) 36ms ✓ src/config/migration/versions/v1-to-v2.test.ts (20 tests) 10ms ✓ src/acp-integration/session/emitters/PlanEmitter.test.ts (17 tests) 7ms ✓ src/config/auth.test.ts (13 tests) 10ms ✓ src/services/prompt-processors/atFileProcessor.test.ts (11 tests) 16ms ✓ src/ui/components/hooks/constants.test.ts (25 tests) 14ms ✓ src/ui/components/hooks/HookConfigDetailStep.test.tsx (14 tests) 184ms ✓ src/utils/gitUtils.test.ts (24 tests) 22ms ✓ src/ui/hooks/useReverseSearchCompletion.test.tsx (10 tests) 44ms ✓ src/services/BuiltinCommandLoader.test.ts (9 tests) 9ms ✓ src/acp-integration/session/emitters/MessageEmitter.test.ts (13 tests) 10ms ✓ src/services/command-migration-tool.test.ts (13 tests) 58ms ✓ src/ui/components/InputPrompt.test.tsx (101 tests | 1 skipped) 14320ms ✓ InputPrompt > paste auto-submission protection > should allow submission after paste protection timeout 789ms ✓ InputPrompt > large paste placeholder > should expand placeholder to full content on submit 769ms ✓ InputPrompt > large paste placeholder > should expand same-size placeholders correctly when #2 appears first 829ms ✓ InputPrompt > large paste placeholder > should write expanded placeholder content to shell history 771ms ✓ src/ui/hooks/useHistoryManager.test.ts (8 tests) 38ms ✓ src/ui/components/HistoryItemDisplay.test.tsx (13 tests) 255ms ✓ src/ui/hooks/usePhraseCycler.test.ts (9 tests) 44ms ✓ src/commands/extensions/install.test.ts (8 tests) 18ms ✓ src/ui/utils/textUtils.test.ts (9 tests) 4ms ✓ src/ui/commands/setupGithubCommand.test.ts (8 tests) 40ms ✓ src/ui/hooks/useMessageQueue.test.ts (9 tests) 36ms ✓ src/ui/hooks/useIdeTrustListener.test.ts (5 tests) 36ms ✓ src/commands/auth/status.test.ts (9 tests) 12ms ✓ src/nonInteractive/io/StreamJsonInputReader.test.ts (11 tests) 16ms ✓ src/nonInteractiveCliCommands.test.ts (10 tests) 9ms ✓ src/ui/hooks/useGitBranchName.test.ts (7 tests | 2 skipped) 86ms ✓ src/ui/hooks/useResumeCommand.test.ts (6 tests) 39ms ✓ src/ui/utils/formatters.test.ts (28 tests) 29ms ✓ src/ui/components/PluginChoicePrompt.test.tsx (12 tests) 194ms ✓ src/ui/components/messages/CompressionMessage.test.tsx (8 tests) 132ms ✓ src/ui/components/messages/ToolConfirmationMessage.test.tsx (13 tests) 399ms 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) 15ms ✓ src/commands/mcp/list.test.ts (4 tests) 11ms ✓ src/ui/components/ModelStatsDisplay.test.tsx (6 tests) 281ms ✓ src/ui/hooks/useFolderTrust.test.ts (9 tests) 45ms ✓ src/ui/commands/directoryCommand.test.tsx (7 tests) 34ms ✓ src/ui/commands/extensionsCommand.test.ts (7 tests) 24ms ✓ src/ui/utils/highlight.test.ts (16 tests) 6ms ✓ src/ui/commands/approvalModeCommand.test.ts (13 tests) 35ms ✓ src/ui/components/hooks/HookDetailStep.test.tsx (12 tests) 291ms ✓ src/utils/deepMerge.test.ts (13 tests) 9ms ✓ src/ui/utils/MarkdownDisplay.test.tsx (31 tests) 765ms ✓ src/ui/themes/theme-manager.test.ts (12 tests) 14ms ✓ src/ui/components/TrustDialog.test.tsx (6 tests) 288ms ✓ src/utils/commands.test.ts (12 tests) 9ms ✓ src/ui/contexts/SessionContext.test.tsx (4 tests) 126ms ✓ src/ui/models/availableModels.test.ts (14 tests) 55ms ✓ src/ui/commands/clearCommand.test.ts (4 tests) 21ms ✓ src/ui/components/shared/RadioButtonSelect.test.tsx (5 tests) 39ms ✓ src/ui/commands/initCommand.test.ts (5 tests) 20ms ✓ src/config/migration/scheduler.test.ts (7 tests) 17ms ✓ src/ui/components/mcp/utils.test.ts (16 tests) 12ms ✓ src/ui/components/hooks/HooksListStep.test.tsx (9 tests) 134ms ✓ src/ui/commands/bugCommand.test.ts (3 tests) 25ms ✓ src/ui/hooks/useAttentionNotifications.test.ts (6 tests) 38ms ✓ src/ui/utils/updateCheck.test.ts (9 tests) 13ms ✓ src/ui/components/ToolStatsDisplay.test.tsx (5 tests) 154ms ✓ src/acp-integration/service/filesystem.test.ts (4 tests) 11ms ✓ src/services/markdown-command-parser.test.ts (13 tests) 10ms ✓ src/commands/extensions/utils.test.ts (6 tests) 16ms ✓ src/ui/hooks/useTimer.test.ts (8 tests) 73ms ✓ src/ui/components/extensions/ExtensionsManagerDialog.test.tsx (4 tests) 128ms ✓ src/services/FileCommandLoader-markdown.test.ts (4 tests) 59ms ✓ src/ui/components/AnsiOutput.test.tsx (6 tests) 74ms ✓ src/ui/commands/mcpCommand.test.ts (6 tests) 22ms ✓ src/services/BundledSkillLoader.test.ts (7 tests) 14ms ✓ src/ui/hooks/useFocus.test.ts (6 tests) 54ms ✓ src/ui/components/views/McpStatus.test.tsx (12 tests) 182ms ✓ src/ui/commands/compressCommand.test.ts (5 tests) 31ms ✓ src/commands/extensions/disable.test.ts (7 tests) 38ms ✓ src/ui/components/shared/EnumSelector.test.tsx (9 tests) 130ms ✓ src/ui/App.test.tsx (7 tests) 97ms ✓ src/ui/components/SessionSummaryDisplay.test.tsx (3 tests) 158ms ✓ src/ui/utils/clipboardUtils.test.ts (11 tests) 150ms ✓ src/ui/commands/modelCommand.test.ts (8 tests) 22ms ✓ src/commands/extensions/enable.test.ts (7 tests) 66ms ✓ src/ui/components/FolderTrustDialog.test.tsx (9 tests) 296ms ✓ src/ui/components/extensions/steps/ExtensionListStep.test.tsx (5 tests) 172ms ✓ src/commands/extensions/list.test.ts (4 tests) 17ms ✓ src/utils/userStartupWarnings.test.ts (5 tests) 24ms ✓ src/ui/components/PrepareLabel.test.tsx (6 tests) 61ms ✓ src/utils/readStdin.test.ts (4 tests) 7ms ✓ src/ui/commands/toolsCommand.test.ts (4 tests) 11ms ✓ src/ui/themes/theme.test.ts (5 tests) 5ms ✓ src/commands/mcp/remove.test.ts (4 tests) 29ms ✓ src/ui/components/SettingInputPrompt.test.tsx (6 tests) 80ms No extensions installed. 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.test.tsx (11 tests) 107ms ✓ src/ui/components/hooks/HooksManagementDialog.test.tsx (3 tests) 319ms ✓ src/commands/extensions/new.test.ts (4 tests) 86ms ✓ src/core/initializer.test.ts (2 tests) 12ms ✓ src/ui/components/Footer.test.tsx (6 tests) 171ms ✓ src/ui/components/AppHeader.test.tsx (3 tests) 164ms ✓ src/ui/components/extensions/steps/ActionSelectionStep.test.tsx (5 tests) 162ms ✓ src/ui/commands/docsCommand.test.ts (3 tests) 10ms ✓ src/ui/components/views/ExtensionsList.test.tsx (9 tests) 146ms ✓ src/ui/hooks/useMemoryMonitor.test.ts (3 tests) 36ms ✓ src/services/insight/generators/StaticInsightGenerator.test.ts (1 test) 24ms ✓ src/ui/components/ConsentPrompt.test.tsx (5 tests) 84ms ✓ src/ui/utils/markdownUtilities.test.ts (7 tests) 4ms ✓ src/utils/systemInfoFields.test.ts (2 tests) 6ms ✓ src/ui/components/QueuedMessageDisplay.test.tsx (5 tests) 43ms ✓ src/config/keyBindings.test.ts (3 tests) 12ms ✓ src/utils/windowTitle.test.ts (7 tests) 4ms ✓ src/commands/extensions/link.test.ts (4 tests) 56ms ✓ src/ui/utils/displayUtils.test.ts (8 tests) 9ms ✓ src/ui/components/ThemeDialog.test.tsx (2 tests) 647ms ✓ ThemeDialog Snapshots > should render correctly in theme selection mode 462ms ✓ src/ui/components/ContextSummaryDisplay.test.tsx (4 tests) 85ms ✓ src/ui/commands/terminalSetupCommand.test.ts (5 tests) 6ms ✓ src/config/modelProvidersScope.test.ts (4 tests) 11ms ✓ src/ui/components/Header.test.tsx (9 tests) 310ms ✓ src/ui/commands/hooksCommand.test.ts (4 tests) 11ms ✓ src/utils/startupWarnings.test.ts (4 tests) 8ms ✓ src/ui/utils/sessionPickerUtils.test.ts (7 tests) 12ms ✓ src/ui/components/TodoDisplay.test.tsx (6 tests) 52ms ✓ src/ui/commands/statsCommand.test.ts (3 tests) 76ms ✓ src/ui/components/shared/DescriptiveRadioButtonSelect.test.tsx (2 tests) 48ms ✓ src/ui/components/IdeTrustChangeDialog.test.tsx (6 tests) 255ms ✓ src/ui/hooks/useModelCommand.test.ts (3 tests) 41ms ✓ src/ui/components/Help.test.tsx (4 tests) 215ms ✓ src/test-utils/mockCommandContext.test.ts (3 tests) 8ms ✓ src/utils/attentionNotification.test.ts (4 tests) 14ms ✓ src/ui/commands/insightCommand.test.ts (1 test) 7ms ✓ src/ui/components/Tips.test.ts (6 tests) 23ms ✓ src/utils/cleanup.test.ts (4 tests) 5ms ✓ src/acp-integration/session/permissionUtils.test.ts (2 tests) 4ms ✓ src/commands/mcp.test.ts (3 tests) 31ms ✓ src/ui/components/ShellConfirmationDialog.test.tsx (4 tests) 217ms ✓ src/ui/commands/quitCommand.test.ts (1 test) 9ms ✓ src/ui/commands/helpCommand.test.ts (2 tests) 10ms ✓ src/services/prompt-processors/argumentProcessor.test.ts (2 tests) 12ms ✓ src/acp-integration/runtimeOutputDirContext.test.ts (1 test) 13ms ✓ src/ui/components/views/ToolsList.test.tsx (3 tests) 84ms ✓ src/ui/commands/resumeCommand.test.ts (2 tests) 20ms ✓ src/ui/commands/themeCommand.test.ts (2 tests) 9ms ✓ src/utils/acpModelUtils.test.ts (5 tests) 5ms ✓ src/ui/commands/permissionsCommand.test.ts (3 tests) 5ms ✓ src/ui/components/LoopDetectionConfirmation.test.tsx (2 tests) 73ms ✓ src/ui/commands/trustCommand.test.ts (3 tests) 7ms ✓ src/ui/commands/settingsCommand.test.ts (2 tests) 12ms ✓ src/ui/commands/authCommand.test.ts (2 tests) 5ms ✓ src/ui/commands/editorCommand.test.ts (2 tests) 14ms ✓ src/utils/processUtils.test.ts (1 test) 5ms ✓ src/ui/components/messages/BtwMessage.test.tsx (2 tests) 42ms ✓ src/commands/extensions/uninstall.test.ts (1 test) 14ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/ui/auth/AuthDialog.test.tsx > AuthDialog > shows API Key subtype menu and opens custom info AssertionError: expected '┌────────────────────────────────────…' to contain 'Custom Configuration' - Expected + Received - Custom Configuration + ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐ + │ │ + │ Select API Key Type │ + │ │ + │ › Alibaba Cloud ModelStudio Standard API Key │ + │ Quick setup for Model Studio (China/International) │ + │ │ + │ Custom API Key │ + │ For other OpenAI / Anthropic / Gemini-compatible providers │ + │ │ + │ Enter to select, ↑↓ to navigate, Esc to go back │ + │ │ + └──────────────────────────────────────────────────────────────────────────────────────────────────┘ ❯ src/ui/auth/AuthDialog.test.tsx:614:25 612| await wait(); 613| 614| expect(lastFrame()).toContain('Custom Configuration'); | ^ 615| unmount(); 616| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL src/ui/auth/AuthDialog.test.tsx > AuthDialog > shows Alibaba Cloud ModelStudio Standard API Key region endpoint AssertionError: expected '┌────────────────────────────────────…' to contain 'Enter Alibaba Cloud ModelStudio Stand…' - Expected + Received - Enter Alibaba Cloud ModelStudio Standard API Key + ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐ + │ │ + │ Select API Key Type │ + │ │ + │ Alibaba Cloud ModelStudio Standard API Key │ + │ Quick setup for Model Studio (China/International) │ + │ │ + │ › Custom API Key │ + │ For other OpenAI / Anthropic / Gemini-compatible providers │ + │ │ + │ Enter to select, ↑↓ to navigate, Esc to go back │ + │ │ + └──────────────────────────────────────────────────────────────────────────────────────────────────┘ ❯ src/ui/auth/AuthDialog.test.tsx:670:25 668| await wait(); 669| 670| expect(lastFrame()).toContain( | ^ 671| 'Enter Alibaba Cloud ModelStudio Standard API Key', 672| ); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed | 237 passed (238) Tests 2 failed | 3719 passed | 7 skipped (3728) Start at 00:21:17 Duration 57.89s (transform 33.85s, setup 5.78s, collect 808.26s, tests 47.89s, environment 124.58s, prepare 33.26s) 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.13.1 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.13.1 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/core Coverage enabled with v8 ✓ src/services/shellExecutionService.test.ts (47 tests) 308ms ✓ src/core/openaiContentGenerator/pipeline.test.ts (22 tests) 32ms ✓ src/mcp/oauth-provider.test.ts (22 tests) 271ms ✓ src/hooks/hookEventHandler.test.ts (89 tests) 99ms ✓ src/utils/memoryImportProcessor.test.ts (28 tests) 54ms ✓ src/tools/lsp.test.ts (69 tests) 735ms ✓ src/utils/fileUtils.test.ts (78 tests) 337ms (node:7746) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time. (Use `node --trace-warnings ...` to show where the warning was created) +----------------- 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/models/modelsConfig.test.ts (45 tests) 48ms ✓ src/qwen/qwenOAuth2.test.ts (81 tests) 2126ms ✓ getQwenOAuthClient - Enhanced Error Scenarios > should handle different authentication failure reasons - timeout 2059ms ✓ src/ide/ide-client.test.ts (32 tests) 135ms ✓ src/lsp/NativeLspService.test.ts (14 tests) 89ms ✓ src/tools/mcp-tool.test.ts (48 tests) 280ms ✓ src/tools/ripGrep.test.ts (44 tests) 312ms ✓ src/core/openaiContentGenerator/provider/dashscope.test.ts (43 tests) 82ms ✓ src/qwen/sharedTokenManager.test.ts (31 tests) 313ms ✓ src/core/openaiContentGenerator/streamingToolCallParser.test.ts (59 tests) 51ms ✓ src/services/chatCompressionService.test.ts (29 tests) 41ms ✓ src/core/toolHookTriggers.test.ts (47 tests) 33ms ✓ src/utils/paths.test.ts (105 tests) 28ms ✓ src/core/anthropicContentGenerator/converter.test.ts (29 tests) 20ms ✓ src/hooks/hookAggregator.test.ts (31 tests) 11ms ✓ src/telemetry/qwen-logger/qwen-logger.test.ts (33 tests) 59ms ✓ src/permissions/permission-manager.test.ts (179 tests) 205ms ✓ src/utils/shell-utils.test.ts (98 tests) 27ms ✓ src/core/openaiContentGenerator/converter.test.ts (64 tests) 43ms ✓ src/extension/extensionManager.test.ts (41 tests) 149ms ✓ src/qwen/qwenContentGenerator.test.ts (44 tests) 299ms ✓ src/telemetry/loggers.test.ts (34 tests) 119ms ✓ src/hooks/hookPlanner.test.ts (41 tests) 35ms ✓ src/core/turn.test.ts (23 tests) 56ms ✓ src/hooks/hookSystem.test.ts (60 tests) 189ms ✓ src/tools/write-file.test.ts (35 tests) 353ms ✓ src/tools/shell.test.ts (55 tests) 633ms ✓ src/subagents/subagent-manager.test.ts (53 tests) 253ms ✓ src/tools/agent.test.ts (39 tests) 113ms ✓ src/config/config.test.ts (79 tests) 632ms ✓ src/core/coreToolScheduler.test.ts (52 tests) 470ms ✓ src/tools/edit.test.ts (56 tests) 464ms ✓ src/agents/runtime/agent-headless.test.ts (23 tests | 2 skipped) 506ms ✓ src/core/client.test.ts (55 tests) 890ms ✓ src/agents/backends/ITermBackend.test.ts (46 tests) 91ms ✓ src/core/logger.test.ts (38 tests) 261ms ✓ src/lsp/NativeLspService.integration.test.ts (30 tests) 27ms ✓ src/utils/workspaceContext.test.ts (44 tests) 79ms ✓ src/utils/editor.test.ts (127 tests) 68ms ✓ src/extension/extensionSettings.test.ts (23 tests) 105ms ✓ src/utils/filesearch/fileSearch.test.ts (27 tests) 176ms ✓ src/core/prompts.test.ts (53 tests) 43ms ✓ src/skills/skill-manager.test.ts (40 tests) 69ms ✓ src/services/sessionService.test.ts (25 tests) 64ms ✓ src/tools/memoryTool.test.ts (26 tests) 85ms ✓ src/services/gitWorktreeService.test.ts (18 tests) 35ms ✓ src/services/loopDetectionService.test.ts (30 tests) 420ms ✓ src/hooks/hookRegistry.test.ts (23 tests) 36ms ✓ src/tools/read-file.test.ts (32 tests) 195ms ✓ src/agents/backends/TmuxBackend.test.ts (27 tests) 33ms ✓ src/permissions/shell-semantics.test.ts (52 tests) 41ms ✓ src/agents/arena/ArenaAgentClient.test.ts (21 tests) 30ms ✓ src/utils/systemEncoding.test.ts (41 tests) 44ms ✓ src/telemetry/metrics.test.ts (38 tests) 3271ms ✓ src/telemetry/uiTelemetry.test.ts (21 tests) 49ms ✓ src/utils/openaiLogger.test.ts (30 tests) 290ms ✓ src/utils/shellAstParser.test.ts (77 tests) 180ms ✓ src/extension/variables.test.ts (19 tests) 82ms ✓ src/mcp/oauth-token-storage.test.ts (28 tests) 23ms ✓ src/models/modelRegistry.test.ts (35 tests) 21ms ✓ src/tools/glob.test.ts (43 tests) 4208ms ✓ GlobTool > file count truncation > should truncate results when more than 100 files are found 499ms ✓ GlobTool > file count truncation > should not truncate when fewer than 100 files are found 778ms ✓ GlobTool > file count truncation > should use correct singular/plural in truncation message for 1 file truncated 420ms ✓ src/mcp/oauth-utils.test.ts (27 tests) 20ms ✓ src/tools/ls.test.ts (27 tests) 409ms ✓ src/utils/filesearch/crawler.test.ts (18 tests) 68ms ✓ src/utils/memoryDiscovery.test.ts (14 tests) 116ms ✓ src/agents/backends/InProcessBackend.test.ts (30 tests) 179ms ✓ src/subagents/validation.test.ts (36 tests) 17ms ✓ src/utils/pathReader.test.ts (16 tests) 75ms ✓ src/utils/retry.test.ts (29 tests) 32ms ✓ src/core/loggingContentGenerator/loggingContentGenerator.test.ts (5 tests) 47ms ✓ src/tools/todoWrite.test.ts (22 tests) 68ms ✓ src/core/tokenLimits.test.ts (51 tests) 54ms ✓ src/core/openaiContentGenerator/provider/default.test.ts (19 tests) 32ms ✓ src/ide/ideContext.test.ts (23 tests) 18ms ✓ src/tools/skill.test.ts (21 tests) 44ms ✓ src/services/fileSystemService.test.ts (26 tests) 40ms ✓ src/config/storage.test.ts (40 tests) 55ms ✓ src/core/openaiContentGenerator/errorHandler.test.ts (36 tests) 18ms ✓ src/utils/ignorePatterns.test.ts (28 tests) 18ms ✓ src/core/geminiChat.test.ts (35 tests) 6276ms ✓ GeminiChat > should correctly retry and append to an existing history mid-conversation 2012ms ✓ GeminiChat > should retry if the model returns a completely empty stream (no chunks) 2010ms ✓ GeminiChat > should discard valid partial content from a failed attempt upon retry 2008ms ✓ src/utils/partUtils.test.ts (37 tests) 24ms ✓ src/core/geminiContentGenerator/geminiContentGenerator.test.ts (10 tests) 11ms ✓ src/agents/runtime/agent-statistics.test.ts (32 tests) 27ms ✓ src/core/anthropicContentGenerator/anthropicContentGenerator.test.ts (15 tests) 4890ms ✓ AnthropicContentGenerator > passes a QwenCode User-Agent header to the Anthropic SDK 659ms ✓ AnthropicContentGenerator > merges customHeaders into defaultHeaders (does not replace defaults) 356ms ✓ AnthropicContentGenerator > adds the effort beta header when reasoning.effort is set 347ms ✓ AnthropicContentGenerator > generateContent > builds request with config sampling params (config overrides request) and thinking budget 393ms ✓ AnthropicContentGenerator > generateContent > output token limits > caps request.config.maxOutputTokens to model output limit when config max_tokens is missing 304ms ✓ AnthropicContentGenerator > generateContent > output token limits > uses conservative default when max_tokens is not explicitly configured 358ms ✓ AnthropicContentGenerator > generateContent > output token limits > respects configured max_tokens for unknown models 354ms ✓ AnthropicContentGenerator > countTokens > counts tokens using the request tokenizer 399ms ✓ src/core/baseLlmClient.test.ts (18 tests) 39ms ✓ src/utils/request-tokenizer/textTokenizer.test.ts (31 tests) 113ms ✓ src/utils/readManyFiles.test.ts (15 tests) 83ms ✓ src/tools/modifiable-tool.test.ts (11 tests) 31ms ✓ src/agents/backends/iterm-it2.test.ts (19 tests) 20ms ✓ src/utils/getFolderStructure.test.ts (15 tests) 150ms ✓ src/utils/generateContentResponseUtilities.test.ts (29 tests) 10ms ✓ src/core/__tests__/openaiTimeoutHandling.test.ts (12 tests) 59ms ✓ src/extension/marketplace.test.ts (18 tests) 63ms ✓ src/output/json-formatter.test.ts (15 tests) 17ms ✓ src/utils/environmentContext.test.ts (12 tests) 95ms ✓ src/skills/skill-load.test.ts (16 tests) 27ms ✓ src/core/openaiContentGenerator/openaiContentGenerator.test.ts (13 tests) 47ms ✓ src/extension/claude-converter.test.ts (16 tests) 137ms ✓ src/mcp/token-storage/file-token-storage.test.ts (16 tests) 1041ms ✓ src/hooks/hookRunner.test.ts (26 tests) 129ms ✓ src/models/modelConfigResolver.test.ts (19 tests) 29ms ✓ src/utils/schemaValidator.test.ts (22 tests) 154ms ✓ src/utils/debugLogger.test.ts (17 tests) 38ms ✓ src/mcp/token-storage/hybrid-token-storage.test.ts (11 tests) 49ms ✓ src/services/gitService.test.ts (12 tests) 48ms ✓ src/utils/gitIgnoreParser.test.ts (20 tests) 82ms ✓ src/mcp/token-storage/keychain-token-storage.test.ts (24 tests) 3166ms ✓ src/utils/envVarResolver.test.ts (16 tests) 31ms ✓ src/agents/runtime/agent-interactive.test.ts (19 tests) 654ms ✓ src/utils/request-tokenizer/requestTokenizer.test.ts (11 tests) 28ms ✓ src/utils/subagentGenerator.test.ts (9 tests) 15ms ✓ src/utils/truncation.test.ts (10 tests) 18ms ✓ src/utils/secure-browser-launcher.test.ts (14 tests) 47ms ✓ src/utils/editHelper.test.ts (17 tests) 36ms ✓ src/services/fileDiscoveryService.test.ts (13 tests) 100ms ✓ src/core/openaiContentGenerator/provider/openrouter.test.ts (12 tests) 10ms ✓ src/extension/github.test.ts (30 tests) 122ms ✓ src/core/modalityDefaults.test.ts (30 tests) 12ms ✓ src/utils/yaml-parser.test.ts (18 tests) 24ms ✓ src/tools/tools.test.ts (11 tests) 13ms ✓ src/mcp/token-storage/base-token-storage.test.ts (12 tests) 22ms ✓ src/utils/terminalSerializer.test.ts (16 tests) 150ms ✓ src/tools/mcp-client.test.ts (26 tests) 63ms ✓ src/mcp/sa-impersonation-provider.test.ts (8 tests) 32ms ✓ src/tools/diffOptions.test.ts (9 tests) 8ms ✓ src/ide/ide-installer.test.ts (10 tests) 42ms ✓ src/ide/process-utils.test.ts (6 tests) 14ms ✓ src/lsp/LspConfigLoader.test.ts (6 tests) 31ms ✓ src/utils/request-tokenizer/imageTokenizer.test.ts (9 tests) 13ms ✓ src/tools/tool-registry.test.ts (9 tests) 106ms ✓ src/utils/filesearch/ignore.test.ts (12 tests) 99ms ✓ src/extension/gemini-converter.test.ts (9 tests) 38ms ✓ src/tools/grep.test.ts (31 tests) 2990ms ✓ GrepTool > Result limiting > should show all results when no limit is specified 557ms ✓ GrepTool > Result limiting > should not show truncation warning when all results fit 904ms ✓ GrepTool > Result limiting > should not validate limit parameter 467ms ✓ GrepTool > Result limiting > should accept valid limit parameter 342ms ✓ src/ide/detect-ide.test.ts (14 tests) 7ms ✓ src/utils/safeJsonParse.test.ts (14 tests) 9ms ✓ src/extension/override.test.ts (16 tests) 10ms ✓ src/utils/quotaErrorDetection.test.ts (16 tests) 5ms ✓ src/core/openaiContentGenerator/provider/deepseek.test.ts (7 tests) 15ms ✓ src/services/chatRecordingService.test.ts (11 tests) 63ms ✓ src/extension/settings.test.ts (10 tests) 35ms ✓ src/utils/textUtils.test.ts (20 tests) 28ms ✓ src/agents/arena/ArenaManager.test.ts (23 tests) 2654ms ✓ ArenaManager > backend initialization > should emit SESSION_UPDATE with type warning when backend detection returns warning 537ms ✓ ArenaManager > chat history forwarding > should pass chatHistory to backend spawnAgent calls 509ms ✓ ArenaManager > chat history forwarding > should pass undefined chatHistory when not provided 503ms ✓ ArenaManager > active session lifecycle > cancel should stop backend and move session to CANCELLED 510ms ✓ ArenaManager > active session lifecycle > cleanup should release backend and worktree resources after start 507ms ✓ src/utils/errorReporting.test.ts (5 tests) 30ms ✓ src/utils/schemaConverter.test.ts (12 tests) 14ms ✓ src/utils/filesearch/crawlCache.test.ts (9 tests) 54ms ✓ src/utils/configResolver.test.ts (12 tests) 20ms ✓ src/utils/rateLimit.test.ts (13 tests) 4ms ✓ src/mcp/google-auth-provider.test.ts (8 tests) 23ms ✓ src/subagents/builtin-agents.test.ts (8 tests) 7ms ✓ src/telemetry/sdk.test.ts (6 tests) 50ms ✓ src/utils/runtimeFetchOptions.test.ts (4 tests) 6ms ✓ src/utils/errors.test.ts (12 tests) 14ms ✓ src/core/nonInteractiveToolExecutor.test.ts (8 tests) 38ms ✓ src/utils/installationManager.test.ts (4 tests) 5ms ✓ src/core/geminiRequest.test.ts (12 tests) 5ms ✓ src/extension/storage.test.ts (5 tests) 6ms ✓ src/core/openaiContentGenerator/provider/modelscope.test.ts (5 tests) 19ms ✓ src/telemetry/config.test.ts (11 tests) 15ms ✓ src/utils/toml-to-markdown-converter.test.ts (10 tests) 12ms ✓ src/telemetry/sanitize.test.ts (10 tests) 6ms ✓ src/utils/thoughtUtils.test.ts (11 tests) 12ms ✓ src/utils/errorParsing.test.ts (11 tests) 4ms ✓ src/tools/web-search/index.test.ts (10 tests) 176ms ✓ src/utils/qwenIgnoreParser.test.ts (2 tests) 22ms ✓ src/utils/safeJsonStringify.test.ts (8 tests) 33ms ✓ src/utils/atomicFileWrite.test.ts (5 tests) 42ms ✓ src/utils/asyncMessageQueue.test.ts (7 tests) 15ms ✓ src/utils/fetch.test.ts (3 tests) 4ms ✓ src/utils/filesearch/result-cache.test.ts (3 tests) 41ms ✓ src/telemetry/telemetry-utils.test.ts (6 tests) 21ms ✓ src/utils/nextSpeakerChecker.test.ts (10 tests) 43ms ✓ src/index.test.ts (1 test) 6ms ✓ src/subagents/types.test.ts (3 tests) 5ms ✓ src/tools/mcp-client-manager.test.ts (7 tests) 9ms ✓ src/core/contentGenerator.test.ts (4 tests) 35ms ✓ src/tools/askUserQuestion.test.ts (9 tests) 14ms ✓ src/tools/exitPlanMode.test.ts (16 tests) 10ms ✓ src/utils/shellReadOnlyChecker.test.ts (33 tests) 14ms ✓ src/tools/web-fetch.test.ts (7 tests) 79ms ✓ src/core/geminiContentGenerator/index.test.ts (1 test) 3ms ✓ src/utils/ripgrepUtils.test.ts (6 tests) 8ms ✓ src/utils/tool-utils.test.ts (19 tests) 6ms ✓ src/agents/backends/tmux-commands.test.ts (8 tests) 5ms ✓ src/telemetry/telemetry.test.ts (2 tests) 19ms Test Files 190 passed (190) Tests 4923 passed | 2 skipped (4925) Start at 00:22:16 Duration 29.53s (transform 35.14s, setup 6.52s, collect 354.32s, tests 47.59s, environment 87ms, prepare 33.80s) 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) 34ms 2026-03-28 00:22:49 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-03-28 00:22:49 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process error: Spawn failed 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process terminated by signal SIGTERM (node:11697) 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-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process error: Process error 2026-03-28 00:22:49 [DEBUG] [ProcessTransport] Spawning CLI (native): qwen --input-format stream-json --output-format stream-json --channel=SDK 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process error: Process error 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-28 00:22:49 [ERROR] [ProcessTransport] CLI process terminated by signal SIGKILL 2026-03-28 00:22:49 [INFO] [ProcessTransport] CLI process started successfully 2026-03-28 00:22:49 [DEBUG] [ProcessTransport] Forking CLI (node): /path/to/cli.js --input-format stream-json --output-format stream-json --channel=SDK 2026-03-28 00:22:49 [INFO] [ProcessTransport] CLI process started successfully ✓ test/unit/ProcessTransport.test.ts (69 tests) 96ms ✓ test/unit/createSdkMcpServer.test.ts (18 tests) 20ms 2026-03-28 00:22:50 [ERROR] [Query] Control response error for request c077643f-d90a-46d0-9ce1-477a6fea11f6: Test error 2026-03-28 00:22:50 [ERROR] [Query] Initialization error: Test error ✓ test/unit/Stream.test.ts (20 tests) 9ms ✓ test/unit/createQuery.test.ts (3 tests) 59ms 2026-03-28 00:23:02 [ERROR] [Query] Initialization error: Query is closed 2026-03-28 00:23:13 [ERROR] [Query] Control response error for request 3b49c5d2-b425-40e4-ac46-997220418134: Malformed error ✓ test/unit/Query.test.ts (53 tests) 23786ms Test Files 6 passed (6) Tests 196 passed (196) Start at 00:22:48 Duration 24.60s (transform 848ms, setup 0ms, collect 1.44s, tests 24.00s, environment 1ms, prepare 541ms) > qwen-code-vscode-ide-companion@0.13.1 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/vscode-ide-companion ✓ src/package.test.ts (1 test) 2ms 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 > agent_message_chunk handling > maps SDK usage field names to both SDK and legacy fields [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 mode callback and uses new one [SessionUpdateHandler] Processing update type: current_mode_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > updateCallbacks > updates onAvailableCommands callback [SessionUpdateHandler] Processing update type: available_commands_update ✓ src/services/qwenSessionUpdateHandler.test.ts (13 tests) 12ms ✓ src/utils/errorMessage.test.ts (2 tests) 17ms stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > returns full content when no line/limit specified [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > returns full content when no line/limit specified [ACP] Successfully read file: /test/file.txt (18 chars) [ACP] Returning full file content stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > uses 1-based line indexing (ACP spec) [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: 2, limit: 2, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > uses 1-based line indexing (ACP spec) [ACP] Successfully read file: /test/file.txt (29 chars) [ACP] Returning 2 lines ✓ src/utils/acpModelInfo.test.ts (12 tests) 10ms stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > treats line=1 as first line [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: 1, limit: 1, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > treats line=1 as first line [ACP] Successfully read file: /test/file.txt (18 chars) [ACP] Returning 1 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > defaults to line=1 when line is null but limit is set [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: null, limit: 2, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > defaults to line=1 when line is null but limit is set [ACP] Successfully read file: /test/file.txt (7 chars) [ACP] Returning 2 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > clamps negative line values to 0 [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: -5, limit: null, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > clamps negative line values to 0 [ACP] Successfully read file: /test/file.txt (5 chars) [ACP] Returning 3 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > propagates ENOENT errors [ACP] fs/read_text_file request received for: /missing/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stderr | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > propagates ENOENT errors [ACP] Failed to read file /missing/file.txt: ENOENT stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > normalises VS Code FileNotFound to ENOENT [ACP] fs/read_text_file request received for: /missing/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stderr | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > normalises VS Code FileNotFound to ENOENT [ACP] Failed to read file /missing/file.txt: file not found stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > creates directory and uses WorkspaceEdit for existing file [ACP] fs/write_text_file request received for: /test/dir/file.txt [ACP] Content size: 5 bytes [ACP] Ensuring directory exists: /test/dir stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > creates directory and uses WorkspaceEdit for existing file [ACP] Successfully wrote file: /test/dir/file.txt stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > writes bytes directly for new (non-existing) file [ACP] fs/write_text_file request received for: /test/dir/newfile.txt [ACP] Content size: 5 bytes [ACP] Ensuring directory exists: /test/dir stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > writes bytes directly for new (non-existing) file [ACP] Successfully wrote file: /test/dir/newfile.txt ✓ src/services/acpFileHandler.test.ts (9 tests) 25ms ✓ src/webview/providers/ChatProviderRegistry.test.ts (2 tests) 5ms ✓ src/commands/index.test.ts (3 tests) 5ms ✓ src/webview/providers/ChatWebviewViewProvider.test.ts (2 tests) 11ms ✓ src/webview/providers/chatViewRegistration.test.ts (6 tests) 6ms stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > configures sidebar views with workspace/temp roots and resolves image paths through the attached webview [WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar) [WebViewProvider] Attempting to restore auth state and connection for view... [WebViewProvider] Attempting connection... ✓ src/webview/providers/WebViewContent.test.ts (5 tests) 8ms ✓ src/webview/utils/utils.test.ts (15 tests) 12ms stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > routes resolved image paths back to the requesting attached webview even when a panel exists [WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar) [WebViewProvider] Attempting to restore auth state and connection for view... [WebViewProvider] Attempting connection... ✓ src/webview/providers/WebViewProvider.test.ts (2 tests) 23ms ✓ src/services/acpConnection.test.ts (16 tests) 8ms ✓ src/webview/hooks/useImage.test.ts (2 tests) 56ms stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > searches files using fuzzy search when query is provided [FileMessageHandler] handleGetWorkspaceFiles start { query: 'txt', requestId: 7 } [FileMessageHandler] Searching workspace files with fuzzy search for query txt stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > searches files using fuzzy search when query is provided [FileMessageHandler] Sent final workspaceFiles 2 stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths in non-query mode [FileMessageHandler] handleGetWorkspaceFiles start { query: undefined, requestId: 7 } [FileMessageHandler] Sent initial workspaceFiles (open tabs/active) 0 stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths in non-query mode [FileMessageHandler] Sent final workspaceFiles 1 ✓ src/webview/handlers/FileMessageHandler.test.ts (2 tests) 22ms stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1774657396164 [QwenAgentManager] Using proxy from VSCode settings: http://proxy.example.com:8080 stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set [QwenAgentManager] no sessionRestored, Creating new session... [QwenAgentManager] Creating new session (letting CLI handle authentication)... [QwenAgentManager] Creating session (attempt 1/3)... stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set [QwenAgentManager] Session created successfully stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set [QwenAgentManager] New session created successfully ======================================== [QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY ======================================== ✓ src/open-files-manager.test.ts (17 tests) 23ms stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback) [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1774657396173 [QwenAgentManager] Using proxy from VSCode settings: http://https-proxy.example.com:8080 stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback) [QwenAgentManager] no sessionRestored, Creating new session... [QwenAgentManager] Creating new session (letting CLI handle authentication)... [QwenAgentManager] Creating session (attempt 1/3)... stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback) [QwenAgentManager] Session created successfully stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback) [QwenAgentManager] New session created successfully ======================================== [QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY ======================================== stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > prefers http.proxy over https.proxy [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1774657396190 [QwenAgentManager] Using proxy from VSCode settings: http://http-proxy.example.com:8080 stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > prefers http.proxy over https.proxy [QwenAgentManager] no sessionRestored, Creating new session... [QwenAgentManager] Creating new session (letting CLI handle authentication)... [QwenAgentManager] Creating session (attempt 1/3)... stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > prefers http.proxy over https.proxy [QwenAgentManager] Session created successfully stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > prefers http.proxy over https.proxy [QwenAgentManager] New session created successfully ======================================== [QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY ======================================== stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when no proxy is configured [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1774657396207 stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when no proxy is configured [QwenAgentManager] no sessionRestored, Creating new session... [QwenAgentManager] Creating new session (letting CLI handle authentication)... [QwenAgentManager] Creating session (attempt 1/3)... stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when no proxy is configured [QwenAgentManager] Session created successfully stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when no proxy is configured [QwenAgentManager] New session created successfully ======================================== [QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY ======================================== stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when proxy is empty string [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1774657396212 stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when proxy is empty string [QwenAgentManager] no sessionRestored, Creating new session... [QwenAgentManager] Creating new session (letting CLI handle authentication)... [QwenAgentManager] Creating session (attempt 1/3)... stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when proxy is empty string [QwenAgentManager] Session created successfully stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when proxy is empty string [QwenAgentManager] New session created successfully ======================================== [QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY ======================================== ✓ src/services/qwenConnectionHandler.test.ts (5 tests) 53ms ✓ src/services/qwenAgentManager.test.ts (7 tests) 6ms ✓ src/webview/components/layout/InputForm.test.tsx (2 tests) 47ms ✓ src/ide-server.test.ts (13 tests | 1 skipped) 160ms stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > does not create conversation state or send an empty prompt when all pasted images fail to materialize [SessionMessageHandler] handleSendMessage called with: stderr | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > does not create conversation state or send an empty prompt when all pasted images fail to materialize [SessionMessageHandler] Failed to attach the pasted image. Nothing was sent. Please paste the image again. stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > sends formatted prompt text so session restore can reconstruct pasted images [SessionMessageHandler] handleSendMessage called with: 这是什么内容 stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > sends formatted prompt text so session restore can reconstruct pasted images [SessionMessageHandler] No active conversation, creating one... ✓ src/webview/handlers/SessionMessageHandler.test.ts (2 tests) 9ms stderr | src/webview/utils/imageHandler.test.ts > imageHandler > returns null when file write throws [ImageHandler] Failed to save image: Error: disk full at /startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/utils/imageHandler.test.ts:110:41 at file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 at file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 at file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 at new Promise () at runWithTimeout (file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10) at runTest (file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12) at processTicksAndRejections (node:internal/process/task_queues:104:5) at runSuite (file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:1729:8) at runSuite (file:///startdir/src/qwen-code/node_modules/@vitest/runner/dist/chunk-hooks.js:1729:8) ✓ src/webview/utils/imageHandler.test.ts (11 tests) 17ms 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 register webview view providers for sidebar and secondary positions [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 (12 tests) 65ms Test Files 23 passed (23) Tests 160 passed | 1 skipped (161) Start at 00:23:14 Duration 6.93s (transform 13.06s, setup 0ms, collect 40.38s, tests 603ms, environment 370ms, prepare 4.26s) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_2459e611-9ed7-4ff3-a268-45fc55302719/build