René's URL Explorer Experiment


Title: fix: prevent IEEE 754 precision loss in OTLP nanosecond timestamps by cybertron288 · Pull Request #3521 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix: prevent IEEE 754 precision loss in OTLP nanosecond timestamps by cybertron288 · Pull Request #3521 · triggerdotdev/trigger.dev

X Title: fix: prevent IEEE 754 precision loss in OTLP nanosecond timestamps by cybertron288 · Pull Request #3521 · triggerdotdev/trigger.dev

Description: Closes #3292 What Convert epoch milliseconds to BigInt before multiplying by 1_000_000 in four OTLP-event timestamp computations, so the multiplication happens in BigInt-land instead of as a JS Number. Why epoch_ms * 1_000_000 (≈1.7e18) exceeds Number.MAX_SAFE_INTEGER (~9e15), causing ~256ns rounding errors in roughly 0.2% of cases. This already-correct pattern (BigInt(ms) * BigInt(1_000_000)) exists in convertDateToNanoseconds() in the same file — the four other call sites just hadn't adopted it. See issue #3292 for the full breakdown. Affected lines: apps/webapp/app/v3/eventRepository/common.server.ts:24 — getNowInNanoseconds() apps/webapp/app/v3/eventRepository/common.server.ts:38 — calculateDurationFromStart() apps/webapp/app/v3/eventRepository/index.server.ts:218 — recordRunDebugLog() startTime apps/webapp/app/v3/runEngineHandlers.server.ts:432 — retry event recording Notes Opened as draft — please review before marking ready. .server-changes/ entry added per apps/webapp/CLAUDE.md conventions (server-only change, no public package touched). Verification: not run locally — change is mechanical and 4 lines across 3 files. CI typecheck should cover it.

Open Graph Description: Closes #3292 What Convert epoch milliseconds to BigInt before multiplying by 1_000_000 in four OTLP-event timestamp computations, so the multiplication happens in BigInt-land instead of as a JS Num...

X Description: Closes #3292 What Convert epoch milliseconds to BigInt before multiplying by 1_000_000 in four OTLP-event timestamp computations, so the multiplication happens in BigInt-land instead of as a JS Num...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/3521

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bba1b79f-5920-468c-18b7-c906f9febcaf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C26:220038:425F83:5E8FCE:6AFAFE01
html-safe-nonce1a924e49cfbd704678fe328a83a0b78e93f39af810ffd382f9f1bb7faf44ab22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzI2OjIyMDAzODo0MjVGODM6NUU4RkNFOjZBRkFGRTAxIiwidmlzaXRvcl9pZCI6IjExNjgwMTQ4MjQ2Mzg3MDkyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f89c222a6f3fa87f907c875d24277b088a05064bb75c587bd1e14850dca2f17
hovercard-subject-tagpull_request:3628577481
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3521/files
twitter:imagehttps://avatars.githubusercontent.com/u/38292293?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/38292293?s=400&v=4
og:image:altCloses #3292 What Convert epoch milliseconds to BigInt before multiplying by 1_000_000 in four OTLP-event timestamp computations, so the multiplication happens in BigInt-land instead of as a JS Num...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3a69df62e401f1cbe8bd1ad791845bb4fc5b1c1d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3521/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3521%2Ffiles
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%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3521%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
cybertron288https://github.com/cybertron288
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
cybertron288:fix/issue-3292https://github.com/cybertron288/trigger.dev/tree/fix/issue-3292
Conversation 3 https://github.com/triggerdotdev/trigger.dev/pull/3521
Commits 1 https://github.com/triggerdotdev/trigger.dev/pull/3521/commits
Checks 2 https://github.com/triggerdotdev/trigger.dev/pull/3521/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3521/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
fix: prevent IEEE 754 precision loss in OTLP nanosecond timestamps https://github.com/triggerdotdev/trigger.dev/pull/3521/files#top
Show all changes 1 commit https://github.com/triggerdotdev/trigger.dev/pull/3521/files
f25aa36 fix: prevent IEEE 754 precision loss in OTLP nanosecond timestamps (#… cybertron288 May 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3521/commits/f25aa36b84d3ee4912158ebdddb001790111cf82
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3521/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3521/files
fix-otlp-nanosecond-precision.md https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-10941621e55c5f0f009e21a5b7105b6b1bfaa97ec6e0174bdacfeb4cbf020b0c
common.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-eac5324b65ed27cd30c9b9ff9bed3a87ce2e3b646e69b726c4503f24cd0c26d8
index.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-7132a9c1003446f1e81f0589c24b40219366e6b6652b4e11789bae24ecfd6eb6
runEngineHandlers.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-445ae0a10c4158c5fcbabaa7bf3eb4761c9c9cc1ebc56c3b1aa0f49d5cc11d9f
.server-changes/fix-otlp-nanosecond-precision.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-10941621e55c5f0f009e21a5b7105b6b1bfaa97ec6e0174bdacfeb4cbf020b0c
View file https://github.com/cybertron288/trigger.dev/blob/f25aa36b84d3ee4912158ebdddb001790111cf82/.server-changes/fix-otlp-nanosecond-precision.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3521/{{ revealButtonHref }}
apps/webapp/app/v3/eventRepository/common.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-eac5324b65ed27cd30c9b9ff9bed3a87ce2e3b646e69b726c4503f24cd0c26d8
View file https://github.com/cybertron288/trigger.dev/blob/f25aa36b84d3ee4912158ebdddb001790111cf82/apps/webapp/app/v3/eventRepository/common.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3521/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-eac5324b65ed27cd30c9b9ff9bed3a87ce2e3b646e69b726c4503f24cd0c26d8
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-eac5324b65ed27cd30c9b9ff9bed3a87ce2e3b646e69b726c4503f24cd0c26d8
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-eac5324b65ed27cd30c9b9ff9bed3a87ce2e3b646e69b726c4503f24cd0c26d8
apps/webapp/app/v3/eventRepository/index.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-7132a9c1003446f1e81f0589c24b40219366e6b6652b4e11789bae24ecfd6eb6
View file https://github.com/cybertron288/trigger.dev/blob/f25aa36b84d3ee4912158ebdddb001790111cf82/apps/webapp/app/v3/eventRepository/index.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3521/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-7132a9c1003446f1e81f0589c24b40219366e6b6652b4e11789bae24ecfd6eb6
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-7132a9c1003446f1e81f0589c24b40219366e6b6652b4e11789bae24ecfd6eb6
apps/webapp/app/v3/runEngineHandlers.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-445ae0a10c4158c5fcbabaa7bf3eb4761c9c9cc1ebc56c3b1aa0f49d5cc11d9f
View file https://github.com/cybertron288/trigger.dev/blob/f25aa36b84d3ee4912158ebdddb001790111cf82/apps/webapp/app/v3/runEngineHandlers.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3521/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-445ae0a10c4158c5fcbabaa7bf3eb4761c9c9cc1ebc56c3b1aa0f49d5cc11d9f
https://github.com/triggerdotdev/trigger.dev/pull/3521/files#diff-445ae0a10c4158c5fcbabaa7bf3eb4761c9c9cc1ebc56c3b1aa0f49d5cc11d9f
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

Viewport: width=device-width


URLs of crawlers that visited me.