Fix combo of --x-dev-env and --x-registry #3755
Annotations
28 errors and 22 warnings
tests/get-platform-proxy.env.test.ts > getPlatformProxy - env > provides service bindings to external local workers:
fixtures/get-platform-proxy/tests/get-platform-proxy.env.test.ts#L421
AssertionError: expected '[wrangler] Couldn\'t find `wrangler d…' to be 'Hello World from hello-worker-b' // Object.is equality
Expected: "Hello World from hello-worker-b"
Received: "[wrangler] Couldn't find `wrangler dev` session for service "hello-worker-b" to proxy to"
❯ testServiceBinding tests/get-platform-proxy.env.test.ts:421:19
❯ tests/get-platform-proxy.env.test.ts:160:4
|
tests/get-platform-proxy.env.test.ts > getPlatformProxy - env > correctly obtains functioning DO bindings (provided by external local workers):
fixtures/get-platform-proxy/tests/get-platform-proxy.env.test.ts#L432
AssertionError: expected 'DurableObjectClass undefined[wrangler…' to be 'Hello from DurableObject B' // Object.is equality
Expected: "Hello from DurableObject B"
Received: "DurableObjectClass undefined[wrangler] Couldn't find `wrangler dev` session for class "DurableObjectClass" to proxy to"
❯ testDoBinding tests/get-platform-proxy.env.test.ts:432:21
❯ tests/get-platform-proxy.env.test.ts:261:4
|
Tests (windows-latest, ./fixtures/*)
get-platform-proxy-fixture#test:ci: command (D:\a\workers-sdk\workers-sdk\fixtures\get-platform-proxy) pnpm run test:ci exited (1)
|
Tests (windows-latest, ./fixtures/*)
Process completed with exit code 1.
|
Tests (ubuntu-latest, ./packages/*)
wrangler#test:ci: command (/home/runner/work/workers-sdk/workers-sdk/packages/wrangler) pnpm run test:ci exited (1)
|
Tests (ubuntu-latest, ./packages/*)
Process completed with exit code 1.
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L719
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'The `wrangler dev` session for servic…'
- Expected
+ Received
- The `wrangler dev` session for service "bound" does not support proxying entrypoints. Please upgrade "bound"'s `wrangler` version.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:41133
+ [wrangler:inf] GET / 503 Service Unavailable (64ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+
+ ✘ [ERROR] The `wrangler dev` session for service "bound" does not export an entrypoint named "ThingEntrypoint"
+
+
+ 🪵 Logs were written to "/home/runner/work/_temp/wrangler-debug-logs/wrangler-2024-10-01_13-46-50_043.log"
+
❯ tests/entrypoints.spec.ts:719:18
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L719
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'The `wrangler dev` session for servic…'
- Expected
+ Received
- The `wrangler dev` session for service "bound" does not support proxying entrypoints. Please upgrade "bound"'s `wrangler` version.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:42627
+ [wrangler:inf] GET / 503 Service Unavailable (70ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+
+ ✘ [ERROR] The `wrangler dev` session for service "bound" does not export an entrypoint named "ThingEntrypoint"
+
+
+ 🪵 Logs were written to "/home/runner/work/_temp/wrangler-debug-logs/wrangler-2024-10-01_13-46-56_035.log"
+
❯ tests/entrypoints.spec.ts:719:18
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L719
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'The `wrangler dev` session for servic…'
- Expected
+ Received
- The `wrangler dev` session for service "bound" does not support proxying entrypoints. Please upgrade "bound"'s `wrangler` version.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:46013
+ [wrangler:inf] GET / 503 Service Unavailable (61ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+
+ ✘ [ERROR] The `wrangler dev` session for service "bound" does not export an entrypoint named "ThingEntrypoint"
+
+
+ 🪵 Logs were written to "/home/runner/work/_temp/wrangler-debug-logs/wrangler-2024-10-01_13-47-01_998.log"
+
❯ tests/entrypoints.spec.ts:719:18
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L881
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'Cannot proxy to `wrangler dev` sessio…'
- Expected
+ Received
- Cannot proxy to `wrangler dev` session for service "bound" because it uses HTTPS. Please upgrade "bound"'s `wrangler` version, or remove the `--local-protocol`/`dev.local_protocol` option.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:40133
+ [wrangler:inf] GET / 503 Service Unavailable (76ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Reloading local server...
+
❯ tests/entrypoints.spec.ts:881:18
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L881
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'Cannot proxy to `wrangler dev` sessio…'
- Expected
+ Received
- Cannot proxy to `wrangler dev` session for service "bound" because it uses HTTPS. Please upgrade "bound"'s `wrangler` version, or remove the `--local-protocol`/`dev.local_protocol` option.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:39899
+ [wrangler:inf] GET / 503 Service Unavailable (70ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Reloading local server...
+
❯ tests/entrypoints.spec.ts:881:18
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L881
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'Cannot proxy to `wrangler dev` sessio…'
- Expected
+ Received
- Cannot proxy to `wrangler dev` session for service "bound" because it uses HTTPS. Please upgrade "bound"'s `wrangler` version, or remove the `--local-protocol`/`dev.local_protocol` option.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Starting local server...
+ [wrangler:inf] Ready on http://127.0.0.1:42645
+ [wrangler:inf] GET / 503 Service Unavailable (62ms)
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Reloading local server...
+
❯ tests/entrypoints.spec.ts:881:18
|
Tests (ubuntu-latest, ./fixtures/*)
entrypoints-rpc-tests#test:ci: command (/home/runner/work/workers-sdk/workers-sdk/fixtures/entrypoints-rpc-tests) pnpm run test:ci exited (1)
|
Tests (ubuntu-latest, ./fixtures/*)
Process completed with exit code 1.
|
Tests (macos-13, ./packages/*)
wrangler#test:ci: command (/Users/runner/work/workers-sdk/workers-sdk/packages/wrangler) pnpm run test:ci exited (1)
|
Tests (macos-13, ./packages/*)
Process completed with exit code 1.
|
Tests (windows-latest, ./packages/*)
wrangler#test:ci: command (D:\a\workers-sdk\workers-sdk\packages\wrangler) pnpm run test:ci exited (1)
|
Tests (windows-latest, ./packages/*)
Process completed with exit code 1.
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L689
TypeError: fetch failed
❯ Proxy.fetch ../../node_modules/.pnpm/[email protected]/node_modules/undici/index.js:112:15
❯ tests/entrypoints.spec.ts:689:17
Caused by: Caused by: SocketError: other side closed
❯ Socket.onSocketEnd ../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/client.js:1118:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 50422, remoteAddress: '127.0.0.1', remotePort: 50419, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 172, bytesRead: +0 } }
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L689
TypeError: fetch failed
❯ Proxy.fetch ../../node_modules/.pnpm/[email protected]/node_modules/undici/index.js:112:15
❯ tests/entrypoints.spec.ts:689:17
Caused by: SocketError: other side closed
❯ Socket.onSocketEnd ../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/client.js:1118:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 50439, remoteAddress: '127.0.0.1', remotePort: 50436, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 172, bytesRead: +0 } }
|
tests/entrypoints.spec.ts > should throw if binding to named entrypoint exported by version of wrangler without entrypoints support:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L719
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'The `wrangler dev` session for servic…'
- Expected
+ Received
- The `wrangler dev` session for service "bound" does not support proxying entrypoints. Please upgrade "bound"'s `wrangler` version.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ ⎔ Starting local server...
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound#ThingEntrypoint)
+
+
+ [wrangler:inf] Ready on http://127.0.0.1:50451
+ [wrangler:inf] GET / 503 Service Unavailable (59ms)
+
+ ✘ [ERROR] The `wrangler dev` session for service "bound" does not export an entrypoint named "ThingEntrypoint"
+
+
+ 🪵 Logs were written to "/Users/runner/work/_temp/wrangler-debug-logs/wrangler-2024-10-01_13-48-34_065.log"
+
❯ tests/entrypoints.spec.ts:719:18
|
tests/entrypoints.spec.ts > should throw if wrangler session doesn't export expected entrypoint:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L748
TypeError: fetch failed
❯ Proxy.fetch ../../node_modules/.pnpm/[email protected]/node_modules/undici/index.js:112:15
❯ tests/entrypoints.spec.ts:748:17
Caused by: Caused by: SocketError: other side closed
❯ Socket.onSocketEnd ../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/client.js:1118:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 50482, remoteAddress: '127.0.0.1', remotePort: 50479, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 172, bytesRead: +0 } }
|
tests/entrypoints.spec.ts > should throw if wrangler session doesn't export expected entrypoint:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L748
TypeError: fetch failed
❯ Proxy.fetch ../../node_modules/.pnpm/[email protected]/node_modules/undici/index.js:112:15
❯ tests/entrypoints.spec.ts:748:17
Caused by: SocketError: other side closed
❯ Socket.onSocketEnd ../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/client.js:1118:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 50499, remoteAddress: '127.0.0.1', remotePort: 50496, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 172, bytesRead: +0 } }
|
tests/entrypoints.spec.ts > should throw if wrangler session doesn't export expected entrypoint:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L748
TypeError: fetch failed
❯ Proxy.fetch ../../node_modules/.pnpm/[email protected]/node_modules/undici/index.js:112:15
❯ tests/entrypoints.spec.ts:748:17
Caused by: SocketError: other side closed
❯ Socket.onSocketEnd ../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/client.js:1118:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 50516, remoteAddress: '127.0.0.1', remotePort: 50513, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 172, bytesRead: +0 } }
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L853
AssertionError: expected 'Error: Network connection lost.\n …' to be '[wrangler] Couldn\'t find `wrangler d…' // Object.is equality
- Expected
+ Received
- [wrangler] Couldn't find `wrangler dev` session for service "bound" to proxy to
+ Error: Network connection lost.
+ at async Object.fetch (file:///Users/runner/work/workers-sdk/workers-sdk/packages/miniflare/dist/src/workers/core/entry.worker.js:1029:22)
❯ tests/entrypoints.spec.ts:853:32
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L853
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be '[wrangler] Couldn\'t find `wrangler d…' // Object.is equality
- Expected
+ Received
- [wrangler] Couldn't find `wrangler dev` session for service "bound" to proxy to
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title> </title>
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,500,600" rel="stylesheet">
+
+ <style type="text/css">
+ /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript&plugins=line-highlight+line-numbers+toolbar+show-language */
+ /**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+ code[class*="language-"],
+ pre[class*="language-"] {
+ color: black;
+ background: none;
+ text-shadow: 0 1px white;
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ line-height: 1.8;
+
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+
+ -webkit-hyphens: none;
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+ }
+
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
+ text-shadow: none;
+ background: #b3d4fc;
+ }
+
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
+ text-shadow: none;
+ background: #b3d4fc;
+ }
+
+ @media print {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+ }
+
+ /* Code blocks */
+ pre[class*="language-"] {
+ padding: 1em;
+ margin: .5em 0;
+ overflow: auto;
+ }
+
+ :not(pre) > code[class*="language-"],
+ pre[class*="language-"] {
+ background: #f5f2f0;
+ }
+
+ /* Inline code */
+ :not(pre) > code[class*="language-"] {
+ padding: .1em;
+ border-radius: .3em;
+ white-space: normal;
+ }
+
+ .token.comment,
+ .token.prolog,
+ .token.doctype,
+ .token.cdata {
+ color: slategray;
+ }
+
+ .token.punctuation {
+ color: #999;
+ }
+
+ .namespace {
+ opacity: .7;
+ }
+
+ .token.property,
+ .token.tag,
+ .token.boolean,
+ .token.number,
+ .token.constant,
+ .token.symbol,
+ .token.deleted {
+ color: #905;
+ }
+
+ .token.selector,
+ .token.attr-name,
+ .token.string,
+ .token.char,
+ .token.builtin,
+ .token.inserted {
+ color: #690;
+ }
+
+ .token.operator,
+ .token.entity,
+ .token.url,
+ .language-css .token.string,
+ .style .token.string {
+ color: #a67f59;
+ background: hsla(0, 0%, 100%, .5);
+ }
+
+ .token.atrule,
+ .token.attr-value,
+ .token.keyword {
+ color: #07a;
+ }
+
+ .token.function {
+ color: #DD4A68;
+ }
+
+ .token.regex,
+ .token.important,
+ .token.variable {
+ color: #e90;
+ }
+
+ .token.important,
+ .token.bold {
+ font-weight: bold;
+ }
+ .token.italic {
+ font-style: italic;
+ }
+
+ .token.entity {
+ cursor: help;
+ }
+
+ pre[data-line] {
+ position: relative;
+ padding: 1em 0 1em 3em;
+ }
+
+ .line-highlight {
+ position: absolute;
+ left: 0;
+ right: 0;
+ padding: inherit 0;
+ margin-top: 1em; /* Same as .prism’s padding-top */
+
+ background: hsla(24, 20%, 50%,.08);
+ background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
+
+ pointer-events: none;
+
+ line-height: inherit;
+ white-space: pre;
+ }
+
+ .line-highlight:before,
+ .line-highlight[data-end]:after {
+ content: attr(data-start);
+ position: absolute;
+ top: .6em;
+ left: .4em;
+ min-width: 1em;
+ padding: 0 .5em;
+ background-color: hsla(24, 20%, 50%,.4);
+ color: hsl(24, 20%, 95%);
+ font: bold 65%/1.5 sans-serif;
+ text-align: center;
+ vertical-align: .3em;
+ border-radius: 999px;
+ text-shadow: none;
+ box-shadow: 0 1px white;
+ }
+
+ .line-highlight[data-end]:after
|
tests/entrypoints.spec.ts > should throw if binding to version of wrangler without entrypoints support over HTTPS:
fixtures/entrypoints-rpc-tests/tests/entrypoints.spec.ts#L881
AssertionError: expected '\n ⛅️ wrangler 3.78.10 (update availa…' to match 'Cannot proxy to `wrangler dev` sessio…'
- Expected
+ Received
- Cannot proxy to `wrangler dev` session for service "bound" because it uses HTTPS. Please upgrade "bound"'s `wrangler` version, or remove the `--local-protocol`/`dev.local_protocol` option.
+
+ ⛅️ wrangler 3.78.10 (update available 3.78.12)
+ -----------------------------------------------
+
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ ⎔ Starting local server...
+ Your worker has access to the following bindings:
+ - Services:
+ - SERVICE: bound
+ ▲ [WARNING] No compatibility_date was specified. Using the installed Workers runtime's latest supported date: 2024-09-25.
+
+ ❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-09-25", or
+ ❯❯ Pass it in your terminal: wrangler dev [<SCRIPT>] --compatibility-date=2024-09-25
+
+ See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
+
+
+ ▲ [WARNING] This worker is bound to live services: SERVICE (bound)
+
+
+ [wrangler:inf] Ready on http://127.0.0.1:50666
+ [wrangler:inf] GET / 503 Service Unavailable (65ms)
+ ⎔ Reloading local server...
+
❯ tests/entrypoints.spec.ts:881:18
|
Tests (macos-13, ./fixtures/*)
entrypoints-rpc-tests#test:ci: command (/Users/runner/work/workers-sdk/workers-sdk/fixtures/entrypoints-rpc-tests) pnpm run test:ci exited (1)
|
Tests (ubuntu-latest, ./tools)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (ubuntu-latest, ./tools)
No files were found with the provided path: /home/runner/work/_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (ubuntu-latest, ./tools)
No files were found with the provided path: /home/runner/work/_temp/test-report/. No artifacts will be uploaded.
|
Tests (windows-latest, ./tools)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (windows-latest, ./tools)
No files were found with the provided path: D:\a\_temp/test-report/. No artifacts will be uploaded.
|
Tests (windows-latest, ./tools)
No files were found with the provided path: D:\a\_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (macos-13, ./tools)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (macos-13, ./tools)
No files were found with the provided path: /Users/runner/work/_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (macos-13, ./tools)
No files were found with the provided path: /Users/runner/work/_temp/test-report/. No artifacts will be uploaded.
|
Tests (windows-latest, ./fixtures/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (windows-latest, ./fixtures/*)
No files were found with the provided path: D:\a\_temp/test-report/. No artifacts will be uploaded.
|
Tests (ubuntu-latest, ./packages/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (ubuntu-latest, ./packages/*)
No files were found with the provided path: /home/runner/work/_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (ubuntu-latest, ./fixtures/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (ubuntu-latest, ./fixtures/*)
No files were found with the provided path: /home/runner/work/_temp/test-report/. No artifacts will be uploaded.
|
Tests (macos-13, ./packages/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (macos-13, ./packages/*)
No files were found with the provided path: /Users/runner/work/_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (windows-latest, ./packages/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (windows-latest, ./packages/*)
No files were found with the provided path: D:\a\_temp/wrangler-debug-logs/. No artifacts will be uploaded.
|
Tests (macos-13, ./fixtures/*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (macos-13, ./fixtures/*)
No files were found with the provided path: /Users/runner/work/_temp/test-report/. No artifacts will be uploaded.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "e2e-test-debug-logs-macos-13-", "e2e-test-debug-logs-ubuntu-latest-", "e2e-test-debug-logs-windows-latest-", "e2e-test-report-macos-13-", "e2e-test-report-ubuntu-latest-", "e2e-test-report-windows-latest-".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-debug-logs-macos-13-
|
638 KB |
|
e2e-test-debug-logs-ubuntu-latest-
|
750 KB |
|
e2e-test-debug-logs-windows-latest-
|
165 KB |
|
e2e-test-report-macos-13-
|
1.3 MB |
|
e2e-test-report-ubuntu-latest-
|
1.3 MB |
|
e2e-test-report-windows-latest-
|
1.26 MB |
|