Skip to content

feat(wrangler): add local DO support with getPlatformProxy #5005

feat(wrangler): add local DO support with getPlatformProxy

feat(wrangler): add local DO support with getPlatformProxy #5005

Triggered via pull request November 19, 2024 17:32
Status Failure
Total duration 11m 59s
Artifacts 6

test-and-check.yml

on: pull_request
Matrix: Checks
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 13 warnings
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op default cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op named cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > should match the production runtime caches object: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:22:52
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should provide mock data: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:6:27
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should match the production runtime cf object: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L19
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:19:27
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op waitUntil method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:6:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op passThroughOnException method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:22:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should match the production runtime ctx object: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L31
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:31:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > destructured methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L61
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:61:8
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > extracted methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L76
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:76:29
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op default cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op named cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > should match the production runtime caches object: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:22:52
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should provide mock data: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:6:27
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should match the production runtime cf object: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L19
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:19:27
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op waitUntil method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:6:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op passThroughOnException method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:22:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should match the production runtime ctx object: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L31
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:31:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > destructured methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L61
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:61:8
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > extracted methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L76
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:76:29
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op default cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > correctly obtains a no-op named cache: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L8
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:8:32
tests/get-platform-proxy.caches.test.ts > getPlatformProxy - caches > should match the production runtime caches object: fixtures/get-platform-proxy/tests/get-platform-proxy.caches.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.caches.test.ts:22:52
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should provide mock data: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:6:27
tests/get-platform-proxy.cf.test.ts > getPlatformProxy - cf > should match the production runtime cf object: fixtures/get-platform-proxy/tests/get-platform-proxy.cf.test.ts#L19
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.cf.test.ts:19:27
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op waitUntil method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L6
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:6:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should provide a no-op passThroughOnException method: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L22
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:22:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > should match the production runtime ctx object: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L31
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:31:28
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > destructured methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L61
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:61:8
tests/get-platform-proxy.ctx.test.ts > getPlatformProxy - ctx > detached methods should behave like workerd > extracted methods should throw illegal invocation errors: fixtures/get-platform-proxy/tests/get-platform-proxy.ctx.test.ts#L76
AssertionError: undefined == true ❯ Object.get config [as config] ../../packages/wrangler/import_meta_url.js:176749:40 ❯ Object.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176785:16 ❯ Module.getPlatformProxy ../../packages/wrangler/import_meta_url.js:176893:42 ❯ tests/get-platform-proxy.ctx.test.ts:76:29
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.
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, ./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 (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 (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 (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 (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/
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-
957 KB
e2e-test-debug-logs-ubuntu-latest-
226 KB
e2e-test-debug-logs-windows-latest-
606 KB
e2e-test-report-macos-13-
1.72 MB
e2e-test-report-ubuntu-latest-
1.72 MB
e2e-test-report-windows-latest-
1.71 MB