==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_4785c46b-cbe3-4c66-b492-7e7b3766ffd4]...done ==> Making package: qwen-code 0.14.0-1.1 (Fri Apr 3 19:53:49 2026) ==> Retrieving sources... -> Cloning qwen-code git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/qwen-code-0.14.0-1/qwen-code'... ==> Validating source files with sha256sums... qwen-code ... Passed ==> Validating source files with b2sums... qwen-code ... Passed ==> Making package: qwen-code 0.14.0-1.1 (Fri Apr 3 17:54:33 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (6) New Version Net Change Download Size 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.6.0-1 7.55 MiB extra/nodejs 25.9.0-1 63.78 MiB 15.77 MiB extra/ripgrep 15.1.0-2 5.01 MiB Total Download Size: 15.77 MiB Total Installed Size: 78.56 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... nodejs-25.9.0-1-x86_64 downloading... 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 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 node-domexception@1.0.0: Use your platform's native DOMException instead 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 1569 packages, and audited 1582 packages in 1m 415 packages are looking for funding run `npm fund` for details 34 vulnerabilities (2 low, 15 moderate, 16 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.14.0 build > node scripts/build.js > @qwen-code/qwen-code@0.14.0 generate > node scripts/generate-git-commit-info.js > @qwen-code/qwen-code-test-utils@0.14.0 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/qwen-code-core@0.14.0 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/web-templates@0.14.0 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 463ms Reading generated files... Successfully generated /startdir/src/qwen-code/packages/web-templates/src/generated/insightTemplate.ts Successfully built all web-templates. > @qwen-code/channel-base@0.14.0 build > tsc --build > @qwen-code/channel-telegram@0.14.0 build > tsc --build > @qwen-code/channel-weixin@0.14.0 build > tsc --build > @qwen-code/channel-dingtalk@0.14.0 build > tsc --build > @qwen-code/channel-plugin-example@0.14.0 build > tsc --build > @qwen-code/qwen-code@0.14.0 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.14.0 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 3836ms. 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.88s > @qwen-code/sdk@0.1.6 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.57s > qwen-code-vscode-ide-companion@0.14.0 build > npm run build:dev > qwen-code-vscode-ide-companion@0.14.0 build:dev > npm run check-types && npm run lint && node esbuild.js > qwen-code-vscode-ide-companion@0.14.0 check-types > tsc --noEmit > qwen-code-vscode-ide-companion@0.14.0 lint > eslint src > @qwen-code/qwen-code@0.14.0 bundle > npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js > @qwen-code/qwen-code@0.14.0 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/ Copied docs/users/ to dist/bundled/qc-helper/docs/ ✅ All bundle assets copied to dist/ ==> Starting check()... > @qwen-code/qwen-code@0.14.0 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.14.0 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/cli Coverage enabled with v8 ✓ src/services/insight/generators/DataProcessor.test.ts (38 tests) 66ms ✓ src/ui/commands/languageCommand.test.ts (47 tests) 171ms ✓ src/utils/nonInteractiveHelpers.test.ts (60 tests) 54ms ✓ src/ui/hooks/atCommandProcessor.test.ts (42 tests) 421ms ✓ src/ui/components/shared/vim-buffer-actions.test.ts (74 tests) 68ms ✓ src/utils/settingsUtils.test.ts (73 tests) 48ms ✓ src/services/FileCommandLoader.test.ts (39 tests) 309ms ✓ src/services/prompt-processors/shellProcessor.test.ts (34 tests) 86ms ✓ src/ui/components/shared/text-buffer.test.ts (115 tests) 468ms ✓ src/config/settings.test.ts (87 tests) 212ms ✓ src/ui/hooks/useSelectionList.test.ts (45 tests) 455ms ✓ src/ui/hooks/vim.test.ts (87 tests) 1423ms ✓ src/ui/contexts/KeypressContext.test.tsx (89 tests) 916ms ✓ src/ui/hooks/useGeminiStream.test.tsx (56 tests) 1455ms ✓ src/ui/hooks/slashCommandProcessor.test.ts (35 tests) 2434ms ✓ src/nonInteractive/io/BaseJsonOutputAdapter.test.ts (93 tests) 91ms ✓ src/nonInteractive/io/StreamJsonOutputAdapter.test.ts (48 tests) 58ms ✓ src/nonInteractiveCli.test.ts (29 tests | 1 skipped) 359ms ✓ src/nonInteractive/control/ControlDispatcher.test.ts (34 tests) 53ms ✓ src/ui/hooks/useToolScheduler.test.ts (17 tests) 53ms ✓ src/acp-integration/session/emitters/ToolCallEmitter.test.ts (33 tests) 77ms ✓ src/acp-integration/session/SubAgentTracker.test.ts (24 tests) 331ms ✓ src/utils/errors.test.ts (33 tests) 60ms ✓ src/utils/modelConfigUtils.test.ts (28 tests) 116ms ✓ src/config/config.test.ts (169 tests | 2 skipped) 2261ms ❯ src/ui/components/SettingsDialog.test.tsx (53 tests | 1 failed) 7950ms ✓ SettingsDialog > Initial Rendering > should render the settings dialog with default state 115ms ✓ SettingsDialog > Initial Rendering > should accept availableTerminalHeight prop without errors 37ms ✓ SettingsDialog > Initial Rendering > should show settings list with default values 70ms ✓ SettingsDialog > Initial Rendering > should highlight first setting by default 45ms ✓ SettingsDialog > Settings Navigation > should navigate down with arrow key 470ms ✓ SettingsDialog > Settings Navigation > should navigate up with arrow key 158ms ✓ SettingsDialog > Settings Navigation > should navigate with vim keys (j/k) 150ms ✓ SettingsDialog > Settings Navigation > wraps around when at the top of the list 116ms ✓ SettingsDialog > Settings Toggling > should toggle setting with Enter key 358ms ✓ SettingsDialog > Settings Toggling > enum values > toggles enum values with the enter key 95ms ✓ SettingsDialog > Settings Toggling > enum values > loops back when reaching the end of an enum 122ms ✓ SettingsDialog > Settings Toggling > should toggle setting with Space key 143ms ✓ SettingsDialog > Settings Toggling > should handle vim mode setting specially 177ms ✓ SettingsDialog > Scope Selection > should switch between scopes 148ms ✓ SettingsDialog > Scope Selection > should reset to settings focus when scope is selected 46ms ✓ SettingsDialog > Restart Prompt > should show restart prompt for restart-required settings 70ms ✓ SettingsDialog > Restart Prompt > should handle restart request when r is pressed 96ms ✓ SettingsDialog > Escape Key Behavior > should call onSelect with undefined when Escape is pressed 25ms ✓ SettingsDialog > Settings Persistence > should persist settings across scope changes 131ms ✓ SettingsDialog > Settings Persistence > should show different values for different scopes 26ms ✓ SettingsDialog > Error Handling > should handle vim mode toggle errors gracefully 123ms ✓ SettingsDialog > Complex State Management > should track modified settings correctly 229ms ✓ SettingsDialog > Complex State Management > should handle scrolling when there are many settings 426ms ✓ SettingsDialog > VimMode Integration > should sync with VimModeContext when vim mode is toggled 104ms ✓ SettingsDialog > Specific Settings Behavior > should show correct display values for settings with different states 24ms ✓ SettingsDialog > Specific Settings Behavior > should handle immediate settings save for non-restart-required settings 81ms ✓ SettingsDialog > Specific Settings Behavior > should show restart prompt for restart-required settings 93ms × SettingsDialog > Specific Settings Behavior > should keep restart prompt when switching scopes 1259ms → expected '╭────────────────────────────────────…' to contain 'To see changes, Qwen Code must be res…' ✓ SettingsDialog > Settings Display Values > should show correct values for inherited settings 33ms ✓ SettingsDialog > Settings Display Values > should show override indicator for overridden settings 31ms ✓ SettingsDialog > Output Language > treats empty output language as auto 406ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle rapid key presses gracefully 149ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle Ctrl+C to reset current setting to default 77ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle Ctrl+L to reset current setting to default 88ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should handle navigation when only one setting exists 143ms ✓ SettingsDialog > Keyboard Shortcuts Edge Cases > should properly handle Tab navigation between sections 24ms ✓ SettingsDialog > Error Recovery > should handle malformed settings gracefully 20ms ✓ SettingsDialog > Error Recovery > should handle missing setting definitions gracefully 37ms ✓ SettingsDialog > Complex User Interactions > should handle complete user workflow: navigate, toggle, change scope, exit 57ms ✓ SettingsDialog > Complex User Interactions > should allow changing multiple settings without losing pending changes 338ms ✓ SettingsDialog > Complex User Interactions > should maintain state consistency during complex interactions 299ms ✓ SettingsDialog > Complex User Interactions > should handle restart workflow correctly 83ms ✓ SettingsDialog > String Settings Editing > should allow editing and committing a string setting 772ms ✓ SettingsDialog > Snapshot Tests > should render default state correctly 60ms ✓ SettingsDialog > Snapshot Tests > should render with various boolean settings enabled 39ms ✓ SettingsDialog > Snapshot Tests > should render with mixed boolean and number settings 48ms ✓ SettingsDialog > Snapshot Tests > should render focused on scope selector 41ms ✓ SettingsDialog > Snapshot Tests > should render with different scope selected (System) 75ms ✓ SettingsDialog > Snapshot Tests > should render with different scope selected (Workspace) 43ms ✓ SettingsDialog > Snapshot Tests > should render with accessibility settings enabled 37ms ✓ SettingsDialog > Snapshot Tests > should render with file filtering settings configured 25ms ✓ SettingsDialog > Snapshot Tests > should render with tools and security settings 25ms ✓ SettingsDialog > Snapshot Tests > should render with all boolean settings disabled 50ms ✓ src/ui/hooks/useSlashCompletion.test.ts (22 tests) 740ms ✓ src/ui/hooks/shellCommandProcessor.test.ts (20 tests) 559ms ✓ src/acp-integration/session/Session.test.ts (15 tests) 186ms ✓ src/config/migration/versions/v2-to-v3.test.ts (31 tests) 17ms ✓ src/ui/hooks/useAutoAcceptIndicator.test.ts (15 tests) 257ms ✓ src/nonInteractive/io/JsonOutputAdapter.test.ts (35 tests) 180ms ✓ src/ui/hooks/useCodingPlanUpdates.test.ts (15 tests) 358ms ✓ src/ui/components/agent-view/agentHistoryAdapter.test.ts (32 tests) 61ms ✓ src/utils/languageUtils.test.ts (44 tests) 53ms ✓ src/validateNonInterActiveAuth.test.ts (13 tests) 59ms 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) 91ms ✓ src/ui/keyMatchers.test.ts (34 tests) 11ms ✓ src/ui/AppContainer.test.tsx (32 tests) 617ms (node:2633) 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/StandaloneSessionPicker.test.tsx (15 tests) 2614ms ✓ src/ui/commands/memoryCommand.test.ts (17 tests) 37ms ✓ src/ui/hooks/useExtensionUpdates.test.ts (15 tests) 465ms ✓ src/nonInteractive/session.test.ts (21 tests) 149ms ✓ src/ui/commands/btwCommand.test.ts (20 tests) 116ms ✓ src/ui/components/shared/BaseSelectionList.test.tsx (26 tests | 1 skipped) 781ms ✓ src/services/McpPromptLoader.test.ts (25 tests) 22ms ✓ src/ui/utils/commandUtils.test.ts (26 tests) 149ms ✓ src/acp-integration/session/HistoryReplayer.test.ts (16 tests) 30ms ✓ src/ui/commands/exportCommand.test.ts (14 tests) 82ms ✓ src/config/trustedFolders.test.ts (21 tests) 20ms ✓ src/ui/hooks/useCommandCompletion.test.ts (17 tests) 375ms ✓ src/ui/hooks/useQwenAuth.test.ts (17 tests) 168ms ✓ src/config/migration/index.test.ts (26 tests) 35ms ✓ src/ui/components/QwenOAuthProgress.test.tsx (18 tests) 712ms ✓ src/ui/hooks/useAtCompletion.test.ts (13 tests) 1471ms ✓ src/commands/extensions/settings.test.ts (20 tests) 153ms ✓ src/ui/auth/AuthDialog.test.tsx (10 tests) 974ms ✓ src/ui/components/InputPrompt.test.tsx (101 tests | 1 skipped) 16295ms ✓ InputPrompt > paste auto-submission protection > should allow submission after paste protection timeout 793ms ✓ InputPrompt > large paste placeholder > should expand placeholder to full content on submit 791ms ✓ InputPrompt > large paste placeholder > should expand same-size placeholders correctly when #2 appears first 852ms ✓ InputPrompt > large paste placeholder > should write expanded placeholder content to shell history 817ms ✓ src/ui/components/messages/DiffRenderer.test.tsx (16 tests) 674ms ✓ src/services/CommandService.test.ts (11 tests) 42ms ✓ src/ui/components/ModelDialog.test.tsx (10 tests) 226ms 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) 1822ms ✓ Configuration Integration Tests > Approval Mode Integration Tests > should parse --approval-mode=auto-edit correctly through the full argument parsing flow 1675ms ✓ src/ui/utils/textUtils.test.ts (19 tests) 14ms ✓ src/commands/extensions/consent.test.ts (17 tests) 47ms ✓ src/commands/extensions/update.test.ts (14 tests) 90ms ✓ src/ui/commands/arenaCommand.test.ts (14 tests) 36ms ✓ src/ui/components/LoadingIndicator.test.tsx (22 tests) 186ms ✓ src/utils/installationInfo.test.ts (16 tests) 31ms ✓ src/ui/components/shared/MaxSizedBox.test.tsx (21 tests) 300ms ✓ src/commands/mcp/add.test.ts (20 tests) 244ms ✓ src/ui/components/StatsDisplay.test.tsx (12 tests) 340ms ✓ src/config/settingsSchema.test.ts (14 tests) 31ms ✓ src/ui/components/messages/ToolGroupMessage.test.tsx (14 tests) 298ms ✓ src/utils/envVarResolver.test.ts (16 tests) 22ms ✓ src/utils/systemInfo.test.ts (15 tests) 26ms ✓ src/ui/components/messages/ToolMessage.test.tsx (15 tests) 167ms ✓ src/utils/writeWithBackup.test.ts (12 tests) 10ms 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.9.0 Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED ✓ src/utils/relaunch.test.ts (8 tests) 111ms ✓ src/services/FileCommandLoader-extension.test.ts (6 tests) 48ms ✓ src/ui/commands/restoreCommand.test.ts (13 tests) 89ms ✓ src/services/prompt-processors/injectionParser.test.ts (21 tests) 49ms (node:3406) 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/utils/handleAutoUpdate.test.ts (9 tests) 61ms ✓ src/ui/components/Composer.test.tsx (14 tests) 222ms ✓ src/ui/hooks/useKeypress.test.ts (15 tests) 104ms ]2;Qwen - cli]2;Qwen - root]2;Qwen - root]2;Qwen - root ✓ src/gemini.test.tsx (11 tests) 666ms ✓ gemini.tsx main function > verifies that we dont load the config before relaunchAppInChildProcess 578ms ✓ src/ui/commands/copyCommand.test.ts (11 tests) 27ms ✓ src/ui/hooks/useInputHistoryStore.test.ts (14 tests) 84ms ✓ src/ui/themes/color-utils.test.ts (16 tests) 22ms ✓ src/ui/components/messages/AskUserQuestionDialog.test.tsx (13 tests) 1400ms ✓ src/ui/hooks/useShellHistory.test.ts (7 tests) 700ms ✓ src/ui/commands/ideCommand.test.ts (8 tests) 51ms ✓ src/ui/commands/aboutCommand.test.ts (7 tests) 43ms ✓ src/ui/utils/resumeHistoryUtils.test.ts (4 tests) 11ms ✓ src/ui/hooks/useLoadingIndicator.test.ts (8 tests) 134ms ✓ src/ui/hooks/useInputHistory.test.ts (11 tests) 50ms ✓ src/ui/utils/computeStats.test.ts (12 tests) 19ms ✓ src/ui/hooks/useEditorSettings.test.ts (10 tests) 118ms ✓ src/commands/mcp/reconnect.test.ts (6 tests) 10ms ✓ src/ui/hooks/useTrustModify.test.ts (8 tests) 125ms ✓ src/acp-integration/session/emitters/PlanEmitter.test.ts (17 tests) 47ms ✓ src/services/BuiltinCommandLoader.test.ts (8 tests) 42ms ✓ src/config/migration/versions/v1-to-v2.test.ts (20 tests) 13ms ✓ src/config/auth.test.ts (13 tests) 29ms ✓ src/services/command-migration-tool.test.ts (13 tests) 93ms ✓ src/ui/components/hooks/constants.test.ts (25 tests) 68ms ✓ src/utils/gitUtils.test.ts (24 tests) 73ms ✓ src/services/prompt-processors/atFileProcessor.test.ts (11 tests) 65ms ✓ src/ui/components/hooks/HookConfigDetailStep.test.tsx (14 tests) 588ms ✓ src/ui/hooks/useReverseSearchCompletion.test.tsx (10 tests) 283ms ✓ src/acp-integration/session/emitters/MessageEmitter.test.ts (13 tests) 10ms ✓ src/commands/extensions/install.test.ts (8 tests) 60ms ✓ src/ui/hooks/usePhraseCycler.test.ts (9 tests) 167ms ❯ src/ui/components/hooks/HooksManagementDialog.test.tsx (9 tests | 1 failed) 1546ms ✓ HooksManagementDialog > Initial rendering > should render loading state initially 199ms ✓ HooksManagementDialog > Initial rendering > should render with border 181ms × HooksManagementDialog > Initial rendering > should handle empty hooks list gracefully 153ms → expected '╭────────────────────────────────────…' to contain '0 hooks configured' ✓ HooksManagementDialog > Keyboard navigation - HOOKS_LIST step > should register keypress handler with isActive: true 200ms ✓ HooksManagementDialog > Keyboard navigation - HOOKS_LIST step > should close dialog on Escape key 192ms ✓ HooksManagementDialog > Keyboard navigation - HOOKS_LIST step > should not go above first item when pressing up 185ms ✓ HooksManagementDialog > Keyboard navigation - HOOKS_DISABLED step > should show disabled state when disableAllHooks is true 257ms ✓ HooksManagementDialog > Keyboard navigation - HOOKS_DISABLED step > should close dialog on Escape key when hooks are disabled 149ms ✓ HooksManagementDialog > Loading and error states > should allow Escape to close during loading state 26ms ✓ src/ui/commands/clearCommand.test.ts (6 tests) 12ms ✓ src/ui/hooks/useHistoryManager.test.ts (8 tests) 77ms ✓ src/ui/hooks/useMessageQueue.test.ts (9 tests) 129ms ✓ src/ui/components/HistoryItemDisplay.test.tsx (13 tests) 755ms ✓ src/nonInteractive/io/StreamJsonInputReader.test.ts (11 tests) 20ms ✓ src/acp-integration/acpAgent.test.ts (4 tests) 177ms ✓ src/ui/commands/setupGithubCommand.test.ts (8 tests) 92ms ✓ src/ui/hooks/useIdeTrustListener.test.ts (5 tests) 46ms ✓ src/ui/hooks/useResumeCommand.test.ts (6 tests) 101ms ✓ src/ui/components/messages/CompressionMessage.test.tsx (8 tests) 92ms ✓ src/ui/components/PluginChoicePrompt.test.tsx (12 tests) 176ms ✓ src/ui/components/messages/ToolConfirmationMessage.test.tsx (13 tests) 730ms ✓ src/ui/utils/formatters.test.ts (28 tests) 65ms ✓ src/nonInteractiveCliCommands.test.ts (10 tests) 12ms ✓ src/commands/auth/status.test.ts (9 tests) 40ms ✓ src/commands/mcp/list.test.ts (4 tests) 17ms ✓ src/ui/hooks/useGitBranchName.test.ts (7 tests | 2 skipped) 164ms ✓ src/ui/hooks/useFolderTrust.test.ts (9 tests) 86ms 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) 54ms ✓ src/ui/components/ModelStatsDisplay.test.tsx (6 tests) 301ms ✓ src/commands/channel/pidfile.test.ts (12 tests) 267ms ✓ src/ui/commands/directoryCommand.test.tsx (7 tests) 15ms ✓ src/ui/commands/extensionsCommand.test.ts (7 tests) 29ms ✓ src/ui/utils/MarkdownDisplay.test.tsx (31 tests) 406ms ✓ src/ui/utils/highlight.test.ts (16 tests) 15ms ✓ src/ui/components/hooks/HookDetailStep.test.tsx (12 tests) 483ms ✓ src/ui/commands/approvalModeCommand.test.ts (13 tests) 36ms ✓ src/ui/themes/theme-manager.test.ts (12 tests) 79ms ✓ src/ui/models/availableModels.test.ts (14 tests) 9ms ✓ src/utils/deepMerge.test.ts (13 tests) 12ms ✓ src/ui/components/TrustDialog.test.tsx (6 tests) 384ms ✓ src/utils/commands.test.ts (12 tests) 6ms ✓ src/ui/contexts/SessionContext.test.tsx (4 tests) 153ms ✓ src/commands/channel/config-utils.test.ts (11 tests) 14ms ✓ src/config/migration/scheduler.test.ts (7 tests) 28ms ✓ src/ui/commands/initCommand.test.ts (5 tests) 42ms ✓ src/ui/commands/bugCommand.test.ts (3 tests) 8ms ✓ src/ui/components/shared/RadioButtonSelect.test.tsx (5 tests) 33ms ✓ src/services/BundledSkillLoader.test.ts (8 tests) 57ms ✓ src/ui/components/hooks/HooksListStep.test.tsx (9 tests) 171ms ✓ src/ui/components/mcp/utils.test.ts (16 tests) 9ms ✓ src/acp-integration/service/filesystem.test.ts (4 tests) 25ms ✓ src/ui/utils/updateCheck.test.ts (9 tests) 27ms ✓ src/ui/hooks/useAttentionNotifications.test.ts (6 tests) 76ms ✓ src/ui/components/ToolStatsDisplay.test.tsx (5 tests) 257ms ✓ src/ui/components/extensions/ExtensionsManagerDialog.test.tsx (4 tests) 81ms ✓ src/commands/extensions/utils.test.ts (6 tests) 13ms ✓ src/ui/hooks/useTimer.test.ts (8 tests) 67ms ✓ src/services/FileCommandLoader-markdown.test.ts (4 tests) 66ms ✓ src/services/markdown-command-parser.test.ts (13 tests) 7ms ✓ src/ui/components/AnsiOutput.test.tsx (6 tests) 88ms ✓ src/ui/commands/mcpCommand.test.ts (6 tests) 37ms ✓ src/ui/components/views/McpStatus.test.tsx (12 tests) 227ms ✓ src/ui/components/hooks/HooksDisabledStep.test.tsx (8 tests) 187ms ✓ src/ui/hooks/useFocus.test.ts (6 tests) 76ms ✓ src/ui/commands/compressCommand.test.ts (5 tests) 27ms ✓ src/ui/components/SessionSummaryDisplay.test.tsx (3 tests) 175ms ✓ src/ui/commands/modelCommand.test.ts (8 tests) 9ms ✓ src/ui/App.test.tsx (7 tests) 108ms ✓ src/ui/utils/clipboardUtils.test.ts (11 tests) 28ms ✓ src/ui/components/shared/EnumSelector.test.tsx (9 tests) 85ms ✓ src/commands/extensions/disable.test.ts (7 tests) 45ms ✓ src/ui/components/FolderTrustDialog.test.tsx (9 tests) 459ms ✓ src/commands/extensions/enable.test.ts (7 tests) 47ms ✓ src/commands/extensions/list.test.ts (4 tests) 24ms ✓ src/utils/readStdin.test.ts (4 tests) 22ms ✓ src/utils/userStartupWarnings.test.ts (5 tests) 81ms ✓ src/ui/commands/toolsCommand.test.ts (4 tests) 14ms ✓ src/ui/components/extensions/steps/ExtensionListStep.test.tsx (5 tests) 104ms ✓ src/ui/themes/theme.test.ts (5 tests) 4ms ✓ src/ui/components/PrepareLabel.test.tsx (6 tests) 72ms ✓ src/commands/mcp/remove.test.ts (4 tests) 43ms ✓ src/ui/components/SettingInputPrompt.test.tsx (6 tests) 170ms No extensions installed. ✓ src/commands/extensions.test.tsx (11 tests) 58ms ✓ src/ui/components/Footer.test.tsx (6 tests) 102ms ✓ src/ui/components/AppHeader.test.tsx (3 tests) 156ms ✓ src/core/initializer.test.ts (2 tests) 9ms 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) 62ms ✓ src/utils/systemInfoFields.test.ts (2 tests) 42ms ✓ src/ui/components/extensions/steps/ActionSelectionStep.test.tsx (5 tests) 82ms ✓ src/ui/commands/docsCommand.test.ts (3 tests) 25ms ✓ src/ui/components/ConsentPrompt.test.tsx (5 tests) 91ms ✓ src/ui/components/views/ExtensionsList.test.tsx (9 tests) 148ms ✓ src/ui/utils/displayUtils.test.ts (8 tests) 15ms ✓ src/ui/hooks/useMemoryMonitor.test.ts (3 tests) 39ms ✓ src/services/insight/generators/StaticInsightGenerator.test.ts (1 test) 24ms ✓ src/ui/utils/markdownUtilities.test.ts (7 tests) 8ms ✓ src/commands/extensions/link.test.ts (4 tests) 41ms ✓ src/ui/components/QueuedMessageDisplay.test.tsx (5 tests) 113ms ✓ src/config/keyBindings.test.ts (3 tests) 12ms ✓ src/ui/commands/terminalSetupCommand.test.ts (5 tests) 24ms ✓ src/ui/components/ThemeDialog.test.tsx (2 tests) 631ms ✓ ThemeDialog Snapshots > should render correctly in theme selection mode 409ms ✓ src/ui/components/ContextSummaryDisplay.test.tsx (4 tests) 61ms ✓ src/utils/windowTitle.test.ts (7 tests) 27ms ✓ src/ui/components/TodoDisplay.test.tsx (6 tests) 82ms ✓ src/config/modelProvidersScope.test.ts (4 tests) 3ms ✓ src/utils/startupWarnings.test.ts (4 tests) 5ms ✓ src/ui/utils/sessionPickerUtils.test.ts (7 tests) 3ms ✓ src/ui/components/Header.test.tsx (9 tests) 372ms ✓ src/ui/commands/hooksCommand.test.ts (4 tests) 20ms ✓ src/ui/components/IdeTrustChangeDialog.test.tsx (6 tests) 247ms ✓ src/ui/components/shared/DescriptiveRadioButtonSelect.test.tsx (2 tests) 65ms ✓ src/ui/hooks/useModelCommand.test.ts (3 tests) 30ms ✓ src/ui/commands/statsCommand.test.ts (3 tests) 17ms ✓ src/ui/components/Help.test.tsx (4 tests) 298ms ✓ src/test-utils/mockCommandContext.test.ts (3 tests) 32ms ✓ src/utils/cleanup.test.ts (4 tests) 13ms ✓ src/commands/mcp.test.ts (3 tests) 13ms ✓ src/acp-integration/session/permissionUtils.test.ts (2 tests) 5ms ✓ src/utils/attentionNotification.test.ts (4 tests) 11ms ✓ src/ui/commands/insightCommand.test.ts (1 test) 7ms ✓ src/ui/components/Tips.test.ts (6 tests) 22ms ✓ src/ui/commands/quitCommand.test.ts (1 test) 7ms ✓ src/ui/components/views/ToolsList.test.tsx (3 tests) 100ms ✓ src/utils/acpModelUtils.test.ts (5 tests) 5ms ✓ src/services/prompt-processors/argumentProcessor.test.ts (2 tests) 7ms ✓ src/ui/commands/helpCommand.test.ts (2 tests) 15ms ✓ src/ui/commands/resumeCommand.test.ts (2 tests) 5ms ✓ src/ui/components/ShellConfirmationDialog.test.tsx (4 tests) 152ms ✓ src/ui/commands/themeCommand.test.ts (2 tests) 5ms ✓ src/acp-integration/runtimeOutputDirContext.test.ts (1 test) 13ms ✓ src/ui/components/LoopDetectionConfirmation.test.tsx (2 tests) 160ms ✓ src/ui/commands/permissionsCommand.test.ts (3 tests) 5ms ✓ src/ui/commands/authCommand.test.ts (2 tests) 8ms ✓ src/ui/commands/trustCommand.test.ts (3 tests) 6ms ✓ src/ui/commands/settingsCommand.test.ts (2 tests) 6ms ✓ src/ui/commands/editorCommand.test.ts (2 tests) 4ms ✓ src/ui/components/messages/BtwMessage.test.tsx (2 tests) 27ms ✓ src/utils/processUtils.test.ts (1 test) 4ms ✓ src/commands/extensions/uninstall.test.ts (1 test) 11ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ 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) true │ + │ 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/2]⎯ FAIL src/ui/components/hooks/HooksManagementDialog.test.tsx > HooksManagementDialog > Initial rendering > should handle empty hooks list gracefully AssertionError: expected '╭────────────────────────────────────…' to contain '0 hooks configured' - Expected + Received - 0 hooks configured + ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ Loading hooks... │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ❯ src/ui/components/hooks/HooksManagementDialog.test.tsx:172:22 170| const output = lastFrame(); 171| // Should show 0 hooks configured when no hooks are configured 172| expect(output).toContain('0 hooks configured'); | ^ 173| 174| unmount(); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 2 failed | 241 passed (243) Tests 2 failed | 3784 passed | 7 skipped (3793) Start at 17:57:29 Duration 91.43s (transform 57.38s, setup 10.36s, collect 1352.79s, tests 71.38s, environment 209.90s, prepare 56.32s) 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.14.0 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.14.0 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/core Coverage enabled with v8 ✓ src/services/shellExecutionService.test.ts (47 tests) 313ms ✓ src/mcp/oauth-provider.test.ts (22 tests) 242ms ✓ src/core/openaiContentGenerator/pipeline.test.ts (22 tests) 56ms ✓ src/utils/fileUtils.test.ts (78 tests) 185ms ✓ src/hooks/hookEventHandler.test.ts (89 tests) 126ms ✓ src/tools/lsp.test.ts (69 tests) 798ms ✓ src/utils/memoryImportProcessor.test.ts (28 tests) 167ms +----------------- 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) 2225ms ✓ getQwenOAuthClient - Enhanced Error Scenarios > should handle different authentication failure reasons - timeout 2074ms ✓ src/lsp/NativeLspService.test.ts (14 tests) 132ms ✓ src/services/chatCompressionService.test.ts (36 tests) 122ms ✓ src/models/modelsConfig.test.ts (45 tests) 97ms (node:7967) [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/ripGrep.test.ts (44 tests) 341ms ✓ src/ide/ide-client.test.ts (32 tests) 123ms ✓ src/qwen/sharedTokenManager.test.ts (31 tests) 276ms ✓ src/core/openaiContentGenerator/streamingToolCallParser.test.ts (59 tests) 37ms ✓ src/core/openaiContentGenerator/provider/dashscope.test.ts (40 tests) 52ms ✓ src/core/toolHookTriggers.test.ts (47 tests) 57ms ✓ src/utils/paths.test.ts (105 tests) 60ms ✓ src/tools/agent.test.ts (39 tests) 84ms ✓ src/hooks/hookSystem.test.ts (64 tests) 111ms ✓ src/core/openaiContentGenerator/converter.test.ts (64 tests) 48ms ✓ src/permissions/permission-manager.test.ts (179 tests) 263ms ✓ src/core/turn.test.ts (23 tests) 104ms ✓ src/telemetry/loggers.test.ts (34 tests) 151ms ✓ src/subagents/subagent-manager.test.ts (60 tests) 290ms ✓ src/qwen/qwenContentGenerator.test.ts (44 tests) 321ms ✓ src/utils/shell-utils.test.ts (98 tests) 85ms ✓ src/core/coreToolScheduler.test.ts (53 tests) 591ms ✓ src/core/anthropicContentGenerator/converter.test.ts (29 tests) 38ms ✓ src/tools/mcp-tool.test.ts (53 tests) 470ms ✓ src/tools/write-file.test.ts (35 tests) 543ms ✓ src/tools/shell.test.ts (55 tests) 770ms ✓ src/config/config.test.ts (82 tests) 644ms ✓ src/agents/runtime/agent-headless.test.ts (23 tests | 2 skipped) 786ms ✓ src/extension/extensionManager.test.ts (41 tests) 349ms ✓ src/tools/edit.test.ts (56 tests) 591ms ✓ src/core/client.test.ts (58 tests) 1300ms ✓ src/hooks/hookAggregator.test.ts (31 tests) 60ms ✓ src/hooks/hookPlanner.test.ts (41 tests) 19ms ✓ src/utils/editor.test.ts (127 tests) 83ms ✓ src/lsp/NativeLspService.integration.test.ts (30 tests) 23ms ✓ src/extension/extensionSettings.test.ts (23 tests) 130ms ✓ src/core/logger.test.ts (38 tests) 284ms ✓ src/core/prompts.test.ts (53 tests) 95ms ✓ src/agents/backends/ITermBackend.test.ts (46 tests) 59ms ✓ src/services/sessionService.test.ts (25 tests) 76ms ✓ src/utils/filesearch/fileSearch.test.ts (27 tests) 122ms ✓ src/tools/memoryTool.test.ts (26 tests) 242ms ✓ src/skills/skill-manager.test.ts (40 tests) 61ms ✓ src/utils/workspaceContext.test.ts (44 tests) 69ms ✓ src/hooks/hookRegistry.test.ts (23 tests) 91ms ✓ src/tools/read-file.test.ts (32 tests) 247ms ✓ src/services/loopDetectionService.test.ts (30 tests) 597ms ✓ src/services/gitWorktreeService.test.ts (18 tests) 25ms ✓ src/telemetry/qwen-logger/qwen-logger.test.ts (33 tests) 163ms ✓ src/telemetry/metrics.test.ts (38 tests) 3895ms ✓ Telemetry Metrics > recordTokenUsageMetrics > should not record metrics if not initialized 383ms ✓ src/services/fileSystemService.test.ts (41 tests) 96ms ✓ src/agents/arena/ArenaAgentClient.test.ts (21 tests) 141ms ✓ src/agents/backends/TmuxBackend.test.ts (27 tests) 87ms ✓ src/telemetry/uiTelemetry.test.ts (21 tests) 70ms ✓ src/utils/systemEncoding.test.ts (41 tests) 24ms ✓ src/permissions/shell-semantics.test.ts (52 tests) 125ms ✓ src/extension/variables.test.ts (20 tests) 73ms ✓ src/utils/openaiLogger.test.ts (30 tests) 267ms ✓ src/mcp/oauth-utils.test.ts (27 tests) 48ms ✓ src/tools/glob.test.ts (43 tests) 5071ms ✓ GlobTool > ignore file handling > should respect .qwenignore files by default 324ms ✓ GlobTool > file count truncation > should truncate results when more than 100 files are found 863ms ✓ src/mcp/oauth-token-storage.test.ts (28 tests) 65ms ✓ src/utils/memoryDiscovery.test.ts (14 tests) 92ms ✓ src/tools/ls.test.ts (27 tests) 344ms ✓ src/utils/retry.test.ts (29 tests) 39ms ✓ src/models/modelRegistry.test.ts (35 tests) 68ms ✓ src/core/geminiChat.test.ts (36 tests) 6354ms ✓ GeminiChat > should correctly retry and append to an existing history mid-conversation 2029ms ✓ GeminiChat > should retry if the model returns a completely empty stream (no chunks) 2011ms ✓ GeminiChat > should discard valid partial content from a failed attempt upon retry 2021ms ✓ src/agents/backends/InProcessBackend.test.ts (30 tests) 201ms ✓ src/utils/filesearch/crawler.test.ts (18 tests) 45ms ✓ src/utils/pathReader.test.ts (16 tests) 197ms ✓ src/core/loggingContentGenerator/loggingContentGenerator.test.ts (5 tests) 113ms ✓ src/tools/todoWrite.test.ts (22 tests) 71ms ✓ src/ide/ideContext.test.ts (23 tests) 51ms ✓ src/tools/skill.test.ts (21 tests) 53ms ✓ src/core/tokenLimits.test.ts (51 tests) 10ms ✓ src/core/openaiContentGenerator/provider/default.test.ts (19 tests) 21ms ✓ src/config/storage.test.ts (40 tests) 59ms ✓ src/core/anthropicContentGenerator/anthropicContentGenerator.test.ts (15 tests) 5502ms ✓ AnthropicContentGenerator > passes a QwenCode User-Agent header to the Anthropic SDK 682ms ✓ AnthropicContentGenerator > merges customHeaders into defaultHeaders (does not replace defaults) 497ms ✓ AnthropicContentGenerator > omits the anthropic beta header when reasoning is disabled 421ms ✓ AnthropicContentGenerator > generateContent > builds request with config sampling params (config overrides request) and thinking budget 350ms ✓ AnthropicContentGenerator > generateContent > omits thinking when request.config.thinkingConfig.includeThoughts is false 333ms ✓ AnthropicContentGenerator > generateContent > output token limits > caps request.config.maxOutputTokens to model output limit when config max_tokens is missing 400ms ✓ AnthropicContentGenerator > generateContent > output token limits > uses conservative default when max_tokens is not explicitly configured 328ms ✓ AnthropicContentGenerator > generateContent > output token limits > treats null maxOutputTokens as not configured 399ms ✓ AnthropicContentGenerator > countTokens > counts tokens using the request tokenizer 339ms ✓ AnthropicContentGenerator > countTokens > falls back to character approximation when tokenizer throws 431ms ✓ src/utils/ignorePatterns.test.ts (28 tests) 25ms ✓ src/core/openaiContentGenerator/errorHandler.test.ts (36 tests) 22ms ✓ src/core/geminiContentGenerator/geminiContentGenerator.test.ts (10 tests) 15ms ✓ src/core/baseLlmClient.test.ts (18 tests) 20ms ✓ src/agents/runtime/agent-statistics.test.ts (32 tests) 62ms ✓ src/utils/partUtils.test.ts (37 tests) 68ms ✓ src/subagents/validation.test.ts (37 tests) 23ms ✓ src/utils/request-tokenizer/textTokenizer.test.ts (31 tests) 126ms ✓ src/utils/getFolderStructure.test.ts (15 tests) 140ms ✓ src/agents/backends/iterm-it2.test.ts (19 tests) 46ms ✓ src/utils/generateContentResponseUtilities.test.ts (29 tests) 9ms ✓ src/tools/modifiable-tool.test.ts (11 tests) 48ms ✓ src/utils/readManyFiles.test.ts (15 tests) 94ms ✓ src/core/__tests__/openaiTimeoutHandling.test.ts (12 tests) 149ms ✓ src/utils/shellAstParser.test.ts (146 tests) 189ms ✓ src/services/cronScheduler.test.ts (27 tests) 62ms ✓ src/output/json-formatter.test.ts (15 tests) 9ms ✓ src/hooks/hookRunner.test.ts (26 tests) 151ms ✓ src/utils/environmentContext.test.ts (12 tests) 69ms ✓ src/extension/claude-converter.test.ts (16 tests) 68ms ✓ src/core/openaiContentGenerator/openaiContentGenerator.test.ts (13 tests) 31ms ✓ src/skills/skill-load.test.ts (16 tests) 15ms ✓ src/mcp/token-storage/file-token-storage.test.ts (16 tests) 824ms ✓ src/models/modelConfigResolver.test.ts (19 tests) 23ms ✓ src/mcp/token-storage/keychain-token-storage.test.ts (24 tests) 3407ms ✓ src/mcp/token-storage/hybrid-token-storage.test.ts (11 tests) 26ms ✓ src/utils/schemaValidator.test.ts (22 tests) 117ms ✓ src/utils/debugLogger.test.ts (17 tests) 103ms ✓ src/services/gitService.test.ts (12 tests) 39ms ✓ src/utils/gitIgnoreParser.test.ts (20 tests) 77ms ✓ src/utils/envVarResolver.test.ts (16 tests) 23ms ✓ src/agents/runtime/agent-interactive.test.ts (19 tests) 655ms ✓ src/extension/github.test.ts (30 tests) 277ms ✓ src/utils/subagentGenerator.test.ts (9 tests) 20ms ✓ src/tools/grep.test.ts (31 tests) 2630ms ✓ GrepTool > Result limiting > should show all results when no limit is specified 787ms ✓ GrepTool > Result limiting > should not show truncation warning when all results fit 633ms ✓ GrepTool > Result limiting > should not validate limit parameter 326ms ✓ GrepTool > Result limiting > should accept valid limit parameter 309ms ✓ src/utils/request-tokenizer/requestTokenizer.test.ts (11 tests) 23ms ✓ src/utils/secure-browser-launcher.test.ts (14 tests) 42ms ✓ src/utils/truncation.test.ts (10 tests) 49ms ✓ src/services/fileDiscoveryService.test.ts (13 tests) 95ms ✓ src/core/openaiContentGenerator/provider/openrouter.test.ts (12 tests) 13ms ✓ src/utils/cronParser.test.ts (24 tests) 39ms ✓ src/utils/editHelper.test.ts (17 tests) 14ms ✓ src/utils/yaml-parser.test.ts (18 tests) 27ms ✓ src/tools/mcp-client.test.ts (26 tests) 38ms ✓ src/tools/tools.test.ts (11 tests) 11ms ✓ src/utils/terminalSerializer.test.ts (16 tests) 250ms ✓ src/core/modalityDefaults.test.ts (30 tests) 12ms ✓ src/mcp/token-storage/base-token-storage.test.ts (12 tests) 34ms ✓ src/tools/tool-registry.test.ts (9 tests) 121ms ✓ src/models/content-generator-config.test.ts (12 tests) 47ms ✓ src/tools/diffOptions.test.ts (9 tests) 8ms ✓ src/mcp/sa-impersonation-provider.test.ts (8 tests) 28ms ✓ src/ide/ide-installer.test.ts (10 tests) 15ms ✓ src/lsp/LspConfigLoader.test.ts (6 tests) 36ms ✓ src/agents/arena/ArenaManager.test.ts (23 tests) 2644ms ✓ ArenaManager > backend initialization > should emit SESSION_UPDATE with type warning when backend detection returns warning 541ms ✓ ArenaManager > chat history forwarding > should pass chatHistory to backend spawnAgent calls 516ms ✓ ArenaManager > chat history forwarding > should pass undefined chatHistory when not provided 504ms ✓ ArenaManager > active session lifecycle > cancel should stop backend and move session to CANCELLED 512ms ✓ ArenaManager > active session lifecycle > cleanup should release backend and worktree resources after start 515ms ✓ src/utils/request-tokenizer/imageTokenizer.test.ts (9 tests) 18ms ✓ src/ide/process-utils.test.ts (6 tests) 5ms ✓ src/extension/gemini-converter.test.ts (9 tests) 7ms ✓ src/services/chatRecordingService.test.ts (11 tests) 99ms ✓ src/utils/filesearch/ignore.test.ts (12 tests) 53ms ✓ src/extension/marketplace.test.ts (22 tests) 60ms ✓ src/ide/detect-ide.test.ts (14 tests) 21ms ✓ src/utils/quotaErrorDetection.test.ts (16 tests) 9ms ✓ src/utils/safeJsonParse.test.ts (14 tests) 61ms ✓ src/extension/override.test.ts (16 tests) 8ms ✓ src/utils/textUtils.test.ts (20 tests) 33ms ✓ src/core/openaiContentGenerator/provider/deepseek.test.ts (7 tests) 7ms ✓ src/extension/settings.test.ts (10 tests) 16ms ✓ src/utils/errorReporting.test.ts (5 tests) 8ms ✓ src/core/nonInteractiveToolExecutor.test.ts (8 tests) 33ms ✓ src/utils/filesearch/crawlCache.test.ts (9 tests) 26ms ✓ src/utils/configResolver.test.ts (12 tests) 15ms ✓ src/utils/schemaConverter.test.ts (12 tests) 20ms ✓ src/utils/proxyUtils.test.ts (18 tests) 5ms ✓ src/utils/rateLimit.test.ts (13 tests) 5ms ✓ src/mcp/google-auth-provider.test.ts (8 tests) 67ms ✓ src/subagents/builtin-agents.test.ts (8 tests) 28ms ✓ src/telemetry/sdk.test.ts (6 tests) 74ms ✓ src/utils/installationManager.test.ts (4 tests) 20ms ✓ src/utils/errors.test.ts (12 tests) 14ms ✓ src/utils/runtimeFetchOptions.test.ts (4 tests) 21ms ✓ src/core/openaiContentGenerator/provider/modelscope.test.ts (5 tests) 5ms ✓ src/extension/storage.test.ts (5 tests) 66ms ✓ src/telemetry/config.test.ts (11 tests) 14ms ✓ src/core/geminiRequest.test.ts (12 tests) 4ms ✓ src/utils/toml-to-markdown-converter.test.ts (10 tests) 25ms ✓ src/tools/web-search/index.test.ts (10 tests) 113ms ✓ src/telemetry/sanitize.test.ts (10 tests) 11ms ✓ src/utils/thoughtUtils.test.ts (11 tests) 24ms ✓ src/utils/safeJsonStringify.test.ts (8 tests) 16ms ✓ src/utils/qwenIgnoreParser.test.ts (2 tests) 27ms ✓ src/utils/errorParsing.test.ts (11 tests) 6ms ✓ src/utils/asyncMessageQueue.test.ts (7 tests) 31ms ✓ src/utils/atomicFileWrite.test.ts (5 tests) 37ms ✓ src/utils/nextSpeakerChecker.test.ts (10 tests) 24ms ✓ src/utils/fetch.test.ts (3 tests) 10ms ✓ src/utils/filesearch/result-cache.test.ts (3 tests) 23ms ✓ src/telemetry/telemetry-utils.test.ts (6 tests) 17ms ✓ src/subagents/types.test.ts (3 tests) 7ms ✓ src/tools/cron-create.test.ts (5 tests) 238ms ✓ src/tools/mcp-client-manager.test.ts (7 tests) 10ms ✓ src/tools/cron-delete.test.ts (4 tests) 84ms ✓ src/index.test.ts (1 test) 2ms ✓ src/tools/cron-list.test.ts (3 tests) 111ms ✓ src/core/contentGenerator.test.ts (4 tests) 84ms ✓ src/extension/npm.test.ts (22 tests) 18ms ✓ src/tools/askUserQuestion.test.ts (9 tests) 9ms ✓ src/utils/shellReadOnlyChecker.test.ts (33 tests) 12ms ✓ src/tools/exitPlanMode.test.ts (16 tests) 28ms ✓ src/subagents/model-selection.test.ts (6 tests) 4ms ✓ src/tools/web-fetch.test.ts (7 tests) 62ms ✓ 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/telemetry/telemetry.test.ts (2 tests) 20ms ✓ src/agents/backends/tmux-commands.test.ts (8 tests) 9ms Test Files 199 passed (199) Tests 5162 passed | 2 skipped (5164) Start at 17:59:02 Duration 35.85s (transform 43.53s, setup 8.27s, collect 469.68s, tests 53.69s, environment 72ms, prepare 40.42s) JUNIT report written to /startdir/src/qwen-code/packages/core/junit.xml % Coverage report from v8 > @qwen-code/sdk@0.1.6 test > vitest run RUN v1.6.1 /startdir/src/qwen-code/packages/sdk-typescript ✓ test/unit/cliPath.test.ts (33 tests) 22ms 2026-04-03 17:59:41 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-04-03 17:59:41 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process error: Spawn failed 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process terminated by signal SIGTERM (node:12053) 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-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process error: Process error 2026-04-03 17:59:41 [DEBUG] [ProcessTransport] Spawning CLI (native): qwen --input-format stream-json --output-format stream-json --channel=SDK 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process error: Process error 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-04-03 17:59:41 [ERROR] [ProcessTransport] CLI process terminated by signal SIGKILL 2026-04-03 17:59:41 [INFO] [ProcessTransport] CLI process started successfully 2026-04-03 17:59:41 [DEBUG] [ProcessTransport] Forking CLI (node): /path/to/cli.js --input-format stream-json --output-format stream-json --channel=SDK 2026-04-03 17:59:41 [INFO] [ProcessTransport] CLI process started successfully ✓ test/unit/createSdkMcpServer.test.ts (18 tests) 24ms ✓ test/unit/ProcessTransport.test.ts (69 tests) 90ms 2026-04-03 17:59:41 [ERROR] [Query] Control response error for request f4b2e90d-1dc5-4d4a-9872-0e9995670ec9: Test error 2026-04-03 17:59:41 [ERROR] [Query] Initialization error: Test error ✓ test/unit/Stream.test.ts (20 tests) 10ms ✓ test/unit/createQuery.test.ts (3 tests) 44ms 2026-04-03 17:59:53 [ERROR] [Query] Initialization error: Query is closed 2026-04-03 18:00:04 [ERROR] [Query] Control response error for request f84bd1fe-216c-45e3-926d-685add337d7f: Malformed error ✓ test/unit/Query.test.ts (53 tests) 23765ms Test Files 6 passed (6) Tests 196 passed (196) Start at 17:59:40 Duration 24.51s (transform 977ms, setup 0ms, collect 1.54s, tests 23.95s, environment 2ms, prepare 575ms) > qwen-code-vscode-ide-companion@0.14.0 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/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 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 ✓ src/utils/errorMessage.test.ts (2 tests) 3ms 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) 40ms 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) 16ms ✓ src/utils/acpModelInfo.test.ts (12 tests) 8ms ✓ src/webview/providers/ChatWebviewViewProvider.test.ts (2 tests) 4ms ✓ src/webview/providers/ChatProviderRegistry.test.ts (2 tests) 9ms ✓ src/webview/providers/WebViewContent.test.ts (5 tests) 4ms ✓ src/commands/index.test.ts (3 tests) 5ms 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... 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) 9ms ✓ src/webview/providers/chatViewRegistration.test.ts (6 tests) 14ms ✓ src/services/acpConnection.test.ts (16 tests) 28ms ✓ src/webview/utils/utils.test.ts (15 tests) 10ms ✓ src/webview/hooks/useImage.test.ts (2 tests) 63ms 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) 24ms ✓ src/open-files-manager.test.ts (17 tests) 34ms stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1775239207913 [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 ======================================== stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback) [QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1775239207919 [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: 1775239207927 [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: 1775239207932 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: 1775239207944 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) 40ms ✓ src/services/qwenAgentManager.test.ts (7 tests) 6ms ✓ src/ide-server.test.ts (13 tests | 1 skipped) 162ms ✓ src/webview/components/layout/InputForm.test.tsx (2 tests) 50ms 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) 16ms 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) 8ms 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) 82ms Test Files 23 passed (23) Tests 160 passed | 1 skipped (161) Start at 18:00:05 Duration 8.08s (transform 11.85s, setup 0ms, collect 37.39s, tests 638ms, environment 537ms, prepare 4.61s) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_4785c46b-cbe3-4c66-b492-7e7b3766ffd4/build