You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 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).
This is a resubmission of #3378 which was closed because it missed one instance. PR #3381 fixes ALL instances.
Background
I'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.
Activity
matt-aitken commentedon Oct 7, 2026
We have a new Vouch policy, please see the discussion here: #5010