René's URL Explorer Experiment


Title: fix(sdk): handle locked ReadableStream when retrying batch trigger by ericallam · Pull Request #2917 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(sdk): handle locked ReadableStream when retrying batch trigger by ericallam · Pull Request #2917 · triggerdotdev/trigger.dev

X Title: fix(sdk): handle locked ReadableStream when retrying batch trigger by ericallam · Pull Request #2917 · triggerdotdev/trigger.dev

Description: When fetch crashes mid-stream during batch item upload (e.g., connection reset, timeout), the request stream may remain locked by fetch's internal reader. Attempting to cancel a locked stream throws 'Invalid state: ReadableStream is locked', causing the batch operation to fail. Added safeStreamCancel() helper that gracefully handles locked streams by catching and ignoring the locked error. The stream will be cleaned up by garbage collection when fetch eventually releases the reader. Fixes customer issue where batchTrigger failed with ReadableStream locked error during network instability.

Open Graph Description: When fetch crashes mid-stream during batch item upload (e.g., connection reset, timeout), the request stream may remain locked by fetch's internal reader. Attempting to cancel a locked stream t...

X Description: When fetch crashes mid-stream during batch item upload (e.g., connection reset, timeout), the request stream may remain locked by fetch's internal reader. Attempting to cancel a locked stre...

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

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:c7af43ce-c82b-e459-8192-c79d377f7c76
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0F2:15FC93:B0BED0:F82501:6AFB79B0
html-safe-nonce0896f52acebef8fcb0fd8a7df70a2fc5506d74c39732d9c66b2c9e3809abe364
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEYyOjE1RkM5MzpCMEJFRDA6RjgyNTAxOjZBRkI3OUIwIiwidmlzaXRvcl9pZCI6IjIxMzc4MzQ1MDc1NDgxOTUyNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac99c7aaa2e3c370716fe3fcded87a7f9270f646d835081c161f80fda73ee83c69
hovercard-subject-tagpull_request:3191703787
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/2917/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
og:image:altWhen fetch crashes mid-stream during batch item upload (e.g., connection reset, timeout), the request stream may remain locked by fetch's internal reader. Attempting to cancel a locked stream t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/2917/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F2917%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%2F2917%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/2917/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/2917/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/2917/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
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/batch-trigger-locked-streamhttps://github.com/triggerdotdev/trigger.dev/tree/fix/batch-trigger-locked-stream
Conversation 3 https://github.com/triggerdotdev/trigger.dev/pull/2917
Commits 3 https://github.com/triggerdotdev/trigger.dev/pull/2917/commits
Checks 33 https://github.com/triggerdotdev/trigger.dev/pull/2917/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/2917/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2917/files
fix(sdk): handle locked ReadableStream when retrying batch trigger https://github.com/triggerdotdev/trigger.dev/pull/2917/files#top
Show all changes 3 commits https://github.com/triggerdotdev/trigger.dev/pull/2917/files
8d58fd9 fix(batch): handle locked ReadableStream when retrying batch trigger ericallam Jan 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2917/commits/8d58fd956f963299b5041ff3412178d689d3beae
dc5e755 chore: add changeset ericallam Jan 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2917/commits/dc5e755cf89cad7d3a6b7f81147ad3af3b03df28
d6d933d remove batch concurrency cleaner script ericallam Jan 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2917/commits/d6d933dd6d2fd2d1c6ba35e3eb1e774a1d58f8b6
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/2917/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2917/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2917/files
gentle-streams-flow.md https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-30f4d2644dbe249b3331fab859fab5eefae431f3c0ebe80b264a780f70e2e5cf
index.ts https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
streamBatchItems.test.ts https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-ebd90056ac4372faad2813b6c59f4fb9fb8fefcdab48a7243942046a6f20a995
.changeset/gentle-streams-flow.mdhttps://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-30f4d2644dbe249b3331fab859fab5eefae431f3c0ebe80b264a780f70e2e5cf
View file https://github.com/triggerdotdev/trigger.dev/blob/d6d933dd6d2fd2d1c6ba35e3eb1e774a1d58f8b6/.changeset/gentle-streams-flow.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2917/{{ revealButtonHref }}
packages/core/src/v3/apiClient/index.tshttps://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
View file https://github.com/triggerdotdev/trigger.dev/blob/d6d933dd6d2fd2d1c6ba35e3eb1e774a1d58f8b6/packages/core/src/v3/apiClient/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2917/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-a3dd70188f22b9a8944982bd01922236614664bcbd18c2ae9f83f4beb5d4d5c7
packages/core/src/v3/apiClient/streamBatchItems.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-ebd90056ac4372faad2813b6c59f4fb9fb8fefcdab48a7243942046a6f20a995
View file https://github.com/triggerdotdev/trigger.dev/blob/d6d933dd6d2fd2d1c6ba35e3eb1e774a1d58f8b6/packages/core/src/v3/apiClient/streamBatchItems.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2917/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-ebd90056ac4372faad2813b6c59f4fb9fb8fefcdab48a7243942046a6f20a995
https://github.com/triggerdotdev/trigger.dev/pull/2917/files#diff-ebd90056ac4372faad2813b6c59f4fb9fb8fefcdab48a7243942046a6f20a995
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.