==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_34814100-e279-42d0-b7f7-7c23e4539a3e]...done
==> Making package: qwen-code 0.15.6-1.1 (Thu Apr 30 23:19:53 2026)
==> Retrieving sources...
-> Cloning qwen-code git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/qwen-code-0.15.6-1/qwen-code'...
==> Validating source files with sha256sums...
qwen-code ... Passed
==> Validating source files with b2sums...
qwen-code ... Passed
==> Making package: qwen-code 0.15.6-1.1 (Thu Apr 30 21:20:59 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.6.3-1 7.57 MiB
extra/nodejs 25.9.0-1 63.78 MiB
extra/ripgrep 15.1.0-2 5.01 MiB
Total Installed Size: 78.58 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.3.0-1 6.08 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.54.0-1 30.26 MiB
extra/jq 1.8.1-3 0.46 MiB
extra/npm 11.13.0-1 8.66 MiB
Total Installed Size: 47.02 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 @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 node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
added 1420 packages, and audited 1433 packages in 2m
388 packages are looking for funding
run `npm fund` for details
38 vulnerabilities (2 low, 18 moderate, 16 high, 2 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.15.6 build
> node scripts/build.js
> @qwen-code/qwen-code@0.15.6 generate
> node scripts/generate-git-commit-info.js
> @qwen-code/qwen-code-core@0.15.6 build
> node ../../scripts/build_package.js
Successfully copied files.
> @qwen-code/web-templates@0.15.6 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 444ms
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.15.6 build
> tsc --build
> @qwen-code/channel-telegram@0.15.6 build
> tsc --build
> @qwen-code/channel-weixin@0.15.6 build
> tsc --build
> @qwen-code/channel-dingtalk@0.15.6 build
> tsc --build
> @qwen-code/channel-plugin-example@0.15.6 build
> tsc --build
> @qwen-code/qwen-code@0.15.6 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.15.6 build
> vite build
vite v5.4.21 building for production...
transforming...
✓ 157 modules transformed.
rendering chunks...
[vite:dts] Start generate declaration files...
computing gzip size...
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.js 382.69 kB │ gzip: 96.66 kB │ map: 824.07 kB
[vite:dts] Start rollup declaration files...
Analysis will use the bundled TypeScript version 5.8.2
[vite:dts] Declaration files built in 4635ms.
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.cjs 391.87 kB │ gzip: 97.37 kB │ map: 828.95 kB
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.umd.js 414.53 kB │ gzip: 98.53 kB │ map: 831.92 kB
✓ built in 6.90s
> @qwen-code/sdk@0.1.7 build
> node scripts/build.js
Compiling input files...
Processing src/index.ts
Writing src/index.ts -> dist/index.d.ts
Checking generated files...
[1;33mCompiler option "skipLibCheck" is disabled to properly check generated output[0m
Done in 9.13s
> qwen-code-vscode-ide-companion@0.15.6 build
> npm run build:dev
> qwen-code-vscode-ide-companion@0.15.6 build:dev
> npm run check-types && npm run lint && node esbuild.js
> qwen-code-vscode-ide-companion@0.15.6 check-types
> tsc --noEmit
> qwen-code-vscode-ide-companion@0.15.6 lint
> eslint src
/startdir/src/qwen-code/packages/vscode-ide-companion/src/extension.ts
221:45 warning Expected { after 'if' condition curly
/startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/App.tsx
180:17 warning Expected '===' and instead saw '==' eqeqeq
180:26 warning Expected { after 'if' condition curly
216:21 warning Expected { after 'if' condition curly
1214:44 warning Expected { after 'if' condition curly
1245:27 warning Expected { after 'if' condition curly
1258:47 warning Expected { after 'if' condition curly
/startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/providers/WebViewProvider.ts
1740:59 warning Expected { after 'if' condition curly
1742:19 warning Expected { after 'if' condition curly
✖ 9 problems (0 errors, 9 warnings)
0 errors and 8 warnings potentially fixable with the `--fix` option.
> @qwen-code/qwen-code@0.15.6 bundle
> npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js
> @qwen-code/qwen-code@0.15.6 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/
> @qwen-code/qwen-code@0.15.6 prepare
> husky && npm run build && npm run bundle
> @qwen-code/qwen-code@0.15.6 build
> node scripts/build.js
> @qwen-code/qwen-code@0.15.6 generate
> node scripts/generate-git-commit-info.js
> @qwen-code/qwen-code-core@0.15.6 build
> node ../../scripts/build_package.js
Successfully copied files.
> @qwen-code/web-templates@0.15.6 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 466ms
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.15.6 build
> tsc --build
> @qwen-code/channel-telegram@0.15.6 build
> tsc --build
> @qwen-code/channel-weixin@0.15.6 build
> tsc --build
> @qwen-code/channel-dingtalk@0.15.6 build
> tsc --build
> @qwen-code/channel-plugin-example@0.15.6 build
> tsc --build
> @qwen-code/qwen-code@0.15.6 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.15.6 build
> vite build
vite v5.4.21 building for production...
transforming...
✓ 157 modules transformed.
rendering chunks...
[vite:dts] Start generate declaration files...
computing gzip size...
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.js 382.69 kB │ gzip: 96.66 kB │ map: 824.07 kB
[vite:dts] Start rollup declaration files...
Analysis will use the bundled TypeScript version 5.8.2
[vite:dts] Declaration files built in 4731ms.
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.cjs 391.87 kB │ gzip: 97.37 kB │ map: 828.95 kB
dist/styles.css 82.67 kB │ gzip: 15.38 kB
dist/index.umd.js 414.53 kB │ gzip: 98.53 kB │ map: 831.92 kB
✓ built in 6.88s
> @qwen-code/sdk@0.1.7 build
> node scripts/build.js
Compiling input files...
Processing src/index.ts
Writing src/index.ts -> dist/index.d.ts
Checking generated files...
[1;33mCompiler option "skipLibCheck" is disabled to properly check generated output[0m
Done in 9.05s
> qwen-code-vscode-ide-companion@0.15.6 build
> npm run build:dev
> qwen-code-vscode-ide-companion@0.15.6 build:dev
> npm run check-types && npm run lint && node esbuild.js
> qwen-code-vscode-ide-companion@0.15.6 check-types
> tsc --noEmit
> qwen-code-vscode-ide-companion@0.15.6 lint
> eslint src
/startdir/src/qwen-code/packages/vscode-ide-companion/src/extension.ts
221:45 warning Expected { after 'if' condition curly
/startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/App.tsx
180:17 warning Expected '===' and instead saw '==' eqeqeq
180:26 warning Expected { after 'if' condition curly
216:21 warning Expected { after 'if' condition curly
1214:44 warning Expected { after 'if' condition curly
1245:27 warning Expected { after 'if' condition curly
1258:47 warning Expected { after 'if' condition curly
/startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/providers/WebViewProvider.ts
1740:59 warning Expected { after 'if' condition curly
1742:19 warning Expected { after 'if' condition curly
✖ 9 problems (0 errors, 9 warnings)
0 errors and 8 warnings potentially fixable with the `--fix` option.
> @qwen-code/qwen-code@0.15.6 bundle
> npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js
> @qwen-code/qwen-code@0.15.6 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/
npm notice
npm notice 📦 @qwen-code/qwen-code@0.15.6
npm notice Tarball Contents
npm notice 11.4kB LICENSE
npm notice 20.0kB README.md
npm notice 8.8kB dist/bundled/batch/SKILL.md
npm notice 3.6kB dist/bundled/loop/SKILL.md
npm notice 816B dist/bundled/qc-helper/docs/_meta.ts
npm notice 14.9kB dist/bundled/qc-helper/docs/common-workflow.md
npm notice 205B dist/bundled/qc-helper/docs/configuration/_meta.ts
npm notice 16.6kB dist/bundled/qc-helper/docs/configuration/auth.md
npm notice 25.3kB dist/bundled/qc-helper/docs/configuration/model-providers.md
npm notice 2.2kB dist/bundled/qc-helper/docs/configuration/qwen-ignore.md
npm notice 138.4kB dist/bundled/qc-helper/docs/configuration/settings.md
npm notice 7.9kB dist/bundled/qc-helper/docs/configuration/themes.md
npm notice 3.3kB dist/bundled/qc-helper/docs/configuration/trusted-folders.md
npm notice 169B dist/bundled/qc-helper/docs/extension/_meta.ts
npm notice 10.2kB dist/bundled/qc-helper/docs/extension/extension-releasing.md
npm notice 9.3kB dist/bundled/qc-helper/docs/extension/getting-started-extensions.md
npm notice 15.9kB dist/bundled/qc-helper/docs/extension/introduction.md
npm notice 686B dist/bundled/qc-helper/docs/features/_meta.ts
npm notice 9.9kB dist/bundled/qc-helper/docs/features/approval-mode.md
npm notice 12.4kB dist/bundled/qc-helper/docs/features/arena.md
npm notice 134B dist/bundled/qc-helper/docs/features/channels/_meta.ts
npm notice 5.8kB dist/bundled/qc-helper/docs/features/channels/dingtalk.md
npm notice 15.6kB dist/bundled/qc-helper/docs/features/channels/overview.md
npm notice 3.5kB dist/bundled/qc-helper/docs/features/channels/plugins.md
npm notice 4.8kB dist/bundled/qc-helper/docs/features/channels/telegram.md
npm notice 4.5kB dist/bundled/qc-helper/docs/features/channels/weixin.md
npm notice 3.2kB dist/bundled/qc-helper/docs/features/checkpointing.md
npm notice 13.7kB dist/bundled/qc-helper/docs/features/code-review.md
npm notice 26.2kB dist/bundled/qc-helper/docs/features/commands.md
npm notice 21.3kB dist/bundled/qc-helper/docs/features/dual-output.md
npm notice 4.6kB dist/bundled/qc-helper/docs/features/followup-suggestions.md
npm notice 14.3kB dist/bundled/qc-helper/docs/features/headless.md
npm notice 30.9kB dist/bundled/qc-helper/docs/features/hooks.md
npm notice 4.3kB dist/bundled/qc-helper/docs/features/language.md
npm notice 13.5kB dist/bundled/qc-helper/docs/features/lsp.md
npm notice 18.7kB dist/bundled/qc-helper/docs/features/mcp.md
npm notice 6.4kB dist/bundled/qc-helper/docs/features/memory.md
npm notice 8.4kB dist/bundled/qc-helper/docs/features/sandbox.md
npm notice 7.1kB dist/bundled/qc-helper/docs/features/scheduled-tasks.md
npm notice 6.9kB dist/bundled/qc-helper/docs/features/skills.md
npm notice 14.5kB dist/bundled/qc-helper/docs/features/status-line.md
npm notice 21.5kB dist/bundled/qc-helper/docs/features/sub-agents.md
npm notice 2.3kB dist/bundled/qc-helper/docs/features/tips.md
npm notice 1.4kB dist/bundled/qc-helper/docs/features/token-caching.md
npm notice 10.3kB dist/bundled/qc-helper/docs/features/tool-use-summaries.md
npm notice 103B dist/bundled/qc-helper/docs/ide-integration/_meta.ts
npm notice 10.2kB dist/bundled/qc-helper/docs/ide-integration/ide-companion-spec.md
npm notice 7.9kB dist/bundled/qc-helper/docs/ide-integration/ide-integration.md
npm notice 12.8kB dist/bundled/qc-helper/docs/integration-github-action.md
npm notice 2.6kB dist/bundled/qc-helper/docs/integration-jetbrains.md
npm notice 1.5kB dist/bundled/qc-helper/docs/integration-vscode.md
npm notice 2.3kB dist/bundled/qc-helper/docs/integration-zed.md
npm notice 4.4kB dist/bundled/qc-helper/docs/overview.md
npm notice 8.9kB dist/bundled/qc-helper/docs/quickstart.md
npm notice 66B dist/bundled/qc-helper/docs/reference/_meta.ts
npm notice 8.6kB dist/bundled/qc-helper/docs/reference/keyboard-shortcuts.md
npm notice 122B dist/bundled/qc-helper/docs/support/_meta.ts
npm notice 6.9kB dist/bundled/qc-helper/docs/support/tos-privacy.md
npm notice 10.2kB dist/bundled/qc-helper/docs/support/troubleshooting.md
npm notice 1.2kB dist/bundled/qc-helper/docs/support/Uninstall.md
npm notice 9.3kB dist/bundled/qc-helper/SKILL.md
npm notice 12.1kB dist/bundled/review/DESIGN.md
npm notice 41.7kB dist/bundled/review/SKILL.md
npm notice 25.4MB dist/cli.js
npm notice 1.0kB dist/sandbox-macos-permissive-closed.sb
npm notice 888B dist/sandbox-macos-permissive-open.sb
npm notice 1.3kB dist/sandbox-macos-permissive-proxied.sb
npm notice 3.3kB dist/sandbox-macos-restrictive-closed.sb
npm notice 3.4kB dist/sandbox-macos-restrictive-open.sb
npm notice 3.6kB dist/sandbox-macos-restrictive-proxied.sb
npm notice 4.5MB dist/vendor/ripgrep/arm64-darwin/rg
npm notice 4.8MB dist/vendor/ripgrep/arm64-linux/rg
npm notice 126B dist/vendor/ripgrep/COPYING
npm notice 4.7MB dist/vendor/ripgrep/x64-darwin/rg
npm notice 5.7MB dist/vendor/ripgrep/x64-linux/rg
npm notice 5.4MB dist/vendor/ripgrep/x64-win32/rg.exe
npm notice 1.4MB dist/vendor/tree-sitter/tree-sitter-bash.wasm
npm notice 190.8kB dist/vendor/tree-sitter/tree-sitter.wasm
npm notice 7.3kB package.json
npm notice Bundled Dependencies
npm notice dom-accessibility-api
npm notice @babel/code-frame
npm notice @babel/helper-validator-identifier
npm notice @babel/runtime
npm notice @kwsites/file-exists
npm notice @kwsites/promise-deferred
npm notice @lydell/node-pty-linux-x64
npm notice @lydell/node-pty
npm notice @testing-library/dom
npm notice @types/aria-query
npm notice ansi-regex
npm notice aria-query
npm notice debug
npm notice dequal
npm notice lz-string
npm notice picocolors
npm notice ms
npm notice simple-git
npm notice Tarball Details
npm notice name: @qwen-code/qwen-code
npm notice version: 0.15.6
npm notice filename: qwen-code-qwen-code-0.15.6.tgz
npm notice package size: 16.3 MB
npm notice unpacked size: 57.6 MB
npm notice shasum: 6c420cc256709d2a1e2ee180782be6e5b72900d6
npm notice integrity: sha512-Ru1J3FUMeWti9[...]jI0PYJeKkfztg==
npm notice bundled deps: 18
npm notice bundled files: 0
npm notice own files: 857
npm notice total files: 857
npm notice
qwen-code-qwen-code-0.15.6.tgz
==> Starting check()...
> @qwen-code/qwen-code@0.15.6 test
> npm run test --workspaces --if-present --parallel
npm warn Unknown cli config "--parallel". This will stop working in the next major version of npm.
> @qwen-code/qwen-code@0.15.6 test
> vitest run
RUN v3.2.4 /startdir/src/qwen-code/packages/cli
Coverage enabled with v8
✓ src/ui/hooks/useStatusLine.test.ts (52 tests) 10065ms
✓ useStatusLine > config validation > returns null when no statusLine config is set 9724ms
✓ src/utils/modelConfigUtils.test.ts (41 tests) 74ms
✓ src/utils/nonInteractiveHelpers.test.ts (60 tests) 60ms
✓ src/ui/hooks/atCommandProcessor.test.ts (43 tests) 417ms
✓ src/ui/components/shared/text-buffer.test.ts (132 tests) 498ms
✓ src/services/insight/generators/DataProcessor.test.ts (38 tests) 129ms
✓ src/ui/components/shared/vim-buffer-actions.test.ts (74 tests) 68ms
✓ src/utils/settingsUtils.test.ts (73 tests) 62ms
✓ src/config/settings.test.ts (95 tests) 185ms
✓ src/services/FileCommandLoader.test.ts (40 tests) 339ms
✓ src/ui/hooks/useGeminiStream.test.tsx (83 tests) 1492ms
✓ src/ui/hooks/vim.test.ts (89 tests) 1495ms
✓ src/ui/hooks/slashCommandProcessor.test.ts (39 tests) 2602ms
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:2905) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
✓ src/acp-integration/session/Session.test.ts (31 tests) 265ms
✓ src/ui/contexts/KeypressContext.test.tsx (92 tests) 2265ms
✓ KeypressContext - Kitty Protocol > Enter key handling > auto-recovers from a stuck paste mode via idle timeout 1260ms
✓ src/acp-integration/acpAgent.test.ts (23 tests) 1125ms
✓ src/config/config.test.ts (183 tests | 2 skipped) 2248ms
✓ src/nonInteractive/control/ControlDispatcher.test.ts (35 tests) 96ms
✓ src/ui/commands/languageCommand.test.ts (47 tests) 263ms
✓ src/nonInteractive/io/BaseJsonOutputAdapter.test.ts (93 tests) 40ms
✓ src/utils/errors.test.ts (38 tests) 108ms
✓ src/nonInteractive/io/StreamJsonOutputAdapter.test.ts (48 tests) 114ms
✓ src/ui/hooks/useSelectionList.test.ts (45 tests) 251ms
✓ src/nonInteractiveCli.test.ts (30 tests | 1 skipped) 240ms
✓ src/services/prompt-processors/shellProcessor.test.ts (34 tests) 245ms
✓ src/ui/hooks/useSlashCompletion.test.ts (24 tests) 703ms
✓ src/acp-integration/session/SubAgentTracker.test.ts (24 tests) 370ms
✓ src/ui/hooks/useToolScheduler.test.ts (17 tests) 224ms
✓ src/ui/components/agent-view/agentHistoryAdapter.test.ts (35 tests) 26ms
✓ src/ui/utils/mergeCompactToolGroups.test.ts (24 tests) 32ms
✓ src/ui/components/SettingsDialog.test.tsx (54 tests) 9864ms
✓ SettingsDialog > Settings Toggling > should toggle setting with Enter key 439ms
✓ SettingsDialog > Settings Toggling > should sync compact mode with CompactModeContext when toggled 1866ms
✓ SettingsDialog > Specific Settings Behavior > should keep restart prompt when switching scopes 399ms
✓ SettingsDialog > Output Language > treats empty output language as auto 502ms
✓ SettingsDialog > Complex User Interactions > should allow changing multiple settings without losing pending changes 512ms
✓ SettingsDialog > Complex User Interactions > should maintain state consistency during complex interactions 377ms
✓ SettingsDialog > String Settings Editing > should allow editing and committing a string setting 865ms
✓ src/nonInteractive/io/JsonOutputAdapter.test.ts (35 tests) 65ms
✓ src/ui/hooks/shellCommandProcessor.test.ts (20 tests) 554ms
✓ src/commands/auth/openrouterOAuth.test.ts (20 tests) 707ms
✓ openrouterOAuth > applies OpenRouter configuration to settings and reloads providers 455ms
✓ src/commands/auth/status.test.ts (22 tests) 56ms
✓ src/utils/languageUtils.test.ts (45 tests) 34ms
✓ src/ui/components/messages/ToolMessage.test.tsx (29 tests) 441ms
❯ src/ui/auth/AuthDialog.test.tsx (12 tests | 1 failed) 2719ms
✓ AuthDialog > should show an error if the initial auth type is invalid 390ms
✓ AuthDialog > GEMINI_API_KEY environment variable > should detect GEMINI_API_KEY environment variable 29ms
✓ AuthDialog > GEMINI_API_KEY environment variable > should not show the GEMINI_API_KEY message if QWEN_DEFAULT_AUTH_TYPE is set to something else 35ms
✓ AuthDialog > GEMINI_API_KEY environment variable > should show the GEMINI_API_KEY message if QWEN_DEFAULT_AUTH_TYPE is set to use api key 30ms
✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should select the auth type specified by QWEN_DEFAULT_AUTH_TYPE 38ms
✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should fall back to default if QWEN_DEFAULT_AUTH_TYPE is not set 74ms
✓ AuthDialog > QWEN_DEFAULT_AUTH_TYPE environment variable > should show an error and fall back to default if QWEN_DEFAULT_AUTH_TYPE is invalid 85ms
✓ AuthDialog > should prevent exiting when no auth method is selected and show error message 140ms
✓ AuthDialog > should not exit if there is already an error message 193ms
✓ AuthDialog > should allow exiting when auth method is already selected 172ms
✓ AuthDialog > should show OpenRouter in API key options 157ms
× AuthDialog Custom API Key Wizard > shows review screen with JSON after entering model IDs 1374ms
→ expected '┌────────────────────────────────────…' to contain 'Step 3/6 · API Key'
✓ src/acp-integration/session/emitters/ToolCallEmitter.test.ts (33 tests) 82ms
✓ src/ui/hooks/useCodingPlanUpdates.test.ts (15 tests) 377ms
✓ src/config/migration/versions/v2-to-v3.test.ts (31 tests) 22ms
✓ src/ui/hooks/useAutoAcceptIndicator.test.ts (15 tests) 282ms
✓ src/ui/AppContainer.test.tsx (52 tests) 6268ms
✓ AppContainer State Management > Basic Rendering > renders without crashing with minimal props 526ms
✓ AppContainer State Management > Context Providers > does not clear the terminal just because width changed 369ms
(node:2997) 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/hooks/useCommandCompletion.test.ts (19 tests) 372ms
✓ src/ui/utils/commandUtils.test.ts (33 tests) 139ms
✓ src/ui/components/StatsDisplay.test.tsx (17 tests) 1118ms
✓ src/ui/commands/btwCommand.test.ts (17 tests) 100ms
✓ src/nonInteractive/session.test.ts (21 tests) 249ms
✓ src/ui/hooks/useExtensionUpdates.test.ts (15 tests) 541ms
✓ src/ui/components/shared/BaseSelectionList.test.tsx (25 tests | 1 skipped) 705ms
❯ src/ui/components/StandaloneSessionPicker.test.tsx (18 tests | 1 failed) 3864ms
✓ SessionPicker > Empty Sessions > should show sessions with 0 messages 200ms
✓ SessionPicker > Empty Sessions > should show sessions even when all sessions are empty 143ms
✓ SessionPicker > Empty Sessions > should show sessions with 1 or more messages 166ms
✓ SessionPicker > Branch Filtering > should filter by branch when B is pressed 182ms
✓ SessionPicker > Branch Filtering > should combine empty session filter with branch filter 172ms
✓ SessionPicker > Keyboard Navigation > should navigate with arrow keys 178ms
✓ SessionPicker > Keyboard Navigation > should navigate with vim keys (j/k) 320ms
× SessionPicker > Keyboard Navigation > should select session on Enter 228ms
→ expected "spy" to be called with arguments: [ 'selected-session' ]
Number of calls: 0
✓ SessionPicker > Keyboard Navigation > should cancel on Escape 183ms
✓ SessionPicker > Display > should show session metadata 122ms
✓ SessionPicker > Display > should show header and footer 190ms
✓ SessionPicker > Display > should show branch toggle hint when currentBranch is provided 237ms
✓ SessionPicker > Display > should truncate long prompts 133ms
✓ SessionPicker > Display > should show "(empty prompt)" for sessions without prompt text 144ms
✓ SessionPicker > Pagination > should load more sessions when scrolling to bottom 320ms
✓ SessionPicker > Preview Mode > renders tool_group items without crashing (stub Providers mounted) 275ms
✓ SessionPicker > Preview Mode > Enter inside preview fires onSelect with previewed sessionId 349ms
✓ SessionPicker > Preview Mode > without enablePreview, Space is a no-op and footer omits the hint 319ms
✓ src/services/McpPromptLoader.test.ts (25 tests) 40ms
✓ src/ui/hooks/useAtCompletion.test.ts (13 tests) 1259ms
[7A[JSelect an option:
> [36mOption 1 - First option[0m
[0mOption 2 - Second option[0m
[0mOption 3 - Third option[0m
(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)
[7A[JSelect an option:
> [36mOption 1 - First option[0m
[0mOption 2 - Second option[0m
[0mOption 3 - Third option[0m
(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)
✓ src/ui/components/InputPrompt.test.tsx (110 tests | 1 skipped) 19007ms
✓ InputPrompt > prompt suggestions > does not accept the prompt suggestion on shift+tab 532ms
✓ InputPrompt > prompt suggestions > does not accept a prompt suggestion while command completion is active 439ms
✓ InputPrompt > paste auto-submission protection > should allow submission after paste protection timeout 776ms
✓ InputPrompt > large paste placeholder > should expand placeholder to full content on submit 814ms
✓ InputPrompt > large paste placeholder > should expand same-size placeholders correctly when #2 appears first 853ms
✓ InputPrompt > large paste placeholder > should write expanded placeholder content to shell history 850ms
✓ src/validateNonInterActiveAuth.test.ts (13 tests) 110ms
✓ src/ui/keyMatchers.test.ts (35 tests) 47ms
✓ src/commands/auth/interactiveSelector.test.ts (15 tests) 101ms
✓ src/ui/utils/TableRenderer.test.tsx (43 tests) 709ms
✓ src/commands/mcp/add.test.ts (25 tests) 489ms
✓ src/ui/commands/renameCommand.test.ts (17 tests) 121ms
✓ src/ui/commands/exportCommand.test.ts (14 tests) 108ms
✓ src/commands/extensions/settings.test.ts (20 tests) 246ms
✓ src/utils/handleAutoUpdate.test.ts (18 tests) 32ms
✓ src/services/CommandService.test.ts (15 tests) 91ms
✓ src/acp-integration/session/HistoryReplayer.test.ts (16 tests) 37ms
✓ src/ui/components/ModelDialog.test.tsx (11 tests) 366ms
✓ src/ui/components/QwenOAuthProgress.test.tsx (18 tests) 407ms
✓ src/config/trustedFolders.test.ts (21 tests) 71ms
✓ src/config/migration/index.test.ts (26 tests) 14ms
✓ src/ui/utils/textUtils.test.ts (24 tests) 10ms
✓ src/ui/hooks/useQwenAuth.test.ts (17 tests) 131ms
]2;Qwen - cli]2;Qwen - root]2;Qwen - root]2;Qwen - root ✓ src/ui/components/LoadingIndicator.test.tsx (24 tests) 276ms
✓ src/gemini.test.tsx (12 tests) 1240ms
✓ gemini.tsx main function > verifies that we dont load the config before relaunchAppInChildProcess 575ms
✓ gemini.tsx main function > should skip full settings discovery in bare mode 533ms
✓ src/ui/components/messages/DiffRenderer.test.tsx (16 tests) 627ms
✓ src/ui/commands/directoryCommand.test.tsx (13 tests) 30ms
✓ src/utils/installationInfo.test.ts (16 tests) 45ms
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) 2186ms
✓ Configuration Integration Tests > Approval Mode Integration Tests > should parse --approval-mode=auto-edit correctly through the full argument parsing flow 1979ms
✓ src/acp-integration/session/rewrite/MessageRewriteMiddleware.test.ts (11 tests) 49ms
✓ src/ui/commands/arenaCommand.test.ts (14 tests) 18ms
✓ src/ui/components/shared/MaxSizedBox.test.tsx (21 tests) 250ms
✓ src/ui/components/messages/ToolGroupMessage.test.tsx (14 tests) 369ms
✓ src/ui/auth/useAuth.test.ts (22 tests) 46ms
✓ src/ui/utils/todoSnapshot.test.ts (14 tests) 38ms
✓ src/config/settingsSchema.test.ts (15 tests) 58ms
✓ src/utils/systemInfo.test.ts (15 tests) 142ms
✓ src/nonInteractiveCliCommands.test.ts (14 tests) 135ms
✓ src/commands/extensions/consent.test.ts (17 tests) 34ms
✓ src/ui/components/messages/AskUserQuestionDialog.test.tsx (15 tests) 1990ms
✓ src/utils/earlyInputCapture.test.ts (28 tests) 102ms
✓ src/commands/extensions/update.test.ts (14 tests) 65ms
✓ src/ui/utils/MarkdownDisplay.test.tsx (51 tests) 1133ms
✓ > with 'Windows' line endings > renders a fenced code block without a language 341ms
✓ src/config/auth.test.ts (15 tests) 36ms
✓ src/ui/commands/aboutCommand.test.ts (9 tests) 38ms
✓ src/services/SkillCommandLoader.test.ts (17 tests) 37ms
✓ src/ui/components/Composer.test.tsx (14 tests) 145ms
✓ src/ui/commands/clearCommand.test.ts (9 tests) 31ms
✓ src/utils/osc.test.ts (30 tests) 19ms
✓ src/services/FileCommandLoader-extension.test.ts (6 tests) 148ms
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) 218ms
✓ src/utils/apiPreconnect.test.ts (23 tests) 85ms
✓ src/utils/envVarResolver.test.ts (16 tests) 63ms
✓ src/utils/doctorChecks.test.ts (12 tests) 97ms
✓ src/ui/commands/restoreCommand.test.ts (13 tests) 82ms
✓ src/services/BundledSkillLoader.test.ts (15 tests) 50ms
✓ src/commands/auth/openrouter.test.ts (4 tests) 26ms
✓ src/services/prompt-processors/injectionParser.test.ts (21 tests) 53ms
✓ src/utils/writeWithBackup.test.ts (12 tests) 66ms
✓ src/services/BuiltinCommandLoader.test.ts (9 tests) 20ms
✓ src/ui/components/ModelStatsDisplay.test.tsx (8 tests) 333ms
✓ src/ui/themes/theme-manager.test.ts (18 tests) 81ms
✓ src/ui/hooks/useShellHistory.test.ts (7 tests) 653ms
✓ src/ui/hooks/useKeypress.test.ts (15 tests) 115ms
✓ src/ui/hooks/useLoadingIndicator.test.ts (8 tests) 99ms
✓ src/ui/commands/ideCommand.test.ts (8 tests) 94ms
✓ src/ui/utils/resumeHistoryUtils.test.ts (4 tests) 21ms
✓ src/ui/utils/historyMapping.test.ts (14 tests) 12ms
✓ src/ui/commands/copyCommand.test.ts (11 tests) 35ms
✓ src/ui/themes/color-utils.test.ts (16 tests) 44ms
✓ src/ui/hooks/useInputHistory.test.ts (11 tests) 157ms
✓ src/acp-integration/session/rewrite/LlmRewriter.test.ts (9 tests) 41ms
✓ src/ui/hooks/useInputHistoryStore.test.ts (14 tests) 222ms
✓ src/ui/hooks/useMessageQueue.test.ts (16 tests) 134ms
✓ src/ui/components/HistoryItemDisplay.test.tsx (14 tests) 734ms
✓ src/utils/startupProfiler.test.ts (11 tests) 53ms
✓ src/ui/utils/computeStats.test.ts (12 tests) 26ms
✓ src/ui/hooks/useEditorSettings.test.ts (10 tests) 170ms
✓ src/commands/mcp/reconnect.test.ts (6 tests) 57ms
✓ src/ui/components/hooks/constants.test.ts (25 tests) 23ms
✓ src/ui/hooks/useTrustModify.test.ts (8 tests) 204ms
✓ src/config/migration/versions/v1-to-v2.test.ts (20 tests) 9ms
✓ src/ui/components/hooks/HookConfigDetailStep.test.tsx (14 tests) 581ms
✓ src/services/prompt-processors/atFileProcessor.test.ts (11 tests) 54ms
✓ src/acp-integration/session/emitters/PlanEmitter.test.ts (17 tests) 12ms
✓ src/utils/gitUtils.test.ts (24 tests) 115ms
✓ src/ui/hooks/useReverseSearchCompletion.test.tsx (10 tests) 127ms
✓ src/services/command-migration-tool.test.ts (13 tests) 234ms
✓ src/acp-integration/session/emitters/MessageEmitter.test.ts (13 tests) 57ms
✓ src/ui/utils/formatters.test.ts (32 tests) 13ms
✓ src/ui/components/MainContent.test.tsx (1 test) 67ms
✓ src/ui/hooks/useHistoryManager.test.ts (8 tests) 95ms
✓ src/ui/components/hooks/HooksManagementDialog.test.tsx (8 tests) 1006ms
✓ src/ui/hooks/usePhraseCycler.test.ts (9 tests) 162ms
✓ src/commands/extensions/install.test.ts (8 tests) 54ms
✓ src/nonInteractive/io/StreamJsonInputReader.test.ts (11 tests) 52ms
✓ src/ui/hooks/useAttentionNotifications.test.ts (9 tests) 141ms
✓ src/ui/hooks/useResumeCommand.test.ts (6 tests) 91ms
✓ src/ui/hooks/useIdeTrustListener.test.ts (5 tests) 114ms
✓ src/ui/commands/setupGithubCommand.test.ts (8 tests) 87ms
✓ src/ui/components/messages/ToolConfirmationMessage.test.tsx (13 tests) 363ms
✓ src/ui/commands/insightCommand.test.ts (4 tests) 30ms
✓ src/ui/utils/synchronizedOutput.test.ts (17 tests) 10ms
✓ src/ui/components/Footer.test.tsx (11 tests) 171ms
✓ src/services/commandUtils.test.ts (14 tests) 15ms
✓ src/ui/components/background-view/BackgroundTasksDialog.test.tsx (4 tests) 422ms
✓ src/ui/hooks/useGitBranchName.test.ts (7 tests | 2 skipped) 148ms
✓ src/ui/components/PluginChoicePrompt.test.tsx (12 tests) 412ms
✓ src/ui/components/messages/CompressionMessage.test.tsx (8 tests) 243ms
✓ src/ui/hooks/useFolderTrust.test.ts (9 tests) 47ms
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) 51ms
✓ src/ui/commands/bugCommand.test.ts (3 tests) 15ms
✓ src/ui/commands/extensionsCommand.test.ts (7 tests) 53ms
✓ src/ui/components/hooks/HookDetailStep.test.tsx (12 tests) 626ms
✓ src/commands/mcp/list.test.ts (4 tests) 20ms
✓ src/commands/channel/pidfile.test.ts (12 tests) 313ms
✓ src/core/initializer.test.ts (11 tests) 41ms
(node:3586) 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)
✓ src/ui/components/arena/ArenaSelectDialog.test.tsx (5 tests) 572ms
✓ src/ui/contexts/SessionContext.test.tsx (4 tests) 190ms
✓ src/ui/components/TrustDialog.test.tsx (6 tests) 539ms
✓ src/dualOutput/DualOutputBridge.test.ts (12 tests) 123ms
✓ src/ui/commands/approvalModeCommand.test.ts (13 tests) 58ms
✓ src/ui/components/subagents/runtime/AgentExecutionDisplay.test.tsx (4 tests) 480ms
✓ src/utils/deepMerge.test.ts (13 tests) 25ms
✓ src/ui/models/availableModels.test.ts (14 tests) 30ms
✓ src/ui/components/AnsiOutput.test.tsx (8 tests) 159ms
✓ src/ui/commands/modelCommand.test.ts (10 tests) 32ms
✓ src/ui/components/shared/RadioButtonSelect.test.tsx (5 tests) 79ms
✓ src/ui/commands/initCommand.test.ts (5 tests) 27ms
✓ src/ui/utils/highlight.test.ts (16 tests) 13ms
✓ src/ui/components/messages/CompactToolGroupDisplay.test.tsx (8 tests) 264ms
✓ src/config/migration/scheduler.test.ts (7 tests) 47ms
✓ src/ui/commands/planCommand.test.ts (7 tests) 10ms
✓ src/commands/channel/config-utils.test.ts (11 tests) 50ms
✓ src/ui/components/hooks/HooksListStep.test.tsx (9 tests) 347ms
✓ src/ui/components/Tips.test.ts (9 tests) 29ms
✓ src/ui/components/mcp/utils.test.ts (16 tests) 29ms
✓ src/utils/commands.test.ts (12 tests) 12ms
✓ src/ui/commands/resumeCommand.test.ts (9 tests) 50ms
✓ src/ui/utils/terminalRedrawOptimizer.test.ts (9 tests) 11ms
✓ src/ui/layouts/DefaultAppLayout.test.tsx (5 tests) 218ms
✓ src/services/FileCommandLoader-markdown.test.ts (4 tests) 79ms
✓ src/ui/utils/updateCheck.test.ts (9 tests) 12ms
✓ src/ui/components/arena/ArenaCards.test.tsx (2 tests) 299ms
✓ src/ui/components/ToolStatsDisplay.test.tsx (5 tests) 253ms
✓ src/ui/commands/statsCommand.test.ts (7 tests) 60ms
✓ src/services/markdown-command-parser.test.ts (13 tests) 35ms
✓ src/ui/components/extensions/ExtensionsManagerDialog.test.tsx (4 tests) 208ms
✓ src/ui/components/SessionPreview.test.tsx (5 tests) 761ms
✓ src/ui/components/StickyTodoList.test.tsx (5 tests) 212ms
✓ src/ui/components/views/McpStatus.test.tsx (12 tests) 299ms
✓ src/ui/manageModels/manageModels.test.ts (3 tests) 13ms
✓ src/nonInteractive/io/StreamJsonOutputAdapter.dualOutput.test.ts (5 tests) 29ms
✓ src/utils/cleanup.test.ts (8 tests) 169ms
✓ src/services/tips/tipScheduler.test.ts (7 tests) 16ms
✓ src/acp-integration/service/filesystem.test.ts (4 tests) 23ms
✓ src/ui/App.test.tsx (7 tests) 64ms
✓ src/services/notificationService.test.ts (9 tests) 21ms
✓ src/ui/hooks/useTimer.test.ts (8 tests) 87ms
✓ src/ui/commands/mcpCommand.test.ts (6 tests) 32ms
✓ src/ui/utils/modelsBySource.test.ts (7 tests) 10ms
✓ src/ui/components/SessionSummaryDisplay.test.tsx (3 tests) 180ms
✓ src/ui/components/shared/EnumSelector.test.tsx (9 tests) 225ms
✓ src/ui/hooks/useAwaySummary.test.ts (2 tests) 148ms
✓ src/ui/hooks/useFocus.test.ts (6 tests) 177ms
✓ src/commands/extensions/utils.test.ts (6 tests) 55ms
✓ src/services/tips/tipHistory.test.ts (11 tests) 32ms
✓ src/ui/utils/clipboardUtils.test.ts (11 tests) 48ms
✓ src/ui/commands/compressCommand.test.ts (5 tests) 41ms
✓ src/ui/commands/doctorCommand.test.ts (5 tests) 82ms
✓ src/commands/extensions/disable.test.ts (7 tests) 127ms
✓ src/ui/components/FolderTrustDialog.test.tsx (9 tests) 673ms
✓ src/ui/components/QueuedMessageDisplay.test.tsx (7 tests) 106ms
✓ src/remoteInput/RemoteInputWatcher.test.ts (5 tests) 437ms
✓ src/ui/components/hooks/HooksDisabledStep.test.tsx (8 tests) 297ms
✓ src/commands/extensions/enable.test.ts (7 tests) 79ms
✓ src/acp-integration/session/rewrite/TurnBuffer.test.ts (12 tests) 17ms
✓ src/ui/hooks/useWelcomeBack.test.ts (4 tests) 298ms
✓ src/ui/components/extensions/steps/ExtensionListStep.test.tsx (5 tests) 190ms
✓ src/ui/components/shared/ToolElapsedTime.test.tsx (8 tests) 97ms
✓ src/ui/components/ManageModelsDialog.test.tsx (9 tests) 19ms
✓ src/ui/hooks/useConfigInitMessage.test.ts (7 tests) 80ms
✓ src/ui/commands/docsCommand.test.ts (4 tests) 25ms
✓ src/utils/userStartupWarnings.test.ts (5 tests) 41ms
✓ src/ui/components/PrepareLabel.test.tsx (6 tests) 177ms
✓ src/ui/components/shared/TextInput.test.tsx (5 tests) 134ms
✓ src/ui/commands/toolsCommand.test.ts (4 tests) 48ms
✓ src/commands/extensions/list.test.ts (4 tests) 57ms
✓ src/utils/readStdin.test.ts (4 tests) 32ms
✓ src/ui/components/SettingInputPrompt.test.tsx (6 tests) 156ms
✓ src/ui/layouts/ScreenReaderAppLayout.test.tsx (4 tests) 104ms
✓ src/ui/hooks/useSlashCompletion.integration.test.ts (2 tests) 181ms
✓ src/commands/mcp/remove.test.ts (4 tests) 51ms
✓ src/ui/themes/theme.test.ts (5 tests) 7ms
✓ src/acp-integration/session/permissionUtils.test.ts (4 tests) 13ms
✓ src/acp-integration/session/rewrite/config.test.ts (5 tests) 48ms
✓ src/ui/components/Header.test.tsx (10 tests) 327ms
No extensions installed.
✓ src/commands/extensions.test.tsx (11 tests) 46ms
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) 123ms
✓ src/services/insight/generators/StaticInsightGenerator.test.ts (1 test) 16ms
✓ src/ui/components/views/ExtensionsList.test.tsx (9 tests) 256ms
✓ src/ui/components/AppHeader.test.tsx (3 tests) 225ms
✓ src/ui/hooks/useTerminalNotification.test.ts (4 tests) 41ms
✓ src/ui/utils/displayUtils.test.ts (8 tests) 22ms
✓ src/ui/commands/tasksCommand.test.ts (2 tests) 7ms
✓ src/ui/components/extensions/steps/ActionSelectionStep.test.tsx (5 tests) 114ms
✓ src/ui/components/ConsentPrompt.test.tsx (5 tests) 265ms
✓ src/ui/hooks/useMemoryMonitor.test.ts (3 tests) 90ms
✓ src/ui/utils/markdownUtilities.test.ts (7 tests) 3ms
✓ src/ui/components/ThemeDialog.test.tsx (2 tests) 633ms
✓ ThemeDialog Snapshots > should render correctly in theme selection mode 358ms
✓ src/config/keyBindings.test.ts (3 tests) 19ms
✓ src/ui/components/ContextSummaryDisplay.test.tsx (4 tests) 167ms
✓ src/commands/extensions/link.test.ts (4 tests) 28ms
✓ src/ui/commands/terminalSetupCommand.test.ts (5 tests) 15ms
✓ src/config/modelProvidersScope.test.ts (4 tests) 7ms
✓ src/utils/startupWarnings.test.ts (4 tests) 25ms
✓ src/ui/components/TodoDisplay.test.tsx (6 tests) 171ms
✓ src/ui/components/background-view/BackgroundTasksPill.test.tsx (7 tests) 11ms
✓ src/core/auth.test.ts (3 tests) 7ms
✓ src/utils/windowTitle.test.ts (7 tests) 5ms
✓ src/ui/components/shared/DescriptiveRadioButtonSelect.test.tsx (2 tests) 69ms
✓ src/ui/utils/sessionPickerUtils.test.ts (7 tests) 3ms
✓ src/utils/systemInfoFields.test.ts (2 tests) 22ms
✓ src/ui/components/IdeTrustChangeDialog.test.tsx (6 tests) 278ms
✓ src/ui/components/messages/BtwMessage.test.tsx (5 tests) 227ms
✓ src/ui/components/Help.test.tsx (4 tests) 447ms
✓ src/ui/hooks/useManageModelsCommand.test.ts (3 tests) 44ms
✓ src/ui/hooks/useModelCommand.test.ts (3 tests) 71ms
✓ src/ui/commands/statuslineCommand.test.ts (4 tests) 34ms
✓ src/core/theme.test.ts (5 tests) 18ms
✓ src/ui/commands/hooksCommand.test.ts (3 tests) 16ms
✓ src/commands/mcp.test.ts (3 tests) 72ms
✓ src/test-utils/mockCommandContext.test.ts (3 tests) 25ms
✓ src/ui/commands/dreamCommand.test.ts (1 test) 52ms
✓ src/ui/components/MemoryDialog.test.tsx (1 test) 168ms
✓ src/ui/hooks/useThemeCommand.test.ts (1 test) 102ms
✓ src/services/prompt-processors/argumentProcessor.test.ts (2 tests) 5ms
✓ src/ui/components/views/ToolsList.test.tsx (3 tests) 182ms
✓ src/ui/commands/helpCommand.test.ts (2 tests) 35ms
✓ src/ui/commands/quitCommand.test.ts (1 test) 28ms
✓ src/utils/acpModelUtils.test.ts (5 tests) 29ms
✓ src/ui/components/ShellConfirmationDialog.test.tsx (4 tests) 261ms
✓ src/ui/components/LoopDetectionConfirmation.test.tsx (2 tests) 166ms
✓ src/ui/commands/themeCommand.test.ts (2 tests) 16ms
✓ src/acp-integration/runtimeOutputDirContext.test.ts (1 test) 3ms
✓ src/ui/components/messages/StatusMessages.test.tsx (1 test) 40ms
✓ src/ui/commands/manageModelsCommand.test.ts (2 tests) 18ms
✓ src/ui/commands/trustCommand.test.ts (3 tests) 35ms
✓ src/ui/commands/settingsCommand.test.ts (2 tests) 7ms
✓ src/ui/commands/permissionsCommand.test.ts (3 tests) 8ms
✓ src/ui/commands/authCommand.test.ts (2 tests) 7ms
✓ src/ui/commands/editorCommand.test.ts (2 tests) 16ms
✓ src/ui/commands/deleteCommand.test.ts (2 tests) 6ms
✓ src/utils/processUtils.test.ts (1 test) 5ms
✓ src/commands/extensions/uninstall.test.ts (1 test) 19ms
✓ src/ui/commands/memoryCommand.test.ts (1 test) 12ms
✓ src/ui/components/ExternalAuthProgress.test.tsx (1 test) 32ms
❯ src/ui/themes/detect-terminal-theme.test.ts (29 tests | 2 failed) 96431ms
× detectTerminalTheme > parseOscRgb > should parse rgb:RRRR/GGGG/BBBB format 5044ms
→ Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
× detectTerminalTheme > parseOscRgb > should parse short hex components (rgb:RR/GG/BB) 5009ms
→ Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
✓ detectTerminalTheme > parseOscRgb > should parse #RRGGBB format 4018ms
✓ detectTerminalTheme > parseOscRgb > should parse #RRRRGGGGBBBB format 4209ms
✓ detectTerminalTheme > parseOscRgb > should return undefined for invalid data 3548ms
✓ detectTerminalTheme > themeFromOscColor > should return "dark" for a dark background 4354ms
✓ detectTerminalTheme > themeFromOscColor > should return "light" for a light background 3084ms
✓ detectTerminalTheme > themeFromOscColor > should return undefined for unparseable data 4210ms
✓ detectTerminalTheme > detectOsc11Theme > should return undefined when stdin is not a TTY 4268ms
✓ detectTerminalTheme > detectOsc11Theme > should resolve "dark" when terminal reports a dark background 3655ms
✓ detectTerminalTheme > detectOsc11Theme > should resolve undefined on timeout and remove its data listener 3502ms
✓ detectTerminalTheme > detectOsc11Theme > should reassemble OSC 11 responses split across multiple data events 3736ms
✓ detectTerminalTheme > detectMacOSTheme > should return "dark" when macOS dark mode is active 3123ms
✓ detectTerminalTheme > detectMacOSTheme > should return "light" when macOS light mode is active 3648ms
✓ detectTerminalTheme > detectMacOSTheme > should return "light" when the "does not exist" message is on stderr only 3572ms
✓ detectTerminalTheme > detectMacOSTheme > should return undefined on timeout (do not assume Light Mode) 3320ms
✓ detectTerminalTheme > detectMacOSTheme > should return undefined when `defaults` is not on PATH 2478ms
✓ detectTerminalTheme > detectMacOSTheme > should return undefined on non-macOS platforms 3937ms
✓ detectTerminalTheme > detectFromColorFgBg > should return "dark" when background is dark (COLORFGBG=15;0) 2207ms
✓ detectTerminalTheme > detectFromColorFgBg > should return "light" when background is light (COLORFGBG=0;15) 2331ms
✓ detectTerminalTheme > detectFromColorFgBg > should return "light" when background is 7 (light gray) 3011ms
✓ detectTerminalTheme > detectFromColorFgBg > should return "dark" when background is 8 (dark gray) 2114ms
✓ detectTerminalTheme > detectFromColorFgBg > should handle three-part format (fg;extra;bg) 2809ms
✓ detectTerminalTheme > detectFromColorFgBg > should return undefined when COLORFGBG is not set 3157ms
✓ detectTerminalTheme > detectFromColorFgBg > should return undefined when COLORFGBG has invalid value 2364ms
✓ detectTerminalTheme > detectTerminalTheme (sync) > should prefer COLORFGBG over macOS detection 3284ms
✓ detectTerminalTheme > detectTerminalTheme (sync) > should fall back to macOS when COLORFGBG is not set 2595ms
✓ detectTerminalTheme > detectTerminalTheme (sync) > should fall back to COLORFGBG on non-macOS 1704ms
✓ detectTerminalTheme > detectTerminalTheme (sync) > should default to dark when no detection method works 2140ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/ui/auth/AuthDialog.test.tsx > AuthDialog Custom API Key Wizard > shows review screen with JSON after entering model IDs
AssertionError: expected '┌────────────────────────────────────…' to contain 'Step 3/6 · API Key'
- Expected
+ Received
- Step 3/6 · API Key
+ ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
+ │ │
+ │ Step 2/6 · Base URL │
+ │ │
+ │ │
+ │ Enter the API endpoint for this protocol. │
+ │ │
+ │ > https://api.openai.com/v1 │
+ │ │
+ │ Need advanced generationConfig or capabilities? See documentation │
+ │ │
+ │ Enter to submit, Esc to go back │
+ │ │
+ └──────────────────────────────────────────────────────────────────────────────────────────────────┘
❯ src/ui/auth/AuthDialog.test.tsx:115:25
113| stdin.write('\r');
114| await vi.waitFor(() => {
115| expect(lastFrame()).toContain(expectedText);
| ^
116| });
117| };
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯
FAIL src/ui/components/StandaloneSessionPicker.test.tsx > SessionPicker > Keyboard Navigation > should select session on Enter
AssertionError: expected "spy" to be called with arguments: [ 'selected-session' ]
Number of calls: 0
❯ src/ui/components/StandaloneSessionPicker.test.tsx:409:24
407| await wait(50);
408|
409| expect(onSelect).toHaveBeenCalledWith('selected-session');
| ^
410| });
411|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯
FAIL src/ui/themes/detect-terminal-theme.test.ts > detectTerminalTheme > parseOscRgb > should parse rgb:RRRR/GGGG/BBBB format
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/ui/themes/detect-terminal-theme.test.ts:33:5
31|
32| describe('parseOscRgb', () => {
33| it('should parse rgb:RRRR/GGGG/BBBB format', async () => {
| ^
34| const { parseOscRgb } = await import('./detect-terminal-theme.js…
35| const rgb = parseOscRgb('rgb:0000/0000/0000');
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/4]⎯
FAIL src/ui/themes/detect-terminal-theme.test.ts > detectTerminalTheme > parseOscRgb > should parse short hex components (rgb:RR/GG/BB)
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/ui/themes/detect-terminal-theme.test.ts:39:5
37| });
38|
39| it('should parse short hex components (rgb:RR/GG/BB)', async () =>…
| ^
40| const { parseOscRgb } = await import('./detect-terminal-theme.js…
41| const rgb = parseOscRgb('rgb:ff/ff/ff');
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/4]⎯
Test Files 3 failed | 303 passed (306)
Tests 4 failed | 4742 passed | 7 skipped (4753)
Start at 21:25:09
Duration 137.53s (transform 70.06s, setup 13.24s, collect 1937.35s, tests 209.67s, environment 319.16s, prepare 80.58s)
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.15.6
npm error location /startdir/src/qwen-code/packages/cli
npm error command failed
npm error command sh -c vitest run
> @qwen-code/qwen-code-core@0.15.6 test
> vitest run
RUN v3.2.4 /startdir/src/qwen-code/packages/core
Coverage enabled with v8
✓ src/core/openaiContentGenerator/pipeline.test.ts (29 tests) 70ms
✓ src/mcp/oauth-provider.test.ts (22 tests) 222ms
✓ src/services/shellExecutionService.test.ts (50 tests) 407ms
✓ src/utils/fileUtils.test.ts (83 tests) 324ms
✓ src/tools/lsp.test.ts (69 tests) 846ms
✓ src/hooks/hookEventHandler.test.ts (107 tests) 179ms
✓ src/utils/memoryImportProcessor.test.ts (28 tests) 86ms
+----------------- 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 (83 tests) 2161ms
✓ getQwenOAuthClient - Enhanced Error Scenarios > should handle different authentication failure reasons - timeout 2062ms
✓ src/services/loopDetectionService.test.ts (43 tests) 501ms
✓ LoopDetectionService > Content Loop Detection > should not detect a loop for random content 341ms
✓ src/services/chatCompressionService.test.ts (42 tests) 114ms
✓ src/tools/ripGrep.test.ts (48 tests) 375ms
✓ src/models/modelsConfig.test.ts (57 tests) 51ms
(node:9816) [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/ide/ide-client.test.ts (32 tests) 114ms
✓ src/qwen/sharedTokenManager.test.ts (31 tests) 317ms
✓ src/lsp/NativeLspService.test.ts (14 tests) 57ms
✓ src/utils/retry.test.ts (56 tests) 119ms
✓ src/hooks/hookAggregator.test.ts (39 tests) 23ms
✓ src/core/openaiContentGenerator/provider/dashscope.test.ts (40 tests) 31ms
✓ src/hooks/hookPlanner.test.ts (50 tests) 24ms
✓ src/telemetry/uiTelemetry.test.ts (26 tests) 51ms
✓ src/core/openaiContentGenerator/streamingToolCallParser.test.ts (59 tests) 44ms
✓ src/utils/paths.test.ts (107 tests) 38ms
✓ src/utils/editor.test.ts (134 tests) 59ms
✓ src/telemetry/loggers.test.ts (45 tests) 89ms
✓ src/services/sessionService.test.ts (30 tests) 123ms
✓ src/extension/extensionManager.test.ts (42 tests) 286ms
✓ src/core/openaiContentGenerator/converter.test.ts (73 tests) 41ms
✓ src/core/turn.test.ts (23 tests) 91ms
✓ src/tools/agent/agent.test.ts (56 tests) 341ms
✓ src/config/config.test.ts (99 tests) 652ms
✓ src/permissions/permission-manager.test.ts (192 tests) 204ms
✓ src/utils/shell-utils.test.ts (102 tests) 68ms
✓ src/hooks/hookSystem.test.ts (66 tests) 134ms
✓ src/subagents/subagent-manager.test.ts (71 tests) 303ms
✓ src/tools/mcp-tool.test.ts (53 tests) 262ms
✓ src/core/toolHookTriggers.test.ts (47 tests) 85ms
✓ src/tools/shell.test.ts (57 tests) 1036ms
✓ src/core/coreToolScheduler.test.ts (67 tests) 892ms
✓ src/skills/skill-manager.test.ts (50 tests) 232ms
✓ src/tools/edit.test.ts (53 tests) 380ms
✓ src/qwen/qwenContentGenerator.test.ts (44 tests) 312ms
✓ src/core/client.test.ts (63 tests) 1501ms
✓ src/hooks/hookRegistry.test.ts (30 tests) 42ms
✓ src/core/anthropicContentGenerator/converter.test.ts (29 tests) 22ms
✓ src/agents/background-tasks.test.ts (36 tests) 52ms
✓ src/core/logger.test.ts (38 tests) 139ms
✓ src/core/prompts.test.ts (53 tests) 86ms
✓ src/lsp/NativeLspService.integration.test.ts (30 tests) 17ms
✓ src/agents/runtime/agent-headless.test.ts (26 tests | 2 skipped) 2290ms
✓ subagent.ts > AgentHeadless > create (Tool Validation) > should create a AgentHeadless successfully with minimal config 763ms
✓ src/extension/extensionSettings.test.ts (23 tests) 195ms
✓ src/tools/skill.test.ts (34 tests) 74ms
✓ src/utils/pdf.test.ts (34 tests) 52ms
✓ src/agents/backends/ITermBackend.test.ts (46 tests) 97ms
✓ src/services/gitWorktreeService.test.ts (20 tests) 32ms
✓ src/utils/filesearch/fileSearch.test.ts (27 tests) 193ms
✓ src/utils/workspaceContext.test.ts (44 tests) 69ms
✓ src/utils/sessionStorageUtils.test.ts (42 tests) 24ms
✓ src/tools/read-file.test.ts (39 tests) 352ms
✓ src/telemetry/qwen-logger/qwen-logger.test.ts (33 tests) 100ms
✓ src/models/modelConfigResolver.test.ts (45 tests) 26ms
✓ src/tools/glob.test.ts (43 tests) 4374ms
✓ GlobTool > ignore file handling > should respect .qwenignore when searching a subdirectory (path option) 404ms
✓ GlobTool > file count truncation > should truncate results when more than 100 files are found 376ms
✓ src/telemetry/metrics.test.ts (38 tests) 2126ms
✓ src/services/sessionService.rename.test.ts (16 tests) 136ms
✓ src/services/fileSystemService.test.ts (41 tests) 79ms
✓ src/agents/arena/ArenaAgentClient.test.ts (21 tests) 108ms
✓ src/hooks/sessionHooksManager.test.ts (32 tests) 49ms
✓ src/utils/memoryDiscovery.test.ts (16 tests) 184ms
✓ src/agents/backends/InProcessBackend.test.ts (30 tests) 187ms
✓ src/utils/filesearch/crawler.test.ts (21 tests) 250ms
✓ src/utils/systemEncoding.test.ts (41 tests) 90ms
✓ src/agents/backends/TmuxBackend.test.ts (27 tests) 112ms
✓ src/permissions/shell-semantics.test.ts (52 tests) 114ms
✓ src/core/geminiChat.test.ts (46 tests) 6360ms
✓ GeminiChat > should correctly retry and append to an existing history mid-conversation 2021ms
✓ GeminiChat > should retry if the model returns a completely empty stream (no chunks) 2020ms
✓ GeminiChat > should discard valid partial content from a failed attempt upon retry 2030ms
✓ src/models/modelRegistry.test.ts (35 tests) 36ms
✓ src/extension/variables.test.ts (20 tests) 155ms
✓ src/utils/openaiLogger.test.ts (30 tests) 271ms
✓ src/core/loggingContentGenerator/loggingContentGenerator.test.ts (11 tests) 63ms
✓ src/utils/pathReader.test.ts (17 tests) 131ms
✓ src/core/anthropicContentGenerator/anthropicContentGenerator.test.ts (15 tests) 4975ms
✓ AnthropicContentGenerator > passes a QwenCode User-Agent header to the Anthropic SDK 624ms
✓ AnthropicContentGenerator > merges customHeaders into defaultHeaders (does not replace defaults) 381ms
✓ AnthropicContentGenerator > adds the effort beta header when reasoning.effort is set 311ms
✓ AnthropicContentGenerator > generateContent > builds request with config sampling params (config overrides request) and thinking budget 327ms
✓ AnthropicContentGenerator > generateContent > omits thinking when request.config.thinkingConfig.includeThoughts is false 436ms
✓ AnthropicContentGenerator > generateContent > output token limits > caps configured samplingParams.max_tokens to model output limit 359ms
✓ AnthropicContentGenerator > generateContent > output token limits > uses conservative default when max_tokens is not explicitly configured 329ms
✓ AnthropicContentGenerator > generateContent > output token limits > respects configured max_tokens for unknown models 404ms
✓ AnthropicContentGenerator > generateContent > output token limits > treats null maxOutputTokens as not configured 309ms
✓ AnthropicContentGenerator > countTokens > counts tokens using the request tokenizer 442ms
✓ src/utils/rulesDiscovery.test.ts (30 tests) 102ms
✓ src/hooks/asyncHookRegistry.test.ts (20 tests) 24ms
✓ src/mcp/oauth-token-storage.test.ts (28 tests) 30ms
✓ src/mcp/oauth-utils.test.ts (27 tests) 50ms
✓ src/services/toolUseSummary.test.ts (35 tests) 252ms
✓ src/tools/ls.test.ts (27 tests) 520ms
✓ src/core/openaiContentGenerator/provider/default.test.ts (21 tests) 38ms
✓ src/core/tokenLimits.test.ts (55 tests) 34ms
✓ src/hooks/functionHookRunner.test.ts (20 tests) 149ms
✓ src/utils/schemaValidator.test.ts (30 tests) 211ms
✓ src/ide/ideContext.test.ts (23 tests) 44ms
✓ src/tools/todoWrite.test.ts (22 tests) 61ms
✓ src/config/storage.test.ts (40 tests) 42ms
✓ src/subagents/validation.test.ts (41 tests) 22ms
✓ src/core/baseLlmClient.test.ts (18 tests) 36ms
✓ src/tools/write-file.test.ts (28 tests) 403ms
✓ src/hooks/hookRunner.test.ts (31 tests) 172ms
✓ src/skills/skill-load.test.ts (28 tests) 24ms
✓ src/utils/shellAstParser.test.ts (144 tests) 169ms
✓ src/core/openaiContentGenerator/pipeline.concurrent.test.ts (2 tests) 11ms
✓ src/agents/runtime/agent-interactive.test.ts (19 tests) 682ms
✓ src/utils/ignorePatterns.test.ts (28 tests) 11ms
✓ src/services/microcompaction/microcompact.test.ts (18 tests) 20ms
✓ src/utils/readManyFiles.test.ts (16 tests) 126ms
✓ src/utils/notebook.test.ts (15 tests) 67ms
✓ src/tools/tool-registry.test.ts (17 tests) 106ms
✓ src/extension/claude-converter.test.ts (16 tests) 123ms
✓ src/core/geminiContentGenerator/geminiContentGenerator.test.ts (10 tests) 42ms
✓ src/utils/partUtils.test.ts (37 tests) 112ms
✓ src/core/__tests__/openaiTimeoutHandling.test.ts (12 tests) 75ms
✓ src/agents/runtime/agent-statistics.test.ts (32 tests) 59ms
✓ src/services/chatRecordingService.autoTitle.test.ts (15 tests) 66ms
✓ src/core/openaiContentGenerator/errorHandler.test.ts (34 tests) 49ms
✓ src/services/sessionTitle.test.ts (15 tests) 27ms
✓ src/utils/request-tokenizer/textTokenizer.test.ts (31 tests) 136ms
✓ src/tools/modifiable-tool.test.ts (11 tests) 88ms
✓ src/agents/backends/iterm-it2.test.ts (19 tests) 49ms
✓ src/utils/getFolderStructure.test.ts (15 tests) 148ms
✓ src/utils/generateContentResponseUtilities.test.ts (29 tests) 35ms
✓ src/tools/mcp-client.test.ts (30 tests) 58ms
✓ src/services/cronScheduler.test.ts (27 tests) 105ms
✓ src/agents/arena/ArenaManager.test.ts (25 tests) 3668ms
✓ ArenaManager > backend initialization > should emit SESSION_UPDATE with type warning when backend detection returns warning 544ms
✓ ArenaManager > chat history forwarding > should pass chatHistory to backend spawnAgent calls 507ms
✓ ArenaManager > chat history forwarding > should pass undefined chatHistory when not provided 519ms
✓ ArenaManager > active session lifecycle > collects diff summaries and fallback approach summaries 1019ms
✓ ArenaManager > active session lifecycle > cancel should stop backend and move session to CANCELLED 508ms
✓ ArenaManager > active session lifecycle > cleanup should release backend and worktree resources after start 505ms
✓ src/utils/environmentContext.test.ts (12 tests) 216ms
✓ src/services/backgroundShellRegistry.test.ts (22 tests) 19ms
✓ src/tools/grep.test.ts (31 tests) 3037ms
✓ GrepTool > multi-directory workspace > should deduplicate matches from overlapping workspace directories 340ms
✓ GrepTool > Result limiting > should show all results when no limit is specified 371ms
✓ GrepTool > Result limiting > should respect custom limit parameter 677ms
✓ src/confirmation-bus/message-bus.test.ts (15 tests) 99ms
✓ src/followup/followupState.test.ts (15 tests) 58ms
✓ src/core/openaiContentGenerator/openaiContentGenerator.test.ts (13 tests) 31ms
✓ src/services/gitService.test.ts (14 tests) 103ms
✓ src/extension/github.test.ts (30 tests) 244ms
✓ src/mcp/token-storage/keychain-token-storage.test.ts (24 tests) 3982ms
✓ KeychainTokenStorage > with keychain available > clearAll > should throw an aggregated error if deletions fail 384ms
✓ src/output/json-formatter.test.ts (15 tests) 7ms
✓ src/mcp/token-storage/file-token-storage.test.ts (16 tests) 1551ms
✓ src/memory/manager.test.ts (15 tests) 193ms
✓ src/utils/debugLogger.test.ts (17 tests) 62ms
✓ src/mcp/token-storage/hybrid-token-storage.test.ts (11 tests) 23ms
✓ src/services/chatRecordingService.test.ts (15 tests) 141ms
✓ src/utils/terminalSerializer.test.ts (20 tests) 191ms
✓ src/hooks/httpHookRunner.test.ts (10 tests) 35ms
✓ src/utils/envVarResolver.test.ts (16 tests) 48ms
✓ src/utils/gitIgnoreParser.test.ts (20 tests) 213ms
✓ src/core/openaiContentGenerator/provider/deepseek.test.ts (12 tests) 18ms
✓ src/utils/request-tokenizer/requestTokenizer.test.ts (11 tests) 22ms
✓ src/utils/secure-browser-launcher.test.ts (14 tests) 70ms
✓ src/utils/truncation.test.ts (10 tests) 14ms
✓ src/core/openaiContentGenerator/provider/openrouter.test.ts (12 tests) 15ms
✓ src/utils/subagentGenerator.test.ts (9 tests) 89ms
✓ src/utils/editHelper.test.ts (17 tests) 19ms
✓ src/services/fileDiscoveryService.test.ts (13 tests) 44ms
✓ src/hooks/envInterpolator.test.ts (30 tests) 71ms
✓ src/utils/cronParser.test.ts (24 tests) 41ms
✓ src/tools/tools.test.ts (11 tests) 31ms
✓ src/followup/overlayFs.test.ts (15 tests) 117ms
✓ src/utils/yaml-parser.test.ts (18 tests) 30ms
✓ src/core/modalityDefaults.test.ts (30 tests) 23ms
✓ src/hooks/urlValidator.test.ts (20 tests) 37ms
✓ src/tools/task-stop.test.ts (7 tests) 131ms
✓ src/hooks/registerSkillHooks.test.ts (7 tests) 18ms
✓ src/hooks/ssrfGuard.test.ts (21 tests) 34ms
✓ src/models/content-generator-config.test.ts (12 tests) 8ms
✓ src/mcp/token-storage/base-token-storage.test.ts (12 tests) 9ms
✓ src/tools/web-fetch.test.ts (13 tests) 126ms
✓ src/mcp/sa-impersonation-provider.test.ts (8 tests) 13ms
✓ src/tools/diffOptions.test.ts (9 tests) 26ms
✓ src/ide/ide-installer.test.ts (10 tests) 44ms
✓ src/agents/agent-transcript.test.ts (19 tests) 97ms
✓ src/memory/memoryLifecycle.integration.test.ts (1 test) 57ms
✓ src/extension/gemini-converter.test.ts (9 tests) 27ms
✓ src/lsp/LspConfigLoader.test.ts (6 tests) 118ms
✓ src/utils/request-tokenizer/imageTokenizer.test.ts (9 tests) 10ms
✓ src/tools/exitPlanMode.test.ts (22 tests) 19ms
✓ src/ide/process-utils.test.ts (6 tests) 6ms
✓ src/utils/rateLimit.test.ts (16 tests) 10ms
✓ src/utils/filesearch/ignore.test.ts (12 tests) 68ms
✓ src/utils/safeJsonParse.test.ts (14 tests) 7ms
✓ src/core/nonInteractiveToolExecutor.test.ts (8 tests) 59ms
✓ src/ide/detect-ide.test.ts (14 tests) 65ms
✓ src/extension/override.test.ts (16 tests) 27ms
✓ src/prompts/prompt-registry.test.ts (11 tests) 30ms
✓ src/extension/marketplace.test.ts (22 tests) 44ms
✓ src/utils/quotaErrorDetection.test.ts (16 tests) 13ms
✓ src/extension/settings.test.ts (10 tests) 34ms
✓ src/telemetry/sdk.test.ts (6 tests) 69ms
✓ src/tools/send-message.test.ts (6 tests) 114ms
✓ src/utils/jsonl-utils.test.ts (13 tests) 39ms
✓ src/utils/forkedAgent.cache.test.ts (9 tests) 40ms
✓ src/utils/textUtils.test.ts (20 tests) 12ms
✓ src/telemetry/config.test.ts (11 tests) 16ms
✓ src/utils/sideQuery.test.ts (4 tests) 173ms
✓ src/utils/runtimeFetchOptions.test.ts (8 tests) 11ms
✓ src/utils/filesearch/crawlCache.test.ts (9 tests) 16ms
✓ src/utils/errorReporting.test.ts (5 tests) 13ms
✓ src/utils/configResolver.test.ts (12 tests) 22ms
✓ src/utils/nextSpeakerChecker.test.ts (10 tests) 83ms
✓ src/tools/askUserQuestion.test.ts (11 tests) 9ms
✓ src/utils/errorParsing.test.ts (11 tests) 25ms
✓ src/memory/store.test.ts (5 tests) 46ms
✓ src/agents/arena/diff-summary.test.ts (8 tests) 5ms
✓ src/utils/schemaConverter.test.ts (12 tests) 25ms
✓ src/tools/mcp-client-manager.test.ts (7 tests) 57ms
✓ src/utils/proxyUtils.test.ts (18 tests) 6ms
✓ src/memory/extract.test.ts (3 tests) 140ms
✓ src/subagents/builtin-agents.test.ts (8 tests) 27ms
✓ src/utils/shellReadOnlyChecker.test.ts (33 tests) 40ms
✓ src/mcp/google-auth-provider.test.ts (8 tests) 35ms
✓ src/utils/installationManager.test.ts (4 tests) 17ms
✓ src/extension/npm.test.ts (22 tests) 48ms
✓ src/hooks/combinedAbortSignal.test.ts (8 tests) 338ms
✓ src/core/openaiContentGenerator/provider/modelscope.test.ts (5 tests) 12ms
✓ src/memory/recall.test.ts (5 tests) 32ms
✓ src/lsp/LspServerManager.test.ts (6 tests) 22ms
✓ src/memory/extractAgent.test.ts (1 test) 82ms
✓ src/utils/errors.test.ts (12 tests) 5ms
✓ src/memory/relevanceSelector.test.ts (3 tests) 70ms
✓ src/extension/storage.test.ts (5 tests) 49ms
✓ src/core/geminiRequest.test.ts (12 tests) 4ms
✓ src/telemetry/sanitize.test.ts (10 tests) 9ms
✓ src/memory/prompt.test.ts (5 tests) 58ms
✓ src/utils/toml-to-markdown-converter.test.ts (10 tests) 44ms
✓ src/utils/thoughtUtils.test.ts (11 tests) 7ms
✓ src/utils/safeJsonStringify.test.ts (8 tests) 22ms
✓ src/memory/scan.test.ts (2 tests) 202ms
✓ src/followup/speculationToolGate.test.ts (26 tests) 222ms
✓ src/utils/projectSummary.test.ts (3 tests) 78ms
✓ src/core/contentGenerator.test.ts (4 tests) 53ms
✓ src/utils/qwenIgnoreParser.test.ts (2 tests) 60ms
✓ src/memory/indexer.test.ts (2 tests) 104ms
✓ src/utils/fetch.test.ts (3 tests) 22ms
✓ src/utils/asyncMessageQueue.test.ts (7 tests) 18ms
✓ src/tools/agent/agent-context.test.ts (5 tests) 83ms
✓ src/utils/atomicFileWrite.test.ts (5 tests) 106ms
✓ src/services/chatRecordingService.customTitle.test.ts (6 tests) 89ms
✓ src/telemetry/file-exporters.test.ts (1 test) 60ms
✓ src/utils/filesearch/result-cache.test.ts (3 tests) 43ms
✓ src/tools/cron-create.test.ts (5 tests) 310ms
✓ src/followup/smoke.test.ts (21 tests) 55ms
✓ src/memory/const.test.ts (3 tests) 16ms
✓ src/telemetry/telemetry-utils.test.ts (6 tests) 39ms
✓ src/subagents/types.test.ts (3 tests) 28ms
✓ src/memory/entries.test.ts (1 test) 4ms
✓ src/utils/internalPromptIds.test.ts (6 tests) 4ms
✓ src/memory/dream.test.ts (3 tests) 106ms
✓ src/index.test.ts (1 test) 2ms
✓ src/tools/cron-delete.test.ts (4 tests) 129ms
✓ src/tools/cron-list.test.ts (3 tests) 204ms
✓ src/core/geminiContentGenerator/index.test.ts (3 tests) 25ms
✓ src/utils/tool-utils.test.ts (19 tests) 9ms
✓ src/utils/ripgrepUtils.test.ts (6 tests) 6ms
✓ src/subagents/model-selection.test.ts (6 tests) 7ms
✓ src/memory/dreamAgentPlanner.test.ts (5 tests) 41ms
✓ src/memory/extractionAgentPlanner.test.ts (5 tests) 20ms
✓ src/followup/suggestionGenerator.test.ts (16 tests) 6ms
✓ src/followup/speculation.test.ts (7 tests) 6ms
✓ src/agents/backends/tmux-commands.test.ts (8 tests) 4ms
✓ src/telemetry/telemetry.test.ts (2 tests) 24ms
Test Files 254 passed (254)
Tests 6255 passed | 2 skipped (6257)
Start at 21:27:28
Duration 47.60s (transform 55.36s, setup 11.25s, collect 607.92s, tests 61.17s, environment 194ms, prepare 59.90s)
JUNIT report written to /startdir/src/qwen-code/packages/core/junit.xml
% Coverage report from v8
> @qwen-code/sdk@0.1.7 test
> vitest run
RUN v1.6.1 /startdir/src/qwen-code/packages/sdk-typescript
✓ test/unit/cliPath.test.ts (33 tests) 30ms
2026-04-30 21:28:21 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted
2026-04-30 21:28:21 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process error: Spawn failed
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process exited with code 1
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process terminated by signal SIGTERM
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process error: Process error
2026-04-30 21:28:21 [DEBUG] [ProcessTransport] Spawning CLI (native): qwen --input-format stream-json --output-format stream-json --channel=SDK
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process exited with code 1
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process error: Process error
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process exited with code 1
2026-04-30 21:28:21 [ERROR] [ProcessTransport] CLI process terminated by signal SIGKILL
2026-04-30 21:28:21 [INFO] [ProcessTransport] CLI process started successfully
2026-04-30 21:28:21 [DEBUG] [ProcessTransport] Forking CLI (node): /path/to/cli.js --input-format stream-json --output-format stream-json --channel=SDK
2026-04-30 21:28:21 [INFO] [ProcessTransport] CLI process started successfully
✓ test/unit/ProcessTransport.test.ts (71 tests) 129ms
✓ test/unit/createSdkMcpServer.test.ts (18 tests) 23ms
2026-04-30 21:28:21 [ERROR] [Query] Control response error for request 5adb1d7d-e3f2-4a27-a6a4-c8771df8e445: Test error
2026-04-30 21:28:21 [ERROR] [Query] Initialization error: Test error
✓ test/unit/Stream.test.ts (22 tests) 12ms
✓ test/unit/createQuery.test.ts (3 tests) 41ms
2026-04-30 21:28:33 [ERROR] [Query] Initialization error: Query is closed
2026-04-30 21:28:44 [ERROR] [Query] Control response error for request bb295974-87f3-497b-ad0d-bd4ea87e0378: Malformed error
✓ test/unit/Query.test.ts (54 tests) 23819ms
Test Files 6 passed (6)
Tests 201 passed (201)
Start at 21:28:20
Duration 24.63s (transform 800ms, setup 0ms, collect 1.48s, tests 24.05s, environment 1ms, prepare 758ms)
> qwen-code-vscode-ide-companion@0.15.6 test
> vitest run
RUN v3.2.4 /startdir/src/qwen-code/packages/vscode-ide-companion
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 > tool_call handling > forwards rawOutput for structured agent execution updates
[SessionUpdateHandler] Processing update type: tool_call_update
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 > available skills handling > reads available skills from available_commands_update metadata
[SessionUpdateHandler] Processing update type: available_commands_update
stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available skills handling > clears available skills when metadata is absent
[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 (16 tests) 22ms
✓ src/webview/utils/contextUsage.test.ts (4 tests) 9ms
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
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' }
✓ src/commands/index.test.ts (4 tests) 6ms
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) 33ms
✓ src/webview/providers/WebViewContent.test.ts (5 tests) 12ms
✓ src/utils/acpModelInfo.test.ts (15 tests) 18ms
✓ src/webview/utils/slashCommandUtils.test.ts (6 tests) 6ms
✓ src/webview/providers/chatViewRegistration.test.ts (6 tests) 21ms
✓ src/services/sessionExportService.test.ts (9 tests) 20ms
✓ src/webview/utils/utils.test.ts (15 tests) 5ms
✓ src/services/acpConnection.test.ts (16 tests) 134ms
✓ src/webview/hooks/useWebViewMessages.test.ts (1 test) 18ms
✓ src/open-files-manager.test.ts (17 tests) 46ms
✓ src/webview/hooks/useMessageSubmit.test.ts (17 tests) 11ms
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) 15ms
✓ src/webview/providers/ChatWebviewViewProvider.test.ts (2 tests) 25ms
✓ src/webview/utils/completionUtils.test.ts (4 tests) 8ms
✓ src/webview/providers/ChatProviderRegistry.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: 1777584528809
[QwenAgentManager] Using proxy from VSCode settings: http://proxy.example.com:8080
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when http.proxy is set
[QwenAgentManager] ACP process connected successfully
[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: 1777584528839
[QwenAgentManager] Using proxy from VSCode settings: http://https-proxy.example.com:8080
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > passes --proxy argument when https.proxy is set (fallback)
[QwenAgentManager] ACP process connected successfully
[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: 1777584528841
[QwenAgentManager] Using proxy from VSCode settings: http://http-proxy.example.com:8080
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > prefers http.proxy over https.proxy
[QwenAgentManager] ACP process connected successfully
[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: 1777584528859
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when no proxy is configured
[QwenAgentManager] ACP process connected successfully
[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: 1777584528869
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > proxy configuration > does not pass --proxy argument when proxy is empty string
[QwenAgentManager] ACP process connected successfully
[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
========================================
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > succeeds on first attempt without retry
[QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1777584528881
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > succeeds on first attempt without retry
[QwenAgentManager] ACP process connected successfully
[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 > connect retry logic > succeeds on first attempt without retry
[QwenAgentManager] Session created successfully
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > succeeds on first attempt without retry
[QwenAgentManager] New session created successfully
========================================
[QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY
========================================
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1777584528902
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] Retrying connect in 1000ms...
stderr | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] Connect attempt 1 failed: Qwen ACP process failed to start (exit code: null, signal: SIGTERM)
✓ src/package.test.ts (1 test) 2ms
✓ src/webview/handlers/AuthMessageHandler.test.ts (2 tests) 10ms
✓ src/utils/errorMessage.test.ts (2 tests) 7ms
✓ src/webview/hooks/useImage.test.ts (2 tests) 57ms
✓ src/utils/imageSupport.test.ts (1 test) 3ms
✓ src/utils/imageSupport.bundle.test.ts (2 tests) 257ms
stdout | src/services/qwenAgentManager.test.ts > QwenAgentManager.createNewSession > creates a fresh ACP session when explicitly requested even if one is already active
[QwenAgentManager] Creating new session...
stdout | src/services/qwenAgentManager.test.ts > QwenAgentManager.createNewSession > creates a fresh ACP session when explicitly requested even if one is already active
[QwenAgentManager] newSession returned: {
"sessionId": "session-2"
}
[QwenAgentManager] New session created with ID: session-2
stdout | src/services/qwenAgentManager.test.ts > QwenAgentManager.createNewSession > creates a distinct fresh session after an in-flight bootstrap when forceNew is requested
[QwenAgentManager] createNewSession: session creation already in flight
stdout | src/services/qwenAgentManager.test.ts > QwenAgentManager.createNewSession > creates a distinct fresh session after an in-flight bootstrap when forceNew is requested
[QwenAgentManager] Creating new session...
stdout | src/services/qwenAgentManager.test.ts > QwenAgentManager.createNewSession > creates a distinct fresh session after an in-flight bootstrap when forceNew is requested
[QwenAgentManager] newSession returned: {
"sessionId": "session-2"
}
[QwenAgentManager] New session created with ID: session-2
✓ src/services/qwenAgentManager.test.ts (9 tests) 54ms
✓ src/ide-server.test.ts (13 tests | 1 skipped) 663ms
✓ IDEServer > auth token > should reject request without auth token 311ms
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] Connecting to ACP process (attempt 2/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] ACP process connected successfully
[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 > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] Session created successfully
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt
[QwenAgentManager] New session created successfully
========================================
[QwenAgentManager] ✅ CONNECT() COMPLETED SUCCESSFULLY
========================================
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] 🚀 CONNECT() CALLED - ID: 1777584530084
[QwenAgentManager] Connecting to ACP process (attempt 1/3)...
stderr | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Connect attempt 1 failed: Qwen ACP process failed to start (exit code: null, signal: SIGTERM)
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Retrying connect in 1000ms...
✓ src/webview/hooks/useToolCalls.test.tsx (1 test) 46ms
✓ src/webview/hooks/useWebViewMessages.test.tsx (5 tests) 65ms
✓ src/webview/components/messages/toolcalls/index.test.tsx (2 tests) 74ms
✓ src/webview/hooks/message/useMessageHandling.test.tsx (2 tests) 74ms
✓ src/webview/components/layout/ProviderSetupForm.test.tsx (1 test) 141ms
✓ src/webview/components/layout/Onboarding.test.tsx (1 test) 59ms
✓ src/webview/components/layout/InputForm.test.tsx (2 tests) 147ms
✓ src/webview/App.test.tsx (6 tests) 417ms
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Connecting to ACP process (attempt 2/3)...
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Retrying connect in 2000ms...
stderr | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Connect attempt 2 failed: Qwen ACP process failed to start (exit code: null, signal: SIGTERM)
stdout | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Connecting to ACP process (attempt 3/3)...
stderr | src/services/qwenConnectionHandler.test.ts > QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts)
[QwenAgentManager] Connect attempt 3 failed: Qwen ACP process failed to start (exit code: null, signal: SIGTERM)
✓ src/services/qwenConnectionHandler.test.ts (8 tests) 4576ms
✓ QwenConnectionHandler > connect retry logic > retries connect on spawn failure and succeeds on second attempt 1193ms
✓ QwenConnectionHandler > connect retry logic > throws after exhausting all connect retry attempts (3 attempts) 3258ms
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...
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] Attempting connection...
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)
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > streams slash-command notifications into the attached webview
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > streams slash-command notifications into the attached webview
[WebViewProvider] Attempting connection...
✓ src/webview/utils/imageHandler.test.ts (11 tests) 15ms
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > re-sends cached available commands when the webview becomes ready
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > re-sends cached available commands when the webview becomes ready
[WebViewProvider] Attempting connection...
✓ src/services/settingsWriter.test.ts (2 tests) 6ms
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > does not special-case plain insight slash notifications in the provider
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > does not special-case plain insight slash notifications in the provider
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > routes structured insight progress markers into the attached webview
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > routes structured insight progress markers into the attached webview
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > routes structured insight progress markers even when command text is normalized differently
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > routes structured insight progress markers even when command text is normalized differently
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > clears structured insight progress when the ready marker arrives
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > clears structured insight progress when the ready marker arrives
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > opens the insight report in the browser when requested from the webview
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > opens the insight report in the browser when requested from the webview
[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...
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] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > marks rejected switch_mode permission requests as failed without cancelling the session
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > marks rejected switch_mode permission requests as failed without cancelling the session
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > replays available skills to the webview after webviewReady
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > replays available skills to the webview after webviewReady
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > replays available commands to the webview after webviewReady
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider.attachToView > replays available commands to the webview after webviewReady
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > does not report success for api-key settings without interactive auth data
[WebViewProvider] Skipping VSCode settings sync for api-key provider; interactive auth owns provider details
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > only syncs non-secret VS Code settings from ~/.qwen/settings.json
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > reacts to auth-related qwen-code setting changes
[WebViewProvider] Auth-related qwen-code settings changed by user, syncing...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > clears persisted credentials and disconnects when apiKey is emptied
[WebViewProvider] Auth-related qwen-code settings changed by user, syncing...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > clears persisted credentials and disconnects when apiKey is emptied
[WebViewProvider] apiKey cleared — de-authenticating and clearing persisted credentials
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider settings sync > does not de-auth when non-apiKey auth settings change on an api-key provider
[WebViewProvider] Auth-related qwen-code settings changed by user, syncing...
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider initial model inheritance > applies the requested initial model after creating a new session
[WebViewProvider] Initializing with new session (skipping restoration)
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider initial model inheritance > applies the requested initial model after creating a new session
[WebViewProvider] ACP session created successfully
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider initial model inheritance > applies the requested initial model after creating a new session
[WebViewProvider] Initializing empty conversation
stdout | src/webview/providers/WebViewProvider.test.ts > WebViewProvider initial model inheritance > applies the requested initial model after creating a new session
[WebViewProvider] Empty conversation initialized: null
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows orange dot and notification when a long task completes while panel is not active
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows orange dot and notification when a long task completes while panel is not active
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show notification for short tasks (< 20s)
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show notification for short tasks (< 20s)
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show notification when user is watching the panel
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show notification when user is watching the panel
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows blue dot and notification for permission requests when panel is not active
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows blue dot and notification for permission requests when panel is not active
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > blue dot takes priority over orange dot
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > blue dot takes priority over orange dot
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not send duplicate idle notifications for multi-turn tasks
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not send duplicate idle notifications for multi-turn tasks
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not notify when notifications setting is disabled
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not notify when notifications setting is disabled
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > cancellation resets agentStartTime so the next short task does not trigger phantom notification
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > cancellation resets agentStartTime so the next short task does not trigger phantom notification
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show dot when dotIndicator setting is disabled
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > does not show dot when dotIndicator setting is disabled
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > notifies when VS Code is focused but panel is not visible
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > notifies when VS Code is focused but panel is not visible
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > notifies when VS Code is not focused but panel is visible
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > notifies when VS Code is not focused but panel is visible
[WebViewProvider] Attempting connection...
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows blue dot and notification for askUserQuestion when panel is not active
[WebViewProvider] Attaching to WebviewView (viewType=qwen-code.chatView.sidebar)
[WebViewProvider] Attempting to restore auth state and connection for view...
[WebViewProvider] Syncing ~/.qwen/settings.json → VSCode settings
stdout | src/webview/providers/WebViewProvider.test.ts > Notification & dot indicator > shows blue dot and notification for askUserQuestion when panel is not active
[WebViewProvider] Attempting connection...
✓ src/webview/providers/WebViewProvider.test.ts (38 tests) 158ms
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...
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > keeps currentConversationId aligned with the archived sessionId when session/load falls back to a new ACP session
[SessionMessageHandler] Switching to session: archived-session
stderr | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > keeps currentConversationId aligned with the archived sessionId when session/load falls back to a new ACP session
[SessionMessageHandler] session/load failed, using fallback: Error: session not found on server
at /startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/handlers/SessionMessageHandler.test.ts:230:28
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)
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > forces a fresh ACP session when the webview requests a new session
[SessionMessageHandler] Creating new Qwen session...
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > intercepts /export html and uses the VSCode export flow instead of sending a prompt
[SessionMessageHandler] handleSendMessage called with: /export html
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > prefers the active ACP session id over the local conversation id when exporting
[SessionMessageHandler] handleSendMessage called with: /export html
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > reports bare /export as a missing subcommand instead of exporting
[SessionMessageHandler] handleSendMessage called with: /export
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > reports export failures back to the user
[SessionMessageHandler] handleSendMessage called with: /export md
stderr | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > reports export failures back to the user
[SessionMessageHandler] Failed to export session: Error: disk full
at /startdir/src/qwen-code/packages/vscode-ide-companion/src/webview/handlers/SessionMessageHandler.test.ts:422:47
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)
stdout | src/webview/handlers/SessionMessageHandler.test.ts > SessionMessageHandler > encodes exported file links before rendering markdown
[SessionMessageHandler] handleSendMessage called with: /export html
✓ src/webview/handlers/SessionMessageHandler.test.ts (10 tests) 71ms
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) 86ms
Test Files 40 passed (40)
Tests 282 passed | 1 skipped (283)
Start at 21:28:45
Duration 11.62s (transform 21.41s, setup 0ms, collect 78.32s, tests 7.41s, environment 9.35s, prepare 14.19s)
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_34814100-e279-42d0-b7f7-7c23e4539a3e/build