Skip to content

fix(cloudflare): Get original waituntil in workflows - #23017

Open
JPeer264 wants to merge 1 commit into
developfrom
jp/reuse-waituntil-in-workflows
Open

fix(cloudflare): Get original waituntil in workflows#23017
JPeer264 wants to merge 1 commit into
developfrom
jp/reuse-waituntil-in-workflows

Conversation

@JPeer264

@JPeer264 JPeer264 commented Aug 4, 2026

Copy link
Copy Markdown
Member

closes #23005
closes JS-3270

We didn't use getOriginalWaitUntil for workflows, which could lead to deadlocks. We already added this for everything else, but workflows.

Since waitUntil is never undefined I also remoevd the | undefined return type in getOriginalWaitUntil - this doesn't have any user facing API so it is safe to remove.

@JPeer264 JPeer264 self-assigned this Aug 4, 2026
@JPeer264
JPeer264 requested a review from a team as a code owner August 4, 2026 13:11
@JPeer264
JPeer264 requested review from isaacs and mydea and removed request for a team August 4, 2026 13:11
@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

JS-3270

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 29.81 kB - -
@sentry/browser - with treeshaking flags 28.03 kB - -
@sentry/browser (incl. Tracing) 47.28 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.29 kB - -
@sentry/browser (incl. Tracing, Profiling) 52.05 kB - -
@sentry/browser (incl. Tracing, Replay) 86.6 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.04 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 91.33 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.97 kB - -
@sentry/browser (incl. Feedback) 47.13 kB - -
@sentry/browser (incl. sendFeedback) 34.66 kB - -
@sentry/browser (incl. FeedbackAsync) 39.77 kB - -
@sentry/browser (incl. Metrics) 30.88 kB - -
@sentry/browser (incl. Logs) 31.12 kB - -
@sentry/browser (incl. Metrics & Logs) 31.79 kB - -
@sentry/react 31.61 kB - -
@sentry/react (incl. Tracing) 49.54 kB - -
@sentry/vue 34.88 kB - -
@sentry/vue (incl. Tracing) 49.27 kB - -
@sentry/svelte 29.83 kB - -
CDN Bundle 31.9 kB - -
CDN Bundle (incl. Tracing) 47.6 kB - -
CDN Bundle (incl. Logs, Metrics) 33.45 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.02 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 72.81 kB - -
CDN Bundle (incl. Tracing, Replay) 85.26 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.57 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.08 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.4 kB - -
CDN Bundle - uncompressed 94.8 kB - -
CDN Bundle (incl. Tracing) - uncompressed 142.47 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.51 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 146.44 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.26 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 261.72 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 265.69 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 275.43 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 279.38 kB - -
@sentry/nextjs (client) 52.1 kB - -
@sentry/sveltekit (client) 47.72 kB - -
@sentry/core/server 65.52 kB - -
@sentry/core/browser 51.86 kB - -
@sentry/node 120.65 kB +0.01% +1 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 84.03 kB +0.01% +1 B 🔺
@sentry/aws-serverless 92.69 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 218.61 kB -0.01% -7 B 🔽
@sentry/cloudflare (withSentry) 538.59 kB +0.01% +11 B 🔺

View base workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloudflare Workflow teardown can deadlock on instrumented waitUntil

1 participant