| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8834557a-5b51-ab51-0d2f-149583115161 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E996:7CC9A:47A94B9:607E911:6AFAE10D |
| html-safe-nonce | 63ab97149ccbc35f5cce41951f43ff958ef303779440e461d276d6804cdb132e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTk2OjdDQzlBOjQ3QTk0Qjk6NjA3RTkxMTo2QUZBRTEwRCIsInZpc2l0b3JfaWQiOiIzOTc5ODU0NTkyNDg4NDMxODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 81010aef9d46e0faae0bd148a73dee76f9323cfeafaa23d1ea0696eb571f8fa0 |
| hovercard-subject-tag | pull_request:4485117600 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| twitter:image | https://avatars.githubusercontent.com/u/101206178?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/101206178?s=400&v=4 |
| og:image:alt | Fixes #4819. Reported by @Jaimin2687.
The bug
The single-trigger path clears an idempotency key when the run it points at reached a clearable terminal state — IdempotencyKeyConcern.handleExistingRu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4913%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4913%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| triggerdotdev | https://github.com/triggerdotdev |
| trigger.dev | https://github.com/triggerdotdev/trigger.dev |
| Code | https://github.com/triggerdotdev/trigger.dev |
| Issues203 (203) | https://github.com/triggerdotdev/trigger.dev/issues |
| Pull requests66 (66) | https://github.com/triggerdotdev/trigger.dev/pulls |
| Discussions | https://github.com/triggerdotdev/trigger.dev/discussions |
| Actions | https://github.com/triggerdotdev/trigger.dev/actions |
| Projects | https://github.com/triggerdotdev/trigger.dev/projects |
| Security and quality39 (39) | https://github.com/triggerdotdev/trigger.dev/security |
| Insights | https://github.com/triggerdotdev/trigger.dev/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| itzzdev09 | https://github.com/itzzdev09 |
| triggerdotdev:main | https://github.com/triggerdotdev/trigger.dev/tree/main |
| itzzdev09:fix/4819-batch-idempotency-dead-runs | https://github.com/itzzdev09/trigger.dev/tree/fix/4819-batch-idempotency-dead-runs |
|
Conversation
5
| https://github.com/triggerdotdev/trigger.dev/pull/4913 |
|
Commits
1
| https://github.com/triggerdotdev/trigger.dev/pull/4913/commits |
|
Checks
2
| https://github.com/triggerdotdev/trigger.dev/pull/4913/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
|
fix(batch): clear idempotency keys pointing at dead runs in batchTrigger
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#top |
|
Show all changes
1 commit
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
|
81ebf24
fix(batch): clear idempotency keys pointing at dead runs in batchTrigger
itzzdev09 Sep 9, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4913/commits/81ebf24e3aec43e516098195a014f8f4b25381cb |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
|
batch-idempotency-dead-runs.md
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-1c50d2129c053e243107d47dce1c44e1b866425e022c61c74482283efac3dff4 |
|
batchTriggerV3.server.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
|
PostgresRunStore.findRunsByIdempotencyKeys.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
PostgresRunStore.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-9c06c7000b359bcaa2f0b637af253ebfe2e2d9cf43568e42592b0e26f6910258 |
|
runOpsStore.shardMap.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-0b4e7b8fe76225589e4f309de389121a75eadbcf30d4bfd8915ee3976b81876d |
|
types.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-3b72267802fbd082b93adb08e3e014e75f40eb755c8a4f14bd7a76148f49ffe8 |
| .server-changes/batch-idempotency-dead-runs.md | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-1c50d2129c053e243107d47dce1c44e1b866425e022c61c74482283efac3dff4 |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/.server-changes/batch-idempotency-dead-runs.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
| apps/webapp/app/v3/services/batchTriggerV3.server.ts | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/apps/webapp/app/v3/services/batchTriggerV3.server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
| devin-ai-integration | https://github.com/apps/devin-ai-integration |
| Sep 9, 2026 | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#r3968629698 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| newRunCount | https://github.com/triggerdotdev/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/apps/webapp/app/v3/services/batchTriggerV3.server.ts#L601 |
|
| https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4913 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4913/files |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-55867b934007572d29b5479a4721efceb9743d246bfaf3a4401371bab53beebd |
| internal-packages/run-store/src/PostgresRunStore.findRunsByIdempotencyKeys.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/internal-packages/run-store/src/PostgresRunStore.findRunsByIdempotencyKeys.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-99988478d8eff178f7816d114388452cf309398e58ad837efe0379d266179b8f |
| internal-packages/run-store/src/PostgresRunStore.ts | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-9c06c7000b359bcaa2f0b637af253ebfe2e2d9cf43568e42592b0e26f6910258 |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/internal-packages/run-store/src/PostgresRunStore.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-9c06c7000b359bcaa2f0b637af253ebfe2e2d9cf43568e42592b0e26f6910258 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-9c06c7000b359bcaa2f0b637af253ebfe2e2d9cf43568e42592b0e26f6910258 |
| internal-packages/run-store/src/runOpsStore.shardMap.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-0b4e7b8fe76225589e4f309de389121a75eadbcf30d4bfd8915ee3976b81876d |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/internal-packages/run-store/src/runOpsStore.shardMap.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-0b4e7b8fe76225589e4f309de389121a75eadbcf30d4bfd8915ee3976b81876d |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-0b4e7b8fe76225589e4f309de389121a75eadbcf30d4bfd8915ee3976b81876d |
| internal-packages/run-store/src/types.ts | https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-3b72267802fbd082b93adb08e3e014e75f40eb755c8a4f14bd7a76148f49ffe8 |
|
View file
| https://github.com/itzzdev09/trigger.dev/blob/81ebf24e3aec43e516098195a014f8f4b25381cb/internal-packages/run-store/src/types.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4913/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-3b72267802fbd082b93adb08e3e014e75f40eb755c8a4f14bd7a76148f49ffe8 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4913/files#diff-3b72267802fbd082b93adb08e3e014e75f40eb755c8a4f14bd7a76148f49ffe8 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |