René's URL Explorer Experiment


Title: feat(webapp): mollifier API mutations on buffered runs by d-cs · Pull Request #3756 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(webapp): mollifier API mutations on buffered runs by d-cs · Pull Request #3756 · triggerdotdev/trigger.dev

X Title: feat(webapp): mollifier API mutations on buffered runs by d-cs · Pull Request #3756 · triggerdotdev/trigger.dev

Description: Summary Cancel, replay, reschedule, metadata, tags, and idempotency-key-reset now succeed against a run that's still in the mollifier buffer. Mutations are applied to the buffered snapshot via Lua CAS; the drainer carries the mutation forward when it replays. Primitives added: mutateWithFallback — PG-first / buffer-fallback resolver with bounded-wait safety net for entries that transition mid-mutation. applyMetadataMutation — buffered metadata PUT mirroring the PG-side retry loop with CAS atomicity. resolveRunForMutation — discriminated-union resolver used by route findResource so the route builder's pre-action 404 check sees buffered runs. Routes wired (whole files, no GET/POST splits): api.v2.runs.\$runParam.cancel.ts api.v1.runs.\$runParam.replay.ts api.v1.runs.\$runParam.reschedule.ts api.v1.runs.\$runId.metadata.ts api.v1.runs.\$runId.tags.ts resetIdempotencyKey.server.ts Stacked on the reads PR. Test plan `pnpm run typecheck --filter webapp` passes `pnpm run test --filter webapp test/mollifierMutateWithFallback.test.ts` passes `pnpm run test --filter webapp test/mollifierApplyMetadataMutation.test.ts` passes `pnpm run test --filter webapp test/mollifierResolveRunForMutation.test.ts` passes

Open Graph Description: Summary Cancel, replay, reschedule, metadata, tags, and idempotency-key-reset now succeed against a run that's still in the mollifier buffer. Mutations are applied to the buffered snapshot via ...

X Description: Summary Cancel, replay, reschedule, metadata, tags, and idempotency-key-reset now succeed against a run that's still in the mollifier buffer. Mutations are applied to the buffered snapshot ...

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

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:54a2b4c0-ab7c-f320-c63b-57b58043ff84
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE90C:1A28DE:30F679E:45BBF22:6AFAF314
html-safe-nonce70e3d61dbb8959415becec3489d48f365b6f04b1917114ba79c6d7ed64eb3334
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTBDOjFBMjhERTozMEY2NzlFOjQ1QkJGMjI6NkFGQUYzMTQiLCJ2aXNpdG9yX2lkIjoiNjAzOTAwNjQ2NTYxMDE1MDY3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb53f8f80ec7f069d1221e7564c2bd1c6f8f700921eb1c530775c965c574af474
hovercard-subject-tagpull_request:3747664015
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/3756/files
twitter:imagehttps://avatars.githubusercontent.com/u/45313566?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/45313566?s=400&v=4
og:image:altSummary Cancel, replay, reschedule, metadata, tags, and idempotency-key-reset now succeed against a run that's still in the mollifier buffer. Mutations are applied to the buffered snapshot via ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
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
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3756/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3756%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%2F3756%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/3756/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3756/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
d-cshttps://github.com/d-cs
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
mollifier-phase-3-mutationshttps://github.com/triggerdotdev/trigger.dev/tree/mollifier-phase-3-mutations
Conversation 108 https://github.com/triggerdotdev/trigger.dev/pull/3756
Commits 23 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits
Checks 55 https://github.com/triggerdotdev/trigger.dev/pull/3756/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3756/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
feat(webapp): mollifier API mutations on buffered runs https://github.com/triggerdotdev/trigger.dev/pull/3756/files#top
Show all changes 23 commits https://github.com/triggerdotdev/trigger.dev/pull/3756/files
f5bc019 feat(webapp): mollifier API mutations on buffered runs d-cs May 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/f5bc01907e469f6358b3007547ec84a36a4d76cc
0fab8b9 fix(webapp): mutations-layer code-review follow-ups d-cs May 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/0fab8b9dddf7a6291f54caac0ae5ccde572819ba
7616793 fix(webapp): mutations-layer Devin follow-ups d-cs May 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/7616793ca159748058e2c47566833162d9ad61a8
89418f4 docs(server-changes): document mollifier API mutations on buffered runs d-cs May 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/89418f4aebb660c77c1860cbafd5cf9ec23782b7
8952f89 fix(webapp): mollifier mutate-fallback watches Redis, not the writer d-cs May 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/8952f898635cb35fd8253e671ef5802cd77f960b
845f6f8 docs(mollifier): strip internal planning labels from comments d-cs May 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/845f6f8fd0cdd2d5d1adfcb771de3ee7ef63b9a5
7cdfc18 fix(webapp,redis-worker): enforce MAX_TAGS on buffered runs + surface… d-cs May 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/7cdfc185f80937c53a0ab96d67118a0094bdcdef
b9abbd1 chore(webapp): strip remaining phase labels from mollifier mutation r… d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/b9abbd19468e8168211ef3413c71813768305dbf
1969063 chore(webapp): strip remaining planning labels from mollifier mutatio… d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/1969063e31f90c5890962ce09b15e870b82df11f
382692a fix(webapp): close cross-env mollifier mutation gap + Devin review fo… d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/382692aaaed48289559d50cb54abcc64a35c4406
567403a fix(webapp): make buffer fallback reachable on PG-miss in routeOperat… d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/567403ab2a2fc8318a15cccafbf622433075abc0
e355bc4 fix(webapp): match PG semantics for buffered metadata mutations with … d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/e355bc4daf5be0c7584458c2c013b58eaea06837
ad4faa1 fix(webapp): enforce metadata size cap on buffered runs (mirrors PG 413) d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/ad4faa1b66858c74a8cd49c27ef9cf62f0751352
cdf5a31 fix(webapp): use derived friendlyId for parent metadata fan-out on bu… d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/cdf5a316f512c1d99515f72a9dd6afd473b83714
0b2a4ce fix(webapp): align buffer-path tags success count with PG (post-dedup) d-cs May 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/0b2a4ce6dec7a830dfb9d07a89ebc6d838fe62a3
bb0bef9 fix(webapp): close metadata-PUT parent/root race with drainer termina… d-cs May 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/bb0bef97b48ed4b058471ecbdbf860bd455e4939
4d655ea fix(webapp): skip buffer-side delayUntil guard on reschedule when ent… d-cs May 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/4d655ea679b5c53aae00f61e1452fd78477c572a
2cca378 fix(webapp): preserve 422 wire-contract for past-date reschedules d-cs May 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/2cca378228b914458db907d8df060c0b060e8d34
b837b97 fix(webapp): reschedule past-date status is 400 not 422 to match pre-… d-cs May 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/b837b97c95f11a78dae205d49c71786f11a9325a
fc1dedc fix(webapp): match PG operations predicate in buffer metadata mutation d-cs Jun 1, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/fc1dedc60540d2d3d49539e8fd380b8aa8a84a73
5bd6e32 docs(webapp): document metadata route wire-shape parity d-cs Jun 1, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/5bd6e3241e38672de42bc2353f9a7c989e9b9b8c
9ee389d fix(webapp): close PG↔buffer handoff race in ResetIdempotencyKeyService d-cs Jun 1, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/9ee389db94b2f7747f0fe2526d0f9e1b3abdb75d
c1c4d6a fix(webapp): mollifier mutation routes — log silent buffer outcomes +… d-cs Jun 1, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3756/commits/c1c4d6a9cc6cef116029384fbad7b56a3a4c55d7
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3756/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
mollifier-tag-cap.md https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-4b811a418e57b12f1ed439f95e485ac5ce7d49db8b8c57094d1438d59495c6cc
mollifier-mutations.md https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-efd08a04634927d44eebac51f423a3bfe55763795984a8ce03a3bc7041c13c70
api.v1.runs.$runId.metadata.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-79eb488e9ecf531d58e64f3ad634c82692fc3719568acb0f48bfa84cfa62bd81
api.v1.runs.$runId.tags.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-54972bcf8d848873594a807fd4a761c5adad55f23c5c694fe99b2dab7069e58a
api.v1.runs.$runParam.replay.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-4527b3cc6bf6f08acdcada1ac9f6c1342657eaad557e901c5a3436a9ba4f6c65
api.v1.runs.$runParam.reschedule.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-fabbd1ba219eb344c93ff667f756bef0c01d030427c6446e2e50344a94728cf4
api.v2.runs.$runParam.cancel.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-8dc40ecb4c7981b9a4c84caaddd3509beb925367dcec21dee34110f7101e68e9
applyMetadataMutation.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-31f18d60c1a957352f4e244d2f2f44048992884517cf811679d29f174828c360
mutateWithFallback.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-071b99823704313913c9ed6f49ef44d0a4640b44cfdd408bcf2adc60528732fc
resolveRunForMutation.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-91eb76b01be02841153d02549f4f7f76f822469bc1588330d1a7a1644addfe7b
resetIdempotencyKey.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-738765e0d78a47aa69dcaba98759ca8118a591e2ef7ac87d35d5e25a20b6544c
metadataRouteOperationsLogging.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-60dc7692dbbb8c668e33c6290bdab54d5bc7a5db46ccc1aa1282b6fdd10053e4
mollifierApplyMetadataMutation.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-93a89d42d0526306c419c77efffb9abb41b9944954476a508a606094b3356aa8
mollifierMutateWithFallback.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-fae9f078bd9ac72b7edfc8a3f2f4ab8eb1c14b51ed8bb79da8c064f708dda377
mollifierResetIdempotencyKey.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-8dce46d9f14cddd2eab5bbcd63eaf5127093377535e669e9fc17363da9b30ecc
mollifierResolveRunForMutation.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-e4370df4fceba5df198ee5db97596a1baada4634994a274d1bf1ac15b3e5f2bc
buffer.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-85bea982d451847256ff3d34da3fb51e1a08c12dfac301df7795dbc9326f908e
buffer.ts https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-d9408b4def19c27a71705672aba4564a850c62c937c350175f84beb7a344a920
.changeset/mollifier-tag-cap.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-4b811a418e57b12f1ed439f95e485ac5ce7d49db8b8c57094d1438d59495c6cc
View file https://github.com/triggerdotdev/trigger.dev/blob/c1c4d6a9cc6cef116029384fbad7b56a3a4c55d7/.changeset/mollifier-tag-cap.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3756/{{ revealButtonHref }}
.server-changes/mollifier-mutations.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-efd08a04634927d44eebac51f423a3bfe55763795984a8ce03a3bc7041c13c70
View file https://github.com/triggerdotdev/trigger.dev/blob/c1c4d6a9cc6cef116029384fbad7b56a3a4c55d7/.server-changes/mollifier-mutations.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3756/{{ revealButtonHref }}
apps/webapp/app/routes/api.v1.runs.$runId.metadata.tshttps://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-79eb488e9ecf531d58e64f3ad634c82692fc3719568acb0f48bfa84cfa62bd81
View file https://github.com/triggerdotdev/trigger.dev/blob/c1c4d6a9cc6cef116029384fbad7b56a3a4c55d7/apps/webapp/app/routes/api.v1.runs.%24runId.metadata.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3756/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-79eb488e9ecf531d58e64f3ad634c82692fc3719568acb0f48bfa84cfa62bd81
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
https://github.com/triggerdotdev/trigger.dev/pull/3756/files#diff-79eb488e9ecf531d58e64f3ad634c82692fc3719568acb0f48bfa84cfa62bd81
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3756/files
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.