Skip to content

feat(cloudflare): Read SENTRY_RELEASE from env #16201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented May 5, 2025

This PR enables reading the SENTRY_RELEASE variable from the CF env that users should pass to their withSentry worker wrapper. This is quite similar to how we'd usually access env variables in Node-based SDKs.

We need this for uploading release-based source maps for CF worker functions being bundled and deployed by wrangler.

see getsentry/sentry-wizard#824 (comment)
ref https://linear.app/getsentry/issue/WIZARD-36/improve-sentrywizard-i-sourcemaps-for-cloudflarewrangler

@Lms24 Lms24 requested a review from AbhiPrasad May 6, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants