Skip to content

fix(cloudflare): Missing events inside waitUntil #41221

fix(cloudflare): Missing events inside waitUntil

fix(cloudflare): Missing events inside waitUntil #41221

Triggered via pull request December 15, 2025 12:20
Status Failure
Total duration 22m 43s
Artifacts 1

build.yml

on: pull_request
Get Metadata
9s
Get Metadata
Check file formatting
1m 9s
Check file formatting
Check PR branches
3s
Check PR branches
Prepare E2E tests
2m 10s
Prepare E2E tests
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Matrix: job_remix_integration_tests
Size Check
1m 32s
Size Check
Lint
6m 44s
Lint
Circular Dependency Check
1m 31s
Circular Dependency Check
Upload Artifacts
Upload Artifacts
Browser Unit Tests
3m 38s
Browser Unit Tests
Bun Unit Tests
38s
Bun Unit Tests
Deno Unit Tests
41s
Deno Unit Tests
Cloudflare Integration Tests
45s
Cloudflare Integration Tests
Node Overhead Check
3m 26s
Node Overhead Check
Check for faulty .d.ts files
42s
Check for faulty .d.ts files
Matrix: job_e2e_tests
Matrix: job_optional_e2e_tests
All required jobs passed or were skipped
4s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 7 warnings
Cloudflare Integration Tests
Process completed with exit code 1.
suites/basic/test.ts > Basic error in fetch handler: dev-packages/cloudflare-integration-tests/runner.ts#L125
AssertionError: expected [ { …(4) }, …(1) ] to deeply equal [ { …(4) }, …(1) ] - Expected + Received @@ -1,20 +1,17 @@ Array [ Object { - "event_id": StringMatching /^[\da-f]{32}$/, + "event_id": "2e2e77d375b54a52b52604a1eac044b6", "sdk": Object { "name": "sentry.javascript.cloudflare", "version": "10.30.0", }, - "sent_at": StringMatching /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/, + "sent_at": "2025-12-15T12:25:14.337Z", "trace": Object { "environment": "production", "public_key": "public", - "sample_rate": Any<String>, - "sampled": Any<String>, - "trace_id": StringMatching /^[\da-f]{32}$/, - "transaction": Any<String>, + "trace_id": "166e873fce7a4866ad8d317934d5a2c5", }, }, Array [ Array [ Object { @@ -24,55 +21,163 @@ "contexts": Object { "cloud_resource": Object { "cloud.provider": "cloudflare", }, "culture": Object { - "timezone": Any<String>, + "timezone": "America/Chicago", }, "runtime": Object { "name": "cloudflare", }, "trace": Object { - "span_id": StringMatching /^[\da-f]{16}$/, - "trace_id": StringMatching /^[\da-f]{32}$/, - }, - }, + "span_id": "bc5da5ac3e35513b", + "trace_id": "166e873fce7a4866ad8d317934d5a2c5", + }, + }, + "environment": "production", + "event_id": "2e2e77d375b54a52b52604a1eac044b6", + "exception": Object { + "values": Array [ + Object { + "mechanism": Object { + "handled": false, + "type": "auto.http.cloudflare", + }, + "stacktrace": Object { + "frames": Array [ + Object { + "abs_path": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "colno": 25, + "filename": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "function": "Object.withScope", + "in_app": true, + "lineno": 10801, + "module": "index", + }, + Object { + "abs_path": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "colno": 14, + "filename": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "function": "?", + "in_app": true, + "lineno": 10802, + "module": "index", + }, - "environment": "production", - "event_id": StringMatching /^[\da-f]{32}$/, - "exception": Object { + Object { + "abs_path": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "colno": 12, + "filename": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", + "function": "?", + "in_app": true, + "lineno": 6562, + "module": "index", + }, + Object { + "abs_path": "/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/cloudflare-integration-tests/suites/basic/.wrangler/tmp/dev-izS6FL/index.js", +
Unhandled error: dev-packages/cloudflare-integration-tests/runner.ts#L125
AssertionError: expected [ { …(4) }, …(1) ] to deeply equal [ { …(4) }, …(1) ] - Expected + Received @@ -7,14 +7,11 @@ }, "sent_at": StringMatching /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/, "trace": { "environment": "production", "public_key": "public", - "sample_rate": Any<String>, - "sampled": Any<String>, "trace_id": StringMatching /^[\da-f]{32}$/, - "transaction": Any<String>, }, }, [ [ { ❯ newEnvelope runner.ts:125:30 ❯ ../test-utils/src/server.ts:19:7 ❯ Layer.handle [as handle_request] ../../node_modules/express/lib/router/layer.js:95:5 ❯ next ../../node_modules/express/lib/router/route.js:149:13 ❯ Route.dispatch ../../node_modules/express/lib/router/route.js:119:3 ❯ Layer.handle [as handle_request] ../../node_modules/express/lib/router/layer.js:95:5 ❯ ../../node_modules/express/lib/router/index.js:284:15 ❯ param ../../node_modules/express/lib/router/index.js:365:14 ❯ param ../../node_modules/express/lib/router/index.js:376:14 ❯ Function.process_params ../../node_modules/express/lib/router/index.js:421:3 This error originated in "suites/basic/test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Basic error in fetch handler". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Node (24) Unit Tests
Process completed with exit code 1.
Node (18) Unit Tests
Process completed with exit code 1.
Node (22) Unit Tests
Process completed with exit code 1.
Node (20) Unit Tests
Process completed with exit code 1.
E2E cloudflare-workers Test
Process completed with exit code 1.
E2E react-send-to-sentry Test (optional)
Process completed with exit code 1.
E2E tsx-express Test
The job has exceeded the maximum execution time of 15m0s
E2E tsx-express Test
The operation was canceled.
All required jobs passed or were skipped
Process completed with exit code 1.
E2E cloudflare-workers Test
No files were found with the provided path: /home/runner/work/_temp/test-application/test-results. No artifacts will be uploaded.
E2E tanstack-router Test
Back off 10.422 seconds before retry.
E2E tanstack-router Test
Failed to download action 'https://api.github.com/repos/actions/download-artifact/tarball/d3f86a106a0bac45b974a628896c90dbdf5c8093'. Error: Response status code does not indicate success: 502 (Bad Gateway). 5400:15F8D5:5A9DF45:18988FE5:693FFED2
E2E node-express-v5 Test
Back off 15.781 seconds before retry.
E2E node-express-v5 Test
Failed to download action 'https://api.github.com/repos/codecov/test-results-action/tarball/47f89e9acb64b76debcd5ea40642d25a4adced9f'. Error: Response status code does not indicate success: 502 (Bad Gateway). 6403:1DC727:93340BA:97BBFEA:693FFECD
E2E node-koa Test
Back off 26.446 seconds before retry.
E2E node-koa Test
Failed to download action 'https://api.github.com/repos/aws-actions/setup-sam/tarball/c71dd89d980e49367c70391e8ada4353f52f2800'. Error: Response status code does not indicate success: 502 (Bad Gateway). B002:255861:9514E09:999E838:693FFECD

Artifacts

Produced during runtime
Name Size Digest
build-output Expired
27.1 MB
sha256:afad1dd24f3243e688f7512393a8edaa55c66a136705635292870c25b45b5b49