René's URL Explorer Experiment


Title: Fix run.taskIdentifier being reported as "unknown" for batch triggers by bharathkumar39293 · Pull Request #2974 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: Fix run.taskIdentifier being reported as "unknown" for batch triggers by bharathkumar39293 · Pull Request #2974 · triggerdotdev/trigger.dev

X Title: Fix run.taskIdentifier being reported as "unknown" for batch triggers by bharathkumar39293 · Pull Request #2974 · triggerdotdev/trigger.dev

Description: Closes #2942 This PR fixes an issue where run.taskIdentifier was reported as "unknown" when using batch.triggerAndWait / batch.triggerByTaskAndWait. The root cause was that taskIdentifier was not propagated from the platform to the worker via the CompletedWaitpoint , causing the runtime to fall back to "unknown". Changes Schema Added taskIdentifier to the CompletedWaitpoint schema ( packages/core/src/v3/schemas/runEngine.ts ) Platform Updated ExecutionSnapshotSystem to: Select taskIdentifier from the database Map it onto the CompletedWaitpoint sent to the worker ( internal-packages/run-engine/src/engine/systems/executionSnapshotSystem.ts ) Worker Updated SharedRuntimeManager to use waitpoint.completedByTaskRun.taskIdentifier when constructing the execution result ( packages/core/src/v3/runtime/sharedRuntimeManager.ts ) Added a backward-compatible fallback to "unknown" for legacy runs Verification Unit Tests Added packages/core/src/v3/runtime/sharedRuntimeManager.test.ts covering: Correct propagation of taskIdentifier when present Graceful fallback to "unknown" when missing All tests are passing.

Open Graph Description: Closes #2942 This PR fixes an issue where run.taskIdentifier was reported as "unknown" when using batch.triggerAndWait / batch.triggerByTaskAndWait. The root cause was that taskIdentifier...

X Description: Closes #2942 This PR fixes an issue where run.taskIdentifier was reported as "unknown" when using batch.triggerAndWait / batch.triggerByTaskAndWait. The root cause was that taskId...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b949e700-90b0-4dd9-7938-2f047aaf940d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB92:424E8:10BDF:164B1:6AFBD543
html-safe-nonce58b664d81b0ee7b61f1689070e59b9a54480816bf43731dc3ae5815785ef7168
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjkyOjQyNEU4OjEwQkRGOjE2NEIxOjZBRkJENTQzIiwidmlzaXRvcl9pZCI6IjI4MjEyMDE2Mzg3MDg3MjkxNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3c4b0e1b7025fdb8a9a7c7557fa0dbd3efaa383815e9cfed303ade699132ba02
hovercard-subject-tagpull_request:3226610731
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/2974/files
twitter:imagehttps://avatars.githubusercontent.com/u/164022397?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/164022397?s=400&v=4
og:image:altCloses #2942 This PR fixes an issue where run.taskIdentifier was reported as "unknown" when using batch.triggerAndWait / batch.triggerByTaskAndWait. The root cause was that taskIdentifier...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
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
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F2974%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%2F2974%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/2974/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/2974/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/2974/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
bharathkumar39293https://github.com/bharathkumar39293
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
bharathkumar39293:fix/batch-trigger-task-identifierhttps://github.com/bharathkumar39293/trigger.dev/tree/fix/batch-trigger-task-identifier
Conversation 11 https://github.com/triggerdotdev/trigger.dev/pull/2974
Commits 9 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits
Checks 30 https://github.com/triggerdotdev/trigger.dev/pull/2974/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/2974/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2974/files
Fix run.taskIdentifier being reported as "unknown" for batch triggers https://github.com/triggerdotdev/trigger.dev/pull/2974/files#top
Show all changes 9 commits https://github.com/triggerdotdev/trigger.dev/pull/2974/files
c6c4ce7 fix(core): propagate taskIdentifier for batch triggers bharathkumar39293 Jan 30, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/c6c4ce76c363db5eadd3a6ff25a1784b6f0eeb22
99192b6 chore(test): remove mocks bharathkumar39293 Jan 30, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/99192b642b6b4f630f54cca1589e6f010d1a035a
7727737 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 2, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/772773783624d6f9bc9f254f4c0296e7a1fa8aa8
7af5dd6 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/7af5dd679357f7f8b63f27634a3618661f00a6d4
fe7e5ed fix: bind this in waitForBatch and add changeset bharathkumar39293 Feb 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/fe7e5ed0223f390c6f923f939a08caed63daaca5
8540138 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/8540138f2df9e505a4e61d7de58dc061dbd0072e
f8819c0 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 6, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/f8819c0155b64d64dae2954e76b247231bed7913
31ecd33 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 9, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/31ecd336ec29c29429f7f5308c4f1aef4b21e8c0
7f138d1 Merge branch 'main' into fix/batch-trigger-task-identifier bharathkumar39293 Feb 25, 2026 https://github.com/triggerdotdev/trigger.dev/pull/2974/commits/7f138d18625e1ec4ec0f5cc43f5365948810d50d
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/2974/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2974/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/2974/files
fix-batch-trigger-task-identifier.md https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-cb01f971cfa71040285db738a62b360aa6e5bd55ada253de4287474543ff29cf
executionSnapshotSystem.ts https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
sharedRuntimeManager.test.ts https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-ba79a6a169188473400c97b18a0b73e42f0eb14e64c370f996a041156ca35e15
sharedRuntimeManager.ts https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
runEngine.ts https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-1c03756d21b3cff4b476187d6eae4c234d68e0089d9cc7acdd346676da208b01
.changeset/fix-batch-trigger-task-identifier.mdhttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-cb01f971cfa71040285db738a62b360aa6e5bd55ada253de4287474543ff29cf
View file https://github.com/triggerdotdev/trigger.dev/blob/7f138d18625e1ec4ec0f5cc43f5365948810d50d/.changeset/fix-batch-trigger-task-identifier.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2974/{{ revealButtonHref }}
internal-packages/run-engine/src/engine/systems/executionSnapshotSystem.tshttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
View file https://github.com/triggerdotdev/trigger.dev/blob/7f138d18625e1ec4ec0f5cc43f5365948810d50d/internal-packages/run-engine/src/engine/systems/executionSnapshotSystem.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2974/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-c595e4a2c7d1b3cb8e137f9c0cbc5af5a7ed38473514eb5e47fd2898a8da57f9
packages/core/src/v3/runtime/sharedRuntimeManager.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-ba79a6a169188473400c97b18a0b73e42f0eb14e64c370f996a041156ca35e15
View file https://github.com/triggerdotdev/trigger.dev/blob/7f138d18625e1ec4ec0f5cc43f5365948810d50d/packages/core/src/v3/runtime/sharedRuntimeManager.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2974/{{ revealButtonHref }}
packages/core/src/v3/runtime/sharedRuntimeManager.tshttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
View file https://github.com/triggerdotdev/trigger.dev/blob/7f138d18625e1ec4ec0f5cc43f5365948810d50d/packages/core/src/v3/runtime/sharedRuntimeManager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2974/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-f97a591263e57b14dff32ffa6f8bd68d01596c7ee9772bfbdc16d0681d0ad3d6
packages/core/src/v3/schemas/runEngine.tshttps://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-1c03756d21b3cff4b476187d6eae4c234d68e0089d9cc7acdd346676da208b01
View file https://github.com/triggerdotdev/trigger.dev/blob/7f138d18625e1ec4ec0f5cc43f5365948810d50d/packages/core/src/v3/schemas/runEngine.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/2974/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-1c03756d21b3cff4b476187d6eae4c234d68e0089d9cc7acdd346676da208b01
https://github.com/triggerdotdev/trigger.dev/pull/2974/files#diff-1c03756d21b3cff4b476187d6eae4c234d68e0089d9cc7acdd346676da208b01
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.