Title: Vouch Request: BigInt overflow fix (PR #3381) · Issue #3385 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: Vouch Request: BigInt overflow fix (PR #3381) · Issue #3385 · triggerdotdev/trigger.dev
X Title: Vouch Request: BigInt overflow fix (PR #3381) · Issue #3385 · triggerdotdev/trigger.dev
Description: What I want to work on I've submitted PR #3381 which fixes IEEE 754 precision loss in nanosecond timestamp calculations across three files: apps/webapp/app/v3/eventRepository/common.server.ts apps/webapp/app/v3/eventRepository/index.serv...
Open Graph Description: What I want to work on I've submitted PR #3381 which fixes IEEE 754 precision loss in nanosecond timestamp calculations across three files: apps/webapp/app/v3/eventRepository/common.server.ts apps/...
X Description: What I want to work on I've submitted PR #3381 which fixes IEEE 754 precision loss in nanosecond timestamp calculations across three files: apps/webapp/app/v3/eventRepository/common.server.ts a...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/3385
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vouch Request: BigInt overflow fix (PR #3381)","articleBody":"## What I want to work on\n\nI've submitted PR #3381 which fixes IEEE 754 precision loss in nanosecond timestamp calculations across three files:\n- `apps/webapp/app/v3/eventRepository/common.server.ts`\n- `apps/webapp/app/v3/eventRepository/index.server.ts`\n- `apps/webapp/app/v3/runEngineHandlers.server.ts`\n\nThe bug: `BigInt(milliseconds * 1_000_000)` overflows before BigInt conversion because `Date.now() * 1_000_000` exceeds Number.MAX_SAFE_INTEGER. The fix converts to BigInt first: `BigInt(milliseconds) * BigInt(1_000_000)`.\n\nThis is a resubmission of #3378 which was closed because it missed one instance. PR #3381 fixes ALL instances.\n\n## Background\n\nI'm an open source contributor with PRs in multiple repos including Flowise, Haystack, Reth, supabase-js, and graph-node. I have experience with TypeScript/Node.js and am familiar with the trigger.dev codebase through investigating this bug.\n\n## Links\n- Issue: #3292\n- PR: #3381 (auto-closed, pending vouch)\n- Previous PR: #3378 (closed, missed one instance)","author":{"url":"https://github.com/aayushbaluni","@type":"Person","name":"aayushbaluni"},"datePublished":"2026-04-15T12:48:11Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/3385"}
| react-profiling | 0 |
| react-import-map | react,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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c1328ef-5e16-6d70-382d-f67b70ad1b8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE36:263ABA:53DA46:779F46:6AFAEF60 |
| html-safe-nonce | c7931109685a581ae1bdc670d735a557c78c841436ba56e9354d02fcc634da8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTM2OjI2M0FCQTo1M0RBNDY6Nzc5RjQ2OjZBRkFFRjYwIiwidmlzaXRvcl9pZCI6IjQzNjEyNzgwMTUxMzczMTI2MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3fa2941586e1cee837a2c8c62365a6cb6c5ce09bac16cc02d21f7e8939cfe656 |
| hovercard-subject-tag | issue:4269020732 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/3385/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d83d1a36bc31d7e284bdf3749e17aa95f40467d36a85cea7637f109bb8c19e7a/triggerdotdev/trigger.dev/issues/3385 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d83d1a36bc31d7e284bdf3749e17aa95f40467d36a85cea7637f109bb8c19e7a/triggerdotdev/trigger.dev/issues/3385 |
| og:image:alt | What I want to work on I've submitted PR #3381 which fixes IEEE 754 precision loss in nanosecond timestamp calculations across three files: apps/webapp/app/v3/eventRepository/common.server.ts apps/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aayushbaluni |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 12fff95459b24b0f882a66698ee6a36a5934d247 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width