• turbo 2.11.10 • Packages in scope: @bb/cli • Running test in 1 package • Remote caching disabled @bb/templates:generate:templates: cache miss, executing d26ca3945cb84012 @bb/process-utils:generate:profile-worker: cache miss, executing 3f8062c9f9b78b0a @bb/templates:generate:plugin-scaffold: cache miss, executing 2a959ec9079c9a79 //:ensure-native-modules: cache bypass, force executing 8a7bce100e993e19 @bb/plugin-build:generate: cache miss, executing ef47108f97190f32 @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /packages/process-utils @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /packages/plugin-build @bb/plugin-build:generate: > node ./scripts/generate-plugin-theme.mjs && node ./scripts/generate-runtime-export-manifest.mjs @bb/plugin-build:generate: @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/plugin-build:generate: plugin-theme.generated.ts up to date @bb/plugin-build:generate: host-tailwind.css up to date @bb/plugin-build:generate: host-tailwind-version.ts up to date @bb/plugin-build:generate: wrote /packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.1) @bb/cli:test: cache miss, executing 1a1b96913277e318 @bb/cli:test: @bb/cli:test: > @bb/cli@0.0.1 test /apps/cli @bb/cli:test: > vitest run "plugin-cli-env-proxy.test.ts" @bb/cli:test: @bb/cli:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/cli:test: - `__dirname` (vitest.config.ts:16:15). Use `import.meta.dirname` instead @bb/cli:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/cli:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/cli:test: - `__dirname` (vitest.config.ts:16:15). Use `import.meta.dirname` instead @bb/cli:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/cli:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/cli:test: - `__dirname` (vitest.config.ts:16:15). Use `import.meta.dirname` instead @bb/cli:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/cli:test: @bb/cli:test: RUN v4.1.12 /apps/cli @bb/cli:test: @bb/cli:test: ❯ |@bb/cli:isolated| src/__tests__/plugin-cli-env-proxy.test.ts (5 tests | 2 failed) 1856ms @bb/cli:test: × routes plugin command POSTs according to 'HTTP_PROXY' 1484ms @bb/cli:test: × routes plugin command POSTs according to 'http_proxy' 98ms @bb/cli:test: ✓ routes plugin command POSTs according to 'NO_PROXY' 98ms @bb/cli:test: ✓ routes plugin command POSTs according to 'no_proxy' 88ms @bb/cli:test: ✓ routes plugin command POSTs according to 'no proxy configured' 86ms @bb/cli:test: @bb/cli:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/cli:test: @bb/cli:test: FAIL |@bb/cli:isolated| src/__tests__/plugin-cli-env-proxy.test.ts > routes plugin command POSTs according to 'HTTP_PROXY' @bb/cli:test: FAIL |@bb/cli:isolated| src/__tests__/plugin-cli-env-proxy.test.ts > routes plugin command POSTs according to 'http_proxy' @bb/cli:test: AssertionError: promise rejected "TypeError: fetch failed" instead of resolving @bb/cli:test: ❯ src/__tests__/plugin-cli-env-proxy.test.ts:80:7 @bb/cli:test: 78| ["inspect"], @bb/cli:test: 79| { stdout: stream, stderr: stream }, @bb/cli:test: 80| )).resolves.toBe(0); @bb/cli:test: | ^ @bb/cli:test: 81| expect(writes).toEqual(["proxied command result\n"]); @bb/cli:test: 82| expect(requests).toEqual(["POST /api/v1/plugins/transport-fixture/… @bb/cli:test: @bb/cli:test: Caused by: TypeError: fetch failed @bb/cli:test: ❯ runPluginCliCommand src/plugin-cli-proxy.ts:400:20 @bb/cli:test: ❯ src/__tests__/plugin-cli-env-proxy.test.ts:75:5 @bb/cli:test: @bb/cli:test: Caused by: Error: getaddrinfo ENOTFOUND bb-proxy-regression.invalid @bb/cli:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ @bb/cli:test: Serialized Error: { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'bb-proxy-regression.invalid' } @bb/cli:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/cli:test: @bb/cli:test: @bb/cli:test: Test Files 1 failed (1) @bb/cli:test: Tests 2 failed | 3 passed (5) @bb/cli:test: Start at 00:40:43 @bb/cli:test: Duration 2.11s (transform 1.02s, setup 0ms, import 42ms, tests 1.86s, environment 0ms) @bb/cli:test: @bb/cli:test:  ELIFECYCLE  Test failed. See above for more details. @bb/cli#test: ERROR command (/apps/cli) /usr/local/bin/pnpm run test plugin-cli-env-proxy.test.ts exited (1) Tasks: 5 successful, 6 total Cached: 0 cached, 6 total Time: 5.678s Failed: @bb/cli#test ERROR run failed: command exited (1)