René's URL Explorer Experiment


Title: feat: run tool call processes at most once by mafredri · Pull Request #29958 · coder/coder · GitHub

Open Graph Title: feat: run tool call processes at most once by mafredri · Pull Request #29958 · coder/coder

X Title: feat: run tool call processes at most once by mafredri · Pull Request #29958 · coder/coder

Description: Secure environments for developers and their agents - feat: run tool call processes at most once by mafredri · Pull Request #29958 · coder/coder

Open Graph Description: A chatd task retry or ownership change runs an execute tool call again, and each run starts a new process on the workspace agent. A user interrupt stops chatd waiting but leaves the process running...

X Description: A chatd task retry or ownership change runs an execute tool call again, and each run starts a new process on the workspace agent. A user interrupt stops chatd waiting but leaves the process running...

Opengraph URL: https://github.com/coder/coder/pull/29958

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/_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:35fb3f67-6b4f-5437-1a45-08657e3316e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FEC:EA06E:1F1ADBB:27A1DBE:6B014FC0
html-safe-nonce8a0653a19a03c97a7e81643db5a9dd36930161574f4d28f10e842af99e2f2511
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkVDOkVBMDZFOjFGMUFEQkI6MjdBMURCRTo2QjAxNEZDMCIsInZpc2l0b3JfaWQiOiI4NzUzMjM4MDE4MDUzMzE4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac52f7cbe13282181e001206803a1b2b8ac5cfa567bed814fd15cb37e7217dc6c0
hovercard-subject-tagpull_request:4643476902
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/coder/coder/29958/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d2db0c18963652a925ee7e24924cfab8173dbedb84a1122afe649cbf64513533/coder/coder/pull/29958
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d2db0c18963652a925ee7e24924cfab8173dbedb84a1122afe649cbf64513533/coder/coder/pull/29958
og:image:altA chatd task retry or ownership change runs an execute tool call again, and each run starts a new process on the workspace agent. A user interrupt stops chatd waiting but leaves the process running...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/29958#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29958
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%2Fcoder%2Fcoder%2Fpull%2F29958
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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/29958
Reloadhttps://github.com/coder/coder/pull/29958
Reloadhttps://github.com/coder/coder/pull/29958
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
mafredrihttps://github.com/mafredri
mafredri/codagt-757/02-agent-tool-call-recordshttps://github.com/coder/coder/tree/mafredri/codagt-757/02-agent-tool-call-records
mafredri/codagt-757/03-agent-process-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/03-agent-process-tool-calls
Conversationhttps://github.com/coder/coder/pull/29958
Commits1 (1)https://github.com/coder/coder/pull/29958/commits
Checkshttps://github.com/coder/coder/pull/29958/checks
Files changedhttps://github.com/coder/coder/pull/29958/files
feat: run tool call processes at most oncehttps://github.com/coder/coder/pull/29958#top
mafredrihttps://github.com/mafredri
mafredri/codagt-757/02-agent-tool-call-recordshttps://github.com/coder/coder/tree/mafredri/codagt-757/02-agent-tool-call-records
mafredri/codagt-757/03-agent-process-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/03-agent-process-tool-calls
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 25, 2026https://github.com/coder/coder/pull/29958#issue-5589489128
Please reload this pagehttps://github.com/coder/coder/pull/29958
#29954https://github.com/coder/coder/pull/29954
https://linear.app/codercom/issue/CODAGT-757https://linear.app/codercom/issue/CODAGT-757
#27369https://github.com/coder/coder/pull/27369
feat(coderd): track chat execute tool calls in a durable execution ledger #27100https://github.com/coder/coder/pull/27100
feat(coderd/database): add a chat tool call execution ledger with bounded retention #27317https://github.com/coder/coder/pull/27317
fix(coderd/x/chatd): keep task attempts alive while execute tools make progress #27325https://github.com/coder/coder/pull/27325
feat: add a run-once reservation mechanism to the workspace agent process API #27369https://github.com/coder/coder/pull/27369
feat: stop foreground execute processes when a user interrupts a chat #27372https://github.com/coder/coder/pull/27372
#27371https://github.com/coder/coder/pull/27371
#27372https://github.com/coder/coder/pull/27372
#27372https://github.com/coder/coder/pull/27372
#27370https://github.com/coder/coder/pull/27370
feat(coderd/x/chatd): identify tool calls in the dispatcher and dedupe execute replays #27370https://github.com/coder/coder/pull/27370
#29946https://github.com/coder/coder/pull/29946
#29954https://github.com/coder/coder/pull/29954
#29958https://github.com/coder/coder/pull/29958
#29965https://github.com/coder/coder/pull/29965
#29976https://github.com/coder/coder/pull/29976
#29978https://github.com/coder/coder/pull/29978
Please reload this pagehttps://github.com/coder/coder/pull/29958
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 25, 2026https://github.com/coder/coder/pull/29958#issuecomment-5840860437
CODAGT-757https://linear.app/codercom/issue/CODAGT-757
Please reload this pagehttps://github.com/coder/coder/pull/29958
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
mafredrihttps://github.com/mafredri
Sep 25, 2026https://github.com/coder/coder/pull/29958#event-31870362003
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 26, 2026 https://github.com/coder/coder/pull/29958#ref-pullrequest-5590452484
feat(coderd/x/chatd): run execute at most once per tool call #29965 https://github.com/coder/coder/pull/29965
https://github.com/mafredri
mafredrihttps://github.com/mafredri
stack #29985https://github.com/coder/coder/stack/29985
September 26, 2026 12:50https://github.com/coder/coder/pull/29958#event-31891541697
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 26, 2026https://github.com/coder/coder/pull/29958#event-31894085242
feat: run chat tool calls once per tool call ID on the agent #29946 https://github.com/coder/coder/pull/29946
feat: send tool call IDs and cancel unresolved calls on interrupt #29954 https://github.com/coder/coder/pull/29954
feat(coderd/x/chatd): resolve execute tool calls on user interrupt #29976 https://github.com/coder/coder/pull/29976
feat: run file edit and write tool calls at most once #29978 https://github.com/coder/coder/pull/29978
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/78385cf57e0ce6d4e4750d4f8e8de4ce263d2539..0e8c849343a7a22e372566cd7761e6adebf15445
78385cfhttps://github.com/coder/coder/commit/78385cf57e0ce6d4e4750d4f8e8de4ce263d2539
0e8c849https://github.com/coder/coder/commit/0e8c849343a7a22e372566cd7761e6adebf15445
Compare https://github.com/coder/coder/compare/78385cf57e0ce6d4e4750d4f8e8de4ce263d2539..0e8c849343a7a22e372566cd7761e6adebf15445
September 28, 2026 11:08https://github.com/coder/coder/pull/29958#event-31985780763
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/f866e85d793557893fc1a4c1a19e5972544a950f..fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9
f866e85https://github.com/coder/coder/commit/f866e85d793557893fc1a4c1a19e5972544a950f
fe0677chttps://github.com/coder/coder/commit/fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9
Compare https://github.com/coder/coder/compare/f866e85d793557893fc1a4c1a19e5972544a950f..fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9
September 28, 2026 11:11https://github.com/coder/coder/pull/29958#event-31986008330
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/0e8c849343a7a22e372566cd7761e6adebf15445..d420b04691ccc0b77cdfdd184518ad6e8b3f403d
0e8c849https://github.com/coder/coder/commit/0e8c849343a7a22e372566cd7761e6adebf15445
d420b04https://github.com/coder/coder/commit/d420b04691ccc0b77cdfdd184518ad6e8b3f403d
Compare https://github.com/coder/coder/compare/0e8c849343a7a22e372566cd7761e6adebf15445..d420b04691ccc0b77cdfdd184518ad6e8b3f403d
September 28, 2026 11:17https://github.com/coder/coder/pull/29958#event-31986451911
https://github.com/mafredri
feat(agent): run process starts once per tool callhttps://github.com/coder/coder/pull/29958/commits/6854f3bfd5574b8889de4a7ffa8d928d6e65870a
6854f3bhttps://github.com/coder/coder/pull/29958/commits/6854f3bfd5574b8889de4a7ffa8d928d6e65870a
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9..6854f3bfd5574b8889de4a7ffa8d928d6e65870a
fe0677chttps://github.com/coder/coder/commit/fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9
6854f3bhttps://github.com/coder/coder/commit/6854f3bfd5574b8889de4a7ffa8d928d6e65870a
Compare https://github.com/coder/coder/compare/fe0677cc6ec0a4e3b31f68a67b38d461ef40a9f9..6854f3bfd5574b8889de4a7ffa8d928d6e65870a
September 28, 2026 11:21https://github.com/coder/coder/pull/29958#event-31986722631
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 28, 2026https://github.com/coder/coder/pull/29958#issuecomment-5869984348
#29946https://github.com/coder/coder/pull/29946
#29954https://github.com/coder/coder/pull/29954
Please reload this pagehttps://github.com/coder/coder/pull/29958
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 28, 2026https://github.com/coder/coder/pull/29958#event-31991908156
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 28, 2026https://github.com/coder/coder/pull/29958#event-31991924187
https://github.com/mafredri
mafredrihttps://github.com/mafredri
stack #29985https://github.com/coder/coder/stack/29985
September 28, 2026 13:06https://github.com/coder/coder/pull/29958#event-31994025706
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29958
Please reload this pagehttps://github.com/coder/coder/pull/29958
https://github.com/mafredri
mafredri https://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/29958
https://github.com/mafredri
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.