René's URL Explorer Experiment


Title: bug: Sentry debug ID injection causes OOM during module loading · Issue #2920 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: Sentry debug ID injection causes OOM during module loading · Issue #2920 · triggerdotdev/trigger.dev

X Title: bug: Sentry debug ID injection causes OOM during module loading · Issue #2920 · triggerdotdev/trigger.dev

Description: Provide environment information n/a Describe the bug Sentry's debug ID injection (sentry-cli sourcemaps inject) adds new Error().stack calls to every bundled .mjs file. Trigger.dev's source-map-support library parses sourcemaps on every ...

Open Graph Description: Provide environment information n/a Describe the bug Sentry's debug ID injection (sentry-cli sourcemaps inject) adds new Error().stack calls to every bundled .mjs file. Trigger.dev's source-map-sup...

X Description: Provide environment information n/a Describe the bug Sentry's debug ID injection (sentry-cli sourcemaps inject) adds new Error().stack calls to every bundled .mjs file. Trigger.dev's source...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/2920

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Sentry debug ID injection causes OOM during module loading","articleBody":"### Provide environment information\n\nn/a\n\n### Describe the bug\n\nSentry's debug ID injection (`sentry-cli sourcemaps inject`) adds `new Error().stack` calls to every bundled `.mjs` file. \n\nTrigger.dev's `source-map-support` library parses sourcemaps on every `.stack` access. This causes all sourcemaps to be parsed during module loading, leading to OOM before any task code runs.\n\nAffects large projects (e.g., ~2000+ bundled files) on smaller machines like `small-1x`.\n\n### Reproduction repo\n\nn/a\n\n### To reproduce\n\n1. Deploy a project with many bundled files to Trigger.dev\n2. Enable Sentry debug ID injection: `sentry-cli sourcemaps inject --ext mjs`\n3. Use `small-1x` machine (0.5GB RAM)\n4. Trigger any task\n5. Task fails with OOM before execution\n\nWorkaround: Skip `sourcemaps inject` step, rely on release-based sourcemap matching.\n\n### Additional information\n\nPotential fixes:\n- Lazy sourcemap parsing (only on actual errors)\n- Config option to disable `source-map-support`\n- Document limitation for Sentry users","author":{"url":"https://github.com/isshaddad","@type":"Person","name":"isshaddad"},"datePublished":"2026-01-20T23:45:08Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/2920"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:381c0f6f-0def-3435-cb24-bae90b6ce4cc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC736:2B2E62:8BEFAD:C85659:6AFAE230
html-safe-nonce04e6048dbaf741b46f54bf88284a345bb2a707aa189a028baa8599f66c82faa5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzM2OjJCMkU2Mjo4QkVGQUQ6Qzg1NjU5OjZBRkFFMjMwIiwidmlzaXRvcl9pZCI6IjY5MjU3MDQ2NDU3MTI3MzI3MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace66c2c66b87e8699f045872d6fbb6f00457459f89fc48e0e130c1eccf26fd92a
hovercard-subject-tagissue:3835929494
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/2920/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d0e0e62ce714bc9710432ff8e54dec73be26a6e5cb1ea05429a6b746f4fb3e78/triggerdotdev/trigger.dev/issues/2920
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0e0e62ce714bc9710432ff8e54dec73be26a6e5cb1ea05429a6b746f4fb3e78/triggerdotdev/trigger.dev/issues/2920
og:image:altProvide environment information n/a Describe the bug Sentry's debug ID injection (sentry-cli sourcemaps inject) adds new Error().stack calls to every bundled .mjs file. Trigger.dev's source-map-sup...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameisshaddad
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/2920#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F2920
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%2Fissues%2F2920
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2920
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2920
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2920
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 requests66 (66)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
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2920
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2920
bug: Sentry debug ID injection causes OOM during module loadinghttps://github.com/triggerdotdev/trigger.dev/issues/2920#top
https://github.com/isshaddad
isshaddadhttps://github.com/isshaddad
on Jan 20, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issue-3835929494
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776481293
@claudehttps://github.com/claude
https://github.com/apps/claude
claudehttps://github.com/apps/claude
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776484372
Claudehttps://anthropic.com/claude-code
@ericallamhttps://github.com/ericallam
View jobhttps://github.com/triggerdotdev/trigger.dev/actions/runs/21200229112
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776498523
@claudehttps://github.com/claude
https://github.com/apps/claude
claudehttps://github.com/apps/claude
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776502669
Claudehttps://anthropic.com/claude-code
@ericallamhttps://github.com/ericallam
View jobhttps://github.com/triggerdotdev/trigger.dev/actions/runs/21200366516
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776523885
@claudehttps://github.com/claude
https://github.com/apps/claude
claudehttps://github.com/apps/claude
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#issuecomment-3776527807
Claudehttps://anthropic.com/claude-code
@ericallamhttps://github.com/ericallam
View jobhttps://github.com/triggerdotdev/trigger.dev/actions/runs/21200576571
claude/issue-2920-20260121-0712https://github.com/triggerdotdev/trigger.dev/tree/claude/issue-2920-20260121-0712
Create PR ➔https://github.com/triggerdotdev/trigger.dev/compare/main...claude/issue-2920-20260121-0712?quick_pull=1&title=fix(cli)%3A%20defer%20sourcemap%20parsing%20to%20prevent%20OOM%20during%20module%20loading&body=Sentry%27s%20debug%20ID%20injection%20adds%20%60new%20Error().stack%60%20calls%20to%20every%20bundled%20file%2C%20which%20triggers%20sourcemap%20parsing%20during%20module%20loading.%20This%20caused%20OOM%20on%20memory-constrained%20machines%20before%20any%20task%20code%20ran.%0A%0AThe%20fix%20implements%20phase-based%20deferred%20sourcemap%20parsing%3A%0A-%20During%20module%20loading%2C%20sourcemap%20retrieval%20returns%20null%20(fast%2C%20no%20memory%20pressure)%0A-%20After%20bootstrap%20completes%2C%20sourcemap%20support%20is%20enabled%20for%20runtime%20errors%0A-%20Runtime%20errors%20during%20task%20execution%20still%20get%20proper%20source-mapped%20stack%20traces%0A%0AFixes%20%232920%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fclaude-code)
claudehttps://github.com/apps/claude
on Jan 21, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#event-22180482450
fix(cli): defer sourcemap parsing to prevent OOM during module loadinghttps://github.com/triggerdotdev/trigger.dev/commit/3d66fee1af7c8c39367bc179b1996087ed0879a6
https://docs.github.com/articles/closing-issues-via-commit-messages
3d66feehttps://github.com/triggerdotdev/trigger.dev/commit/3d66fee1af7c8c39367bc179b1996087ed0879a6
deepshekhardashttps://github.com/deepshekhardas
on Feb 2, 2026https://github.com/triggerdotdev/trigger.dev/issues/2920#event-22461652140
fix(cli-v3): allow disabling source-map-support to prevent OOM with S…https://github.com/deepshekhardas/trigger.dev/commit/ed41f0ad3d846479d95e12f3b567d9ed762985f7
ed41f0ahttps://github.com/deepshekhardas/trigger.dev/commit/ed41f0ad3d846479d95e12f3b567d9ed762985f7
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2920
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2920
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.