• turbo 2.10.12 • Packages in scope: @bb/host-daemon • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 52aab87d80f06ca1 @bb/plugin-build:generate: cache miss, executing a917055f5992b2cf @bb/templates:generate:templates: cache miss, executing 0add75a89a1ca23b @bb/templates:generate:plugin-scaffold: cache miss, executing db0b75d8b7581ec1 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold CHECKOUT_ONE/packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules CHECKOUT_ONE //: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 CHECKOUT_ONE/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:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates CHECKOUT_ONE/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: plugin-theme.generated.ts up to date @get-bb/plugin-sdk:build: cache miss, executing 053e2348f131a293 @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.5.24 build CHECKOUT_ONE/packages/plugin-sdk @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: @bb/plugin-build:generate: wrote CHECKOUT_ONE/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.2.4) @get-bb/plugin-sdk:build: Built 18 @get-bb/plugin-sdk runtime entries. @bb/host-daemon:test: cache miss, executing c4ca8d9d3070d122 @bb/host-daemon:test: @bb/host-daemon:test: > @bb/host-daemon@0.0.1 test CHECKOUT_ONE/apps/host-daemon @bb/host-daemon:test: > vitest run --config vitest.config.ts "--run" "src/issue-4266.test.ts" "src/server-client.test.ts" @bb/host-daemon:test: @bb/host-daemon:test: @bb/host-daemon:test: RUN v4.1.1 CHECKOUT_ONE/apps/host-daemon @bb/host-daemon:test: @bb/host-daemon:test: ❯ |@bb/host-daemon| src/issue-4266.test.ts (3 tests | 1 failed) 37ms @bb/host-daemon:test: ✓ downloads attachment after opening session via https://attachment-service.test 30ms @bb/host-daemon:test: ✓ downloads attachment after opening session via http://127.0.0.1:49831 2ms @bb/host-daemon:test: × downloads attachment after opening session via http://attachment-service.test:49832 4ms @bb/host-daemon:test: ✓ |@bb/host-daemon| src/server-client.test.ts (19 tests) 202ms @bb/host-daemon:test: @bb/host-daemon:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ @bb/host-daemon:test: @bb/host-daemon:test: FAIL |@bb/host-daemon| src/issue-4266.test.ts > downloads attachment after opening session via http://attachment-service.test:49832 @bb/host-daemon:test: AssertionError: promise rejected "AbortError: Refusing to fetch project att… { originalError: Error: … }" instead of resolving @bb/host-daemon:test: ❯ src/issue-4266.test.ts:45:23 @bb/host-daemon:test: 43| expectedSizeBytes: 11, @bb/host-daemon:test: 44| }); @bb/host-daemon:test: 45| await expect(result).resolves.toMatchObject({ @bb/host-daemon:test: | ^ @bb/host-daemon:test: 46| bytes: new TextEncoder().encode("image-bytes"), @bb/host-daemon:test: 47| }); @bb/host-daemon:test: @bb/host-daemon:test: Caused by: AbortError: Refusing to fetch project attachment over insecure server URL: http://attachment-service.test:49832 @bb/host-daemon:test: ❯ Object.fetchProjectAttachment src/server-client.ts:493:15 @bb/host-daemon:test: ❯ src/issue-4266.test.ts:38:25 @bb/host-daemon:test: @bb/host-daemon:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ @bb/host-daemon:test: Serialized Error: { originalError: { stack: 'Error: \n at Object.fetchProjectAttachment (CHECKOUT_ONE/apps/host-daemon/src/server-client.ts:493:15)\n at CHECKOUT_ONE/apps/host-daemon/src/issue-4266.test.ts:38:25\n at processTicksAndRejections (node:internal/process/task_queues:103:5)\n at file://CHECKOUT_ONE/node_modules/.pnpm/@vitest+runner@4.1.1/node_modules/@vitest/runner/dist/chunk-artifact.js:1893:20', message: 'Refusing to fetch project attachment over insecure server URL: http://attachment-service.test:49832', constructor: 'Function', name: 'Error', toString: 'Function' } } @bb/host-daemon:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ @bb/host-daemon:test: @bb/host-daemon:test: @bb/host-daemon:test: Test Files 1 failed | 1 passed (2) @bb/host-daemon:test: Tests 1 failed | 21 passed (22) @bb/host-daemon:test: Start at 09:09:05 @bb/host-daemon:test: Duration 1.41s (transform 1.21s, setup 0ms, import 2.04s, tests 239ms, environment 0ms) @bb/host-daemon:test: @bb/host-daemon:test:  ELIFECYCLE  Test failed. See above for more details. @bb/host-daemon#test: ERROR command (CHECKOUT_ONE/apps/host-daemon) WORK/bin/pnpm run test --run src/issue-4266.test.ts src/server-client.test.ts exited (1) Tasks: 5 successful, 6 total Cached: 0 cached, 6 total Time: 4.746s Failed: @bb/host-daemon#test ERROR run failed: command exited (1)