René's URL Explorer Experiment


Title: fix(core): Use `safeDateNow` calls for `new Date()` reads by chargome · Pull Request #21351 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Use `safeDateNow` calls for `new Date()` reads by chargome · Pull Request #21351 · getsentry/sentry-javascript

X Title: fix(core): Use `safeDateNow` calls for `new Date()` reads by chargome · Pull Request #21351 · getsentry/sentry-javascript

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

Open Graph Description: Several spots in core read the ambient clock directly via a bare new Date(). In Next.js Cache Components this throws a next-prerender-current-time violation, breaking captureException/captureMessag...

X Description: Several spots in core read the ambient clock directly via a bare new Date(). In Next.js Cache Components this throws a next-prerender-current-time violation, breaking captureException/captureMessag...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:fca6ff96-1651-d85f-c283-0542a377bd42
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC1E:8414A:9C8513:DA90DF:6B042D63
html-safe-noncedaaa8a922aad34f3eb504d380df52cb2e5ff392e7a39606b2b84accce273db91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzFFOjg0MTRBOjlDODUxMzpEQTkwREY6NkIwNDJENjMiLCJ2aXNpdG9yX2lkIjoiNzAzNTk1MjIyMTM2MzkwNzkzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaced8506d2e83f12fc70477782e4b06d5d58d6473a29812e2f8e50a16b21d774ae
hovercard-subject-tagpull_request:3810852377
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/21351/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7982ce1a7e67161d10e0c3da7e67d458277b47216d83272448ed1d4648a5eccf/getsentry/sentry-javascript/pull/21351
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7982ce1a7e67161d10e0c3da7e67d458277b47216d83272448ed1d4648a5eccf/getsentry/sentry-javascript/pull/21351
og:image:altSeveral spots in core read the ambient clock directly via a bare new Date(). In Next.js Cache Components this throws a next-prerender-current-time violation, breaking captureException/captureMessag...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/21351#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F21351
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%2F21351
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/21351
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21351
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21351
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)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
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/cachecomponents-errorhttps://github.com/getsentry/sentry-javascript/tree/cg/cachecomponents-error
Conversationhttps://github.com/getsentry/sentry-javascript/pull/21351
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/21351/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/21351/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/21351/files
fix(core): Use safeDateNow calls for new Date() readshttps://github.com/getsentry/sentry-javascript/pull/21351#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/cachecomponents-errorhttps://github.com/getsentry/sentry-javascript/tree/cg/cachecomponents-error
https://github.com/chargome
chargomehttps://github.com/chargome
Jun 5, 2026https://github.com/getsentry/sentry-javascript/pull/21351#issue-4597823081
#21333https://github.com/getsentry/sentry-javascript/issues/21333
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/chargome
add safe date callhttps://github.com/getsentry/sentry-javascript/pull/21351/commits/36810c430e787ba9138faf689abfaa7e8366a38e
36810c4https://github.com/getsentry/sentry-javascript/pull/21351/commits/36810c430e787ba9138faf689abfaa7e8366a38e
https://github.com/chargome
chargomehttps://github.com/chargome
Jun 5, 2026https://github.com/getsentry/sentry-javascript/pull/21351#event-26390207789
https://github.com/chargome
chargomehttps://github.com/chargome
logaretmhttps://github.com/logaretm
June 5, 2026 14:53https://github.com/getsentry/sentry-javascript/pull/21351#event-26390346423
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 5, 2026https://github.com/getsentry/sentry-javascript/pull/21351#issuecomment-4632877811
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/27021072147
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Jun 5, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#pullrequestreview-4437304043
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21351/files/36810c430e787ba9138faf689abfaa7e8366a38e
https://github.com/chargome
chargomehttps://github.com/chargome
Jun 5, 2026https://github.com/getsentry/sentry-javascript/pull/21351#issuecomment-4632904294
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 5, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#pullrequestreview-4437323931
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21351/files/36810c430e787ba9138faf689abfaa7e8366a38e
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/21351#pullrequestreview-4437323931
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
36810c4https://github.com/getsentry/sentry-javascript/commit/36810c430e787ba9138faf689abfaa7e8366a38e
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/chargome
chargomehttps://github.com/chargome
June 8, 2026 08:02https://github.com/getsentry/sentry-javascript/pull/21351#event-26459578425
https://github.com/chargome
chargomehttps://github.com/chargome
f0b56b2https://github.com/getsentry/sentry-javascript/commit/f0b56b247383410718c7a5b2b9f0c6f385920657
Jun 8, 2026https://github.com/getsentry/sentry-javascript/pull/21351#event-26460341158
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/chargome
chargomehttps://github.com/chargome
June 8, 2026 08:23https://github.com/getsentry/sentry-javascript/pull/21351#event-26460342505
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#ref-issue-4620411024
publish: getsentry/sentry-javascript@10.57.0 getsentry/publish#8495 https://github.com/getsentry/publish/issues/8495
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#ref-issue-4581480629
Sentry.captureException/captureMessage break Next.js prerendering with Cache Components enabled #21333 https://github.com/getsentry/sentry-javascript/issues/21333
https://github.com/pnodet
pnodethttps://github.com/pnodet
Jun 12, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#ref-issue-4651229641
captureException during next build prerender fails cacheComponents routes (safe-random runner never registered in build workers) #21510 https://github.com/getsentry/sentry-javascript/issues/21510
https://github.com/kevbarns
kevbarnshttps://github.com/kevbarns
Aug 21, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#ref-pullrequest-5218316096
chore: bump sentry ui et server en 10.70.0 mission-apprentissage/labonnealternance#5218 https://github.com/mission-apprentissage/labonnealternance/pull/5218
profiling-node: profile envelope timestamp breaks Next.js Cache Components prerendering #26431 https://github.com/getsentry/sentry-javascript/issues/26431
fix(profiling-node): Use safeDateNow for profile envelope timestamps #26474 https://github.com/getsentry/sentry-javascript/pull/26474
chargomehttps://github.com/chargome
Nov 17, 2026 https://github.com/getsentry/sentry-javascript/pull/21351#ref-commit-abdc5dd
https://github.com/JavierCane
https://github.com/codex
fix(profiling-node): Use safeDateNow for profile envelope timestamps (https://github.com/getsentry/sentry-javascript/commit/abdc5dda12df1c7f4cc1cc10350aef70e3ac9f3f
#…https://github.com/getsentry/sentry-javascript/pull/26474
abdc5ddhttps://github.com/getsentry/sentry-javascript/commit/abdc5dda12df1c7f4cc1cc10350aef70e3ac9f3f
…26474https://github.com/getsentry/sentry-javascript/pull/26474
#21351https://github.com/getsentry/sentry-javascript/pull/21351
#21333https://github.com/getsentry/sentry-javascript/issues/21333
#21510https://github.com/getsentry/sentry-javascript/issues/21510
#21573https://github.com/getsentry/sentry-javascript/pull/21573
#18700https://github.com/getsentry/sentry-javascript/pull/18700
#18700 (comment)https://github.com/getsentry/sentry-javascript/pull/18700#issuecomment-3719913841
#26431 (comment)https://github.com/getsentry/sentry-javascript/issues/26431#issuecomment-6942550509
#26431https://github.com/getsentry/sentry-javascript/issues/26431
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%2F21351
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/21351/files/36810c430e787ba9138faf689abfaa7e8366a38e
https://github.com/logaretm
logaretm https://github.com/logaretm
https://github.com/getsentry/sentry-javascript/pull/21351/files/36810c430e787ba9138faf689abfaa7e8366a38e
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/chargome
chargome https://github.com/chargome
Sentry.captureException/captureMessage break Next.js prerendering with Cache Components enabled https://github.com/getsentry/sentry-javascript/issues/21333
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21351
https://github.com/chargome
https://github.com/logaretm
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.