René's URL Explorer Experiment


Title: feat(core): Add shared `flushIfServerless` function by s1gr1d · Pull Request #17177 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(core): Add shared `flushIfServerless` function by s1gr1d · Pull Request #17177 · getsentry/sentry-javascript

X Title: feat(core): Add shared `flushIfServerless` function by s1gr1d · Pull Request #17177 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Follow-up for this PR: #17168 Creating a shared function flushIfServerless as this functionality is used quite often in various SDKs.

X Description: Follow-up for this PR: #17168 Creating a shared function flushIfServerless as this functionality is used quite often in various SDKs.

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/17177

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f72ab7c1-6c5d-30d4-59b3-3b20851621eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4FA:3FC0A2:13CDD0:1AB3A5:6B05D933
html-safe-noncec798952cbade8d1c6c567206b5b831380f8cb6eb57d52271554ef124c0b69717
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEZBOjNGQzBBMjoxM0NERDA6MUFCM0E1OjZCMDVEOTMzIiwidmlzaXRvcl9pZCI6IjI5Njc4NjM2OTQxMjcxNjg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3ae47ce119053bfe8a8e9a900445620c8abfe6110e5b4ab582965e5fc22dc372
hovercard-subject-tagpull_request:2694993035
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/17177/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3a22c8073ca336b63f681712e2e1b0f964fc68d592e319c382fe687d36499bd4/getsentry/sentry-javascript/pull/17177
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a22c8073ca336b63f681712e2e1b0f964fc68d592e319c382fe687d36499bd4/getsentry/sentry-javascript/pull/17177
og:image:altFollow-up for this PR: #17168 Creating a shared function flushIfServerless as this functionality is used quite often in various SDKs.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernames1gr1d
hostnamegithub.com
expected-hostnamegithub.com
None7cc8361bc0396e5c33704280422dd7a38c5b91f6190589faea57461f56967249
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseab4da203740f827015a12d36851c8de196e908bf
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/17177#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17177
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17177
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17177
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17177
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17177
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues329 (329)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
s1gr1dhttps://github.com/s1gr1d
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/flushIfServerless-corehttps://github.com/getsentry/sentry-javascript/tree/sig/flushIfServerless-core
Conversationhttps://github.com/getsentry/sentry-javascript/pull/17177
Commits8 (8)https://github.com/getsentry/sentry-javascript/pull/17177/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/17177/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/17177/files
feat(core): Add shared flushIfServerless functionhttps://github.com/getsentry/sentry-javascript/pull/17177#top
s1gr1dhttps://github.com/s1gr1d
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/flushIfServerless-corehttps://github.com/getsentry/sentry-javascript/tree/sig/flushIfServerless-core
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 25, 2025https://github.com/getsentry/sentry-javascript/pull/17177#issue-3263266216
#17168https://github.com/getsentry/sentry-javascript/pull/17168
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
https://github.com/s1gr1d
feat(core): Add shared flushIfServerless functionhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/202624b8e3cdca877c75a5307c92f8dc976d7ad9
202624bhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/202624b8e3cdca877c75a5307c92f8dc976d7ad9
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
AbhiPrasadhttps://github.com/AbhiPrasad
Lms24https://github.com/Lms24
July 25, 2025 13:37https://github.com/getsentry/sentry-javascript/pull/17177#event-18815014930
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jul 25, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#pullrequestreview-3055487273
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17177/files
packages/astro/src/server/middleware.tshttps://github.com/getsentry/sentry-javascript/pull/17177/files#diff-e94a9f9c56d1c44471cedff02057558410865a4dbd7982df900ac58297be649a
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17177
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
https://github.com/s1gr1d
fix importhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/4478ec623c75760a817b861efcabc9dd25f8161d
4478ec6https://github.com/getsentry/sentry-javascript/pull/17177/commits/4478ec623c75760a817b861efcabc9dd25f8161d
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/6229acda444cfbefe5bfa87917e4e69d3f5c8de5..4478ec623c75760a817b861efcabc9dd25f8161d
6229acdhttps://github.com/getsentry/sentry-javascript/commit/6229acda444cfbefe5bfa87917e4e69d3f5c8de5
4478ec6https://github.com/getsentry/sentry-javascript/commit/4478ec623c75760a817b861efcabc9dd25f8161d
Compare https://github.com/getsentry/sentry-javascript/compare/6229acda444cfbefe5bfa87917e4e69d3f5c8de5..4478ec623c75760a817b861efcabc9dd25f8161d
July 25, 2025 14:00https://github.com/getsentry/sentry-javascript/pull/17177#event-18815397371
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 28, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#pullrequestreview-3062354382
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17177/files/4478ec623c75760a817b861efcabc9dd25f8161d
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/17177#pullrequestreview-3062354382
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Jul 28, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#pullrequestreview-3062404662
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17177/files/4478ec623c75760a817b861efcabc9dd25f8161d
https://github.com/s1gr1d
accept direct waitUntil functionhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/788f79928935e15f86244a18b999d32b1313cdf3
788f799https://github.com/getsentry/sentry-javascript/pull/17177/commits/788f79928935e15f86244a18b999d32b1313cdf3
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jul 29, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#pullrequestreview-3067177023
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17177/files/788f79928935e15f86244a18b999d32b1313cdf3
packages/core/src/utils/flushIfServerless.tshttps://github.com/getsentry/sentry-javascript/pull/17177/files/788f79928935e15f86244a18b999d32b1313cdf3#diff-86666549d61dcab29e219144f7fb13167c527f06c19fd071afaa2f0013f46876
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
https://github.com/s1gr1d
make params optionalhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/2cf8428a1e3b4361b1c8865645eeda7ca187480c
2cf8428https://github.com/getsentry/sentry-javascript/pull/17177/commits/2cf8428a1e3b4361b1c8865645eeda7ca187480c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 29, 2025https://github.com/getsentry/sentry-javascript/pull/17177#issuecomment-3132296127
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/16597733675
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
s1gr1dhttps://github.com/s1gr1d
July 29, 2025 14:40https://github.com/getsentry/sentry-javascript/pull/17177#commits-pushed-f703845
https://github.com/s1gr1d
add standard flush in cloudflare againhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/f7038452a01c90c24ab17f883b447bd11b9dd596
f703845https://github.com/getsentry/sentry-javascript/pull/17177/commits/f7038452a01c90c24ab17f883b447bd11b9dd596
https://github.com/s1gr1d
remove unused importshttps://github.com/getsentry/sentry-javascript/pull/17177/commits/536026058083083f64cb14c372346ba869f881a9
5360260https://github.com/getsentry/sentry-javascript/pull/17177/commits/536026058083083f64cb14c372346ba869f881a9
https://github.com/s1gr1d
revert vercel-specific functionalityhttps://github.com/getsentry/sentry-javascript/pull/17177/commits/ed97658a9593777f3d88527fb00e57205d40dfc9
ed97658https://github.com/getsentry/sentry-javascript/pull/17177/commits/ed97658a9593777f3d88527fb00e57205d40dfc9
https://github.com/s1gr1d
fix tests solidstarthttps://github.com/getsentry/sentry-javascript/pull/17177/commits/036c380d77c232a5384935de166be8a58104bddf
036c380https://github.com/getsentry/sentry-javascript/pull/17177/commits/036c380d77c232a5384935de166be8a58104bddf
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
6b23b27https://github.com/getsentry/sentry-javascript/commit/6b23b27c73b673021063fdc843687871e189fb3d
Jul 30, 2025https://github.com/getsentry/sentry-javascript/pull/17177#event-18893372187
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
July 30, 2025 07:47https://github.com/getsentry/sentry-javascript/pull/17177#event-18893372807
chargomehttps://github.com/chargome
Jul 31, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#ref-commit-9582aa4
https://github.com/s1gr1d
https://github.com/chargome
feat(core): Add sharedhttps://github.com/getsentry/sentry-javascript/commit/9582aa4bcbe868e08e03a9c80ccaa040ba3dc0ca
flushIfServerlesshttps://github.com/getsentry/sentry-javascript/commit/9582aa4bcbe868e08e03a9c80ccaa040ba3dc0ca
function (https://github.com/getsentry/sentry-javascript/commit/9582aa4bcbe868e08e03a9c80ccaa040ba3dc0ca
#17177https://github.com/getsentry/sentry-javascript/pull/17177
)https://github.com/getsentry/sentry-javascript/commit/9582aa4bcbe868e08e03a9c80ccaa040ba3dc0ca
9582aa4https://github.com/getsentry/sentry-javascript/commit/9582aa4bcbe868e08e03a9c80ccaa040ba3dc0ca
#17168https://github.com/getsentry/sentry-javascript/pull/17168
https://github.com/chargome
chargomehttps://github.com/chargome
Jul 31, 2025 https://github.com/getsentry/sentry-javascript/pull/17177#ref-pullrequest-3279786151
feat(v9/core): Add shared flushIfServerless function (#17177) #17239 https://github.com/getsentry/sentry-javascript/pull/17239
Bump @sentry/react from 8.55.0 to 10.16.0 Pouria-FOSSA/dependabot-metadata-test#65 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/65
Bump @sentry/react from 8.55.0 to 10.17.0 Pouria-FOSSA/dependabot-metadata-test#66 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/66
Bump @sentry/react from 8.55.0 to 10.18.0 Pouria-FOSSA/dependabot-metadata-test#68 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/68
Bump @sentry/react from 8.55.0 to 10.19.0 Pouria-FOSSA/dependabot-metadata-test#70 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/70
Bump @sentry/react from 8.55.0 to 10.20.0 Pouria-FOSSA/dependabot-metadata-test#71 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/71
Bump @sentry/react from 8.55.0 to 10.21.0 Pouria-FOSSA/dependabot-metadata-test#72 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/72
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17177
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/17177/files/788f79928935e15f86244a18b999d32b1313cdf3
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/17177/files/4478ec623c75760a817b861efcabc9dd25f8161d
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/17177/files/4478ec623c75760a817b861efcabc9dd25f8161d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17177
https://github.com/s1gr1d
https://github.com/Lms24
https://github.com/AbhiPrasad
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.