René's URL Explorer Experiment


Title: docs: idempotency keys deduplicate triggers, not side effects inside run() by matt-aitken · Pull Request #4952 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: docs: idempotency keys deduplicate triggers, not side effects inside run() by matt-aitken · Pull Request #4952 · triggerdotdev/trigger.dev

X Title: docs: idempotency keys deduplicate triggers, not side effects inside run() by matt-aitken · Pull Request #4952 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - docs: idempotency keys deduplicate triggers, not side effects inside run() by matt-aitken · Pull Request #4952 · triggerdotdev/trigger.dev

Open Graph Description: Summary Idempotency keys deduplicate task triggers (trigger(), triggerAndWait(), batchTrigger()). They do not make the code inside a task's run() idempotent: when a run retries, run() executes ...

X Description: Summary Idempotency keys deduplicate task triggers (trigger(), triggerAndWait(), batchTrigger()). They do not make the code inside a task's run() idempotent: when a run retries, run() execu...

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

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:1832ac34-da62-3f7a-1368-ed9fb13cebb6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1FE:3CAFE1:27BD78:3B101C:6AFADDBA
html-safe-nonceeea3434319683719472c8cfa560f2cbb4044ac50c19d335fcc3069f2aece99aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUZFOjNDQUZFMToyN0JENzg6M0IxMDFDOjZBRkFEREJBIiwidmlzaXRvcl9pZCI6IjE4MDM4NTk0OTEyODg3MDIzOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3ef8ed30e8fb1a01f5438f52e2f3b6555c3e131a0e802f916f9983f058f32c08
hovercard-subject-tagpull_request:4567559209
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/4952/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b73244515385c72118a74c15126a091ed5e8e3c0525b216059cad976f0055b8d/triggerdotdev/trigger.dev/pull/4952
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b73244515385c72118a74c15126a091ed5e8e3c0525b216059cad976f0055b8d/triggerdotdev/trigger.dev/pull/4952
og:image:altSummary Idempotency keys deduplicate task triggers (trigger(), triggerAndWait(), batchTrigger()). They do not make the code inside a task's run() idempotent: when a run retries, run() executes ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamematt-aitken
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
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
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4952#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4952
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%2F4952
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/4952
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4952
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4952
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
matt-aitkenhttps://github.com/matt-aitken
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
docs/idempotency-key-scope-triggershttps://github.com/triggerdotdev/trigger.dev/tree/docs/idempotency-key-scope-triggers
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/4952
Commits1 (1)https://github.com/triggerdotdev/trigger.dev/pull/4952/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/4952/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/4952/files
docs: idempotency keys deduplicate triggers, not side effects inside run()https://github.com/triggerdotdev/trigger.dev/pull/4952#top
matt-aitkenhttps://github.com/matt-aitken
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
docs/idempotency-key-scope-triggershttps://github.com/triggerdotdev/trigger.dev/tree/docs/idempotency-key-scope-triggers
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Sep 18, 2026https://github.com/triggerdotdev/trigger.dev/pull/4952#issue-5498178540
#4627https://github.com/triggerdotdev/trigger.dev/issues/4627
#4650https://github.com/triggerdotdev/trigger.dev/pull/4650
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/matt-aitken
docs: idempotency keys deduplicate triggers, not side effects inside …https://github.com/triggerdotdev/trigger.dev/pull/4952/commits/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
5b4b28fhttps://github.com/triggerdotdev/trigger.dev/pull/4952/commits/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Sep 18, 2026https://github.com/triggerdotdev/trigger.dev/pull/4952#issuecomment-5728302318
5b4b28fhttps://github.com/triggerdotdev/trigger.dev/commit/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
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/triggerdotdev/trigger.dev/new/docs/idempotency-key-scope-triggers?filename=.changeset/plain-rivers-clap.md&value=---%0A%22docs%22%3A%20patch%0A---%0A%0Adocs%3A%20idempotency%20keys%20deduplicate%20triggers%2C%20not%20side%20effects%20inside%20run()%0A
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Sep 18, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4952#pullrequestreview-5246511684
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4952/files/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/4952#pullrequestreview-5246511684
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4952
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
docs/idempotency.mdxhttps://github.com/triggerdotdev/trigger.dev/pull/4952/files/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b#diff-d8addd8c123e90b08632c559629d42cb39c125ad296a8c9fac47160bacadc05e
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Sep 18, 2026https://github.com/triggerdotdev/trigger.dev/pull/4952#issuecomment-5728355769
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/4952#gh-light-mode-only
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/4952#gh-dark-mode-only
34c2d69https://github.com/triggerdotdev/trigger.dev/commit/34c2d6947031a970ff70bcf0c9b26c1ba2868942
5b4b28fhttps://github.com/triggerdotdev/trigger.dev/commit/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=triggerdotdev/trigger.dev&utm_content=4952
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/4952
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
September 18, 2026 10:00https://github.com/triggerdotdev/trigger.dev/pull/4952#event-31382071157
https://github.com/ericallam
ericallamhttps://github.com/ericallam
Sep 18, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4952#pullrequestreview-5246625946
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4952/files/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
merge queuehttps://github.com/triggerdotdev/trigger.dev/queue/main
Sep 18, 2026https://github.com/triggerdotdev/trigger.dev/pull/4952#event-31382338388
adc4979https://github.com/triggerdotdev/trigger.dev/commit/adc49796c682527cdc542e7cf712b9a810a2f921
Sep 18, 2026https://github.com/triggerdotdev/trigger.dev/pull/4952#event-31382694939
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
September 18, 2026 10:13https://github.com/triggerdotdev/trigger.dev/pull/4952#event-31382696127
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Sep 18, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4952#ref-pullrequest-5498436712
docs: use the run ID as the idempotency key for external services #4953 https://github.com/triggerdotdev/trigger.dev/pull/4953
pullhttps://github.com/apps/pull
Sep 18, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4952#ref-commit-c84bf7f
https://github.com/matt-aitken
docs: use the run ID as the idempotency key for external services (https://github.com/erickirt/trigger.dev/commit/c84bf7fddd628e8f3211881f59c4f6a2e3ae70f8
tr…https://github.com/triggerdotdev/trigger.dev/pull/4953
c84bf7fhttps://github.com/erickirt/trigger.dev/commit/c84bf7fddd628e8f3211881f59c4f6a2e3ae70f8
…iggerdotdev#4953https://github.com/triggerdotdev/trigger.dev/pull/4953
triggerdotdev#4952https://github.com/triggerdotdev/trigger.dev/pull/4952
triggerdotdev#4952https://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Sep 18, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4952#ref-issue-5156687015
Idempotency keys only dedupe task.trigger() calls — the docs list "avoiding double-charging customers" as a use case, but a payment call made directly inside run() gets no protection #4627 https://github.com/triggerdotdev/trigger.dev/issues/4627
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%2F4952
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/4952/files/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
https://github.com/ericallam
ericallam https://github.com/ericallam
https://github.com/triggerdotdev/trigger.dev/pull/4952/files/5b4b28f02bb459e3ab04f7b96e35fbfd972ca73b
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4952
https://github.com/matt-aitken
https://github.com/ericallam
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.