René's URL Explorer Experiment


Title: fix(batchTrigger): clear idempotency key when previous run failed (closes #4819) by 61465 · Pull Request #5014 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(batchTrigger): clear idempotency key when previous run failed (closes #4819) by 61465 · Pull Request #5014 · triggerdotdev/trigger.dev

X Title: fix(batchTrigger): clear idempotency key when previous run failed (closes #4819) by 61465 · Pull Request #5014 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - fix(batchTrigger): clear idempotency key when previous run failed (closes #4819) by 61465 · Pull Request #5014 · triggerdotdev/trigger.dev

Open Graph Description: What Fixes #4819 — batchTrigger silently returned stale failed runs as isCached: true, so a caller re-batching with the same idempotency key never got a retry. The single-trigger path has done the ...

X Description: What Fixes #4819 — batchTrigger silently returned stale failed runs as isCached: true, so a caller re-batching with the same idempotency key never got a retry. The single-trigger path has done the ...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8836f45d-cb17-cef0-d5b6-d8655413ea02
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90FE:3B39F2:17FA78:23B1AC:6AFAD805
html-safe-nonce63c1ea726cef6d4a1cd3c9179271f3a1b6b47945636c76980047a5fac8bd7d11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEZFOjNCMzlGMjoxN0ZBNzg6MjNCMUFDOjZBRkFEODA1IiwidmlzaXRvcl9pZCI6IjQ2MDc1ODE3NjIzNTkwNTYzODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd81013a9c31eb69d9081a8da987946f339079e5d29f2d704656a25159dae8257
hovercard-subject-tagpull_request:4813181921
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/triggerdotdev/trigger.dev/5014/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b50137f3f71bd48e780cc5eda6ddc7e6892c61a00dfd51bcb3a7347330b2e399/triggerdotdev/trigger.dev/pull/5014
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b50137f3f71bd48e780cc5eda6ddc7e6892c61a00dfd51bcb3a7347330b2e399/triggerdotdev/trigger.dev/pull/5014
og:image:altWhat Fixes #4819 — batchTrigger silently returned stale failed runs as isCached: true, so a caller re-batching with the same idempotency key never got a retry. The single-trigger path has done the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username61465
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
turbo-cache-controlno-cache
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
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/5014#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F5014
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%2F5014
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5014
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5014
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/5014
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 requests65 (65)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
61465https://github.com/61465
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
61465:fix/batch-trigger-idempotency-dead-runs-4819https://github.com/61465/trigger.dev/tree/fix/batch-trigger-idempotency-dead-runs-4819
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/5014
Commits1 (1)https://github.com/triggerdotdev/trigger.dev/pull/5014/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/5014/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/5014/files
fix(batchTrigger): clear idempotency key when previous run failed (closes #4819)https://github.com/triggerdotdev/trigger.dev/pull/5014#top
61465https://github.com/61465
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
61465:fix/batch-trigger-idempotency-dead-runs-4819https://github.com/61465/trigger.dev/tree/fix/batch-trigger-idempotency-dead-runs-4819
https://github.com/61465
61465https://github.com/61465
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#issue-5793698239
#4819https://github.com/triggerdotdev/trigger.dev/issues/4819
@Jaimin2687https://github.com/Jaimin2687
@Jaimin2687https://github.com/Jaimin2687
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.com/61465
fix(batchTrigger): clear idempotency key when previous run failed (cl…https://github.com/triggerdotdev/trigger.dev/pull/5014/commits/a39efebbe0cd812368df44985539c1cf9a73c9c6
a39efebhttps://github.com/triggerdotdev/trigger.dev/pull/5014/commits/a39efebbe0cd812368df44985539c1cf9a73c9c6
triggerdotdev#4819https://github.com/triggerdotdev/trigger.dev/issues/4819
@Jaimin2687https://github.com/Jaimin2687
@Jaimin2687https://github.com/Jaimin2687
triggerdotdev#4819https://github.com/triggerdotdev/trigger.dev/issues/4819
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#issuecomment-6100338020
a39efebhttps://github.com/triggerdotdev/trigger.dev/commit/a39efebbe0cd812368df44985539c1cf9a73c9c6
Click here to learn what changesets are, and how to add onehttps://changesets.dev/faq
Click here if you're a maintainer who wants to add a changeset to this PRhttps://github.com/61465/trigger.dev/new/fix/batch-trigger-idempotency-dead-runs-4819?filename=.changeset/ripe-hoops-design.md&value=---%0A%22%40internal%2Frun-store%22%3A%20patch%0A%22webapp%22%3A%20patch%0A---%0A%0Afix(batchTrigger)%3A%20clear%20idempotency%20key%20when%20previous%20run%20failed%20(closes%20%234819)%0A
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#issuecomment-6100339177
@61465https://github.com/61465
https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.mdhttps://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#event-32951264813
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#issuecomment-6100340165
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/5014?cs_source=review_comment
21f1dcchttps://github.com/triggerdotdev/trigger.dev/commit/21f1dccc761b69ef959adfd34bf98b072321fe31
a39efebhttps://github.com/triggerdotdev/trigger.dev/commit/a39efebbe0cd812368df44985539c1cf9a73c9c6
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=triggerdotdev/trigger.dev&utm_content=5014
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Oct 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/5014#pullrequestreview-5480154121
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/5014#pullrequestreview-5480154121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/5014
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
apps/webapp/app/v3/services/batchTriggerV3.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#discussion_r4238591340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
this codehttps://github.com/triggerdotdev/trigger.dev/blob/a39efebbe0cd812368df44985539c1cf9a73c9c6/apps/webapp/app/v3/services/batchTriggerV3.server.ts#L472-L479
#processBatchTaskRunItemhttps://github.com/triggerdotdev/trigger.dev/blob/a39efebbe0cd812368df44985539c1cf9a73c9c6/apps/webapp/app/v3/services/batchTriggerV3.server.ts#L914-L985
handleTriggerRequesthttps://github.com/triggerdotdev/trigger.dev/blob/a39efebbe0cd812368df44985539c1cf9a73c9c6/apps/webapp/app/runEngine/concerns/idempotencyKeys.server.ts#L200-L243
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/5014
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
apps/webapp/app/v3/services/batchTriggerV3.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#discussion_r4238591398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/5014
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
internal-packages/run-store/src/PostgresRunStore.findRunsByIdempotencyKeys.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#discussion_r4238591464
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/5014
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
apps/webapp/app/v3/services/batchTriggerV3.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#discussion_r4238591504
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/5014
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
61465https://github.com/61465
Oct 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/5014#ref-commit-ba18924
https://github.com/61465
fix(batchTrigger): dedupe replacement run ids per (task, idempotencyK…https://github.com/61465/trigger.dev/commit/ba18924ac19293b8f8a8ccfc8b9950e31b0292f2
ba18924https://github.com/61465/trigger.dev/commit/ba18924ac19293b8f8a8ccfc8b9950e31b0292f2
triggerdotdev#5014https://github.com/triggerdotdev/trigger.dev/pull/5014
triggerdotdev#5014https://github.com/triggerdotdev/trigger.dev/pull/5014
61465https://github.com/61465
Oct 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/5014#ref-commit-da93e87
https://github.com/61465
fix(batchTrigger): clear idempotency key when previous run failed + d…https://github.com/61465/trigger.dev/commit/da93e87ff3f2a582fb29e756b99494d5957f38cc
da93e87https://github.com/61465/trigger.dev/commit/da93e87ff3f2a582fb29e756b99494d5957f38cc
triggerdotdev#4819https://github.com/triggerdotdev/trigger.dev/issues/4819
@Jaimin2687https://github.com/Jaimin2687
triggerdotdev#5014https://github.com/triggerdotdev/trigger.dev/pull/5014
@Jaimin2687https://github.com/Jaimin2687
https://github.com/61465
61465https://github.com/61465
Oct 10, 2026https://github.com/triggerdotdev/trigger.dev/pull/5014#issuecomment-6100436540
@devin-ai-integrationhttps://github.com/devin-ai-integration
#5010https://github.com/triggerdotdev/trigger.dev/discussions/5010
#5010https://github.com/triggerdotdev/trigger.dev/discussions/5010
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F5014
https://github.com/apps/devin-ai-integration
devin-ai-integration[bot] https://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/5014/files/a39efebbe0cd812368df44985539c1cf9a73c9c6
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
bug: batchTrigger returns stale failed runs instead of re-triggering when idempotency key points to a dead run https://github.com/triggerdotdev/trigger.dev/issues/4819
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/5014
https://github.com/61465
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.