René's URL Explorer Experiment


Title: feat(coderd/x/chatd): run execute at most once per tool call by mafredri · Pull Request #29965 · coder/coder · GitHub

Open Graph Title: feat(coderd/x/chatd): run execute at most once per tool call by mafredri · Pull Request #29965 · coder/coder

X Title: feat(coderd/x/chatd): run execute at most once per tool call by mafredri · Pull Request #29965 · coder/coder

Description: Secure environments for developers and their agents - feat(coderd/x/chatd): run execute at most once per tool call by mafredri · Pull Request #29965 · coder/coder

Open Graph Description: A chatd task retry or ownership change runs every unresolved tool call again, and execute started a new process each time (the CODAGT-757 incident had one tool call start its command 36 times). Thi...

X Description: A chatd task retry or ownership change runs every unresolved tool call again, and execute started a new process each time (the CODAGT-757 incident had one tool call start its command 36 times). Thi...

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

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:2e84e3b5-a549-63c8-3f6c-bfca8e374648
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FAE:14F601:1F11E0C:2781966:6B014FB6
html-safe-nonceab7eee0f0d10efad0bfe73e58d24408d707f0dc7ee0bb97eb8e64f112df89c93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkFFOjE0RjYwMToxRjExRTBDOjI3ODE5NjY6NkIwMTRGQjYiLCJ2aXNpdG9yX2lkIjoiMTkyODUzNDcyMTA4MDQxNDEzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccaa1e43873508e7001174c4d724234a95cb096f6bf7afca9e1b1b88ef1481ed4
hovercard-subject-tagpull_request:4644248075
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/29965/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9508987943455ab0c07ef648e9723882789d8a06832cf350f757380096ce73ad/coder/coder/pull/29965
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9508987943455ab0c07ef648e9723882789d8a06832cf350f757380096ce73ad/coder/coder/pull/29965
og:image:altA chatd task retry or ownership change runs every unresolved tool call again, and execute started a new process each time (the CODAGT-757 incident had one tool call start its command 36 times). Thi...
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/29965#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29965
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%2F29965
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/29965
Reloadhttps://github.com/coder/coder/pull/29965
Reloadhttps://github.com/coder/coder/pull/29965
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/03-agent-process-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/03-agent-process-tool-calls
mafredri/codagt-757/04-chatd-execute-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/04-chatd-execute-tool-calls
Conversationhttps://github.com/coder/coder/pull/29965
Commits1 (1)https://github.com/coder/coder/pull/29965/commits
Checkshttps://github.com/coder/coder/pull/29965/checks
Files changedhttps://github.com/coder/coder/pull/29965/files
feat(coderd/x/chatd): run execute at most once per tool callhttps://github.com/coder/coder/pull/29965#top
mafredrihttps://github.com/mafredri
mafredri/codagt-757/03-agent-process-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/03-agent-process-tool-calls
mafredri/codagt-757/04-chatd-execute-tool-callshttps://github.com/coder/coder/tree/mafredri/codagt-757/04-chatd-execute-tool-calls
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 26, 2026https://github.com/coder/coder/pull/29965#issue-5590452484
Please reload this pagehttps://github.com/coder/coder/pull/29965
#29958https://github.com/coder/coder/pull/29958
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/29965
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 26, 2026https://github.com/coder/coder/pull/29965#issuecomment-5842075603
CODAGT-757https://linear.app/codercom/issue/CODAGT-757
Please reload this pagehttps://github.com/coder/coder/pull/29965
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
mafredrihttps://github.com/mafredri
Sep 26, 2026https://github.com/coder/coder/pull/29965#event-31874926243
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
stack #29985https://github.com/coder/coder/stack/29985
September 26, 2026 12:50https://github.com/coder/coder/pull/29965#event-31891541705
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: run tool call processes at most once #29958 https://github.com/coder/coder/pull/29958
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/29965#event-31986008284
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/1c397ccd8b4118814b8d1d1aed94ab0b5674cf59..ebecc64448259e474d5215a341034e67a229a07f
1c397cchttps://github.com/coder/coder/commit/1c397ccd8b4118814b8d1d1aed94ab0b5674cf59
ebecc64https://github.com/coder/coder/commit/ebecc64448259e474d5215a341034e67a229a07f
Compare https://github.com/coder/coder/compare/1c397ccd8b4118814b8d1d1aed94ab0b5674cf59..ebecc64448259e474d5215a341034e67a229a07f
September 28, 2026 11:19https://github.com/coder/coder/pull/29965#event-31986584141
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/29965#event-31986722638
https://github.com/mafredri
feat(coderd/x/chatd): identify execute tool calls to capable agentshttps://github.com/coder/coder/pull/29965/commits/62a44a817cbf252dd4976f06092a7b345dea1004
62a44a8https://github.com/coder/coder/pull/29965/commits/62a44a817cbf252dd4976f06092a7b345dea1004
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/ebecc64448259e474d5215a341034e67a229a07f..62a44a817cbf252dd4976f06092a7b345dea1004
ebecc64https://github.com/coder/coder/commit/ebecc64448259e474d5215a341034e67a229a07f
62a44a8https://github.com/coder/coder/commit/62a44a817cbf252dd4976f06092a7b345dea1004
Compare https://github.com/coder/coder/compare/ebecc64448259e474d5215a341034e67a229a07f..62a44a817cbf252dd4976f06092a7b345dea1004
September 28, 2026 11:24https://github.com/coder/coder/pull/29965#event-31986949180
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 28, 2026https://github.com/coder/coder/pull/29965#issuecomment-5869983277
#29946https://github.com/coder/coder/pull/29946
#29954https://github.com/coder/coder/pull/29954
Please reload this pagehttps://github.com/coder/coder/pull/29965
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 28, 2026https://github.com/coder/coder/pull/29965#event-31991903504
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 28, 2026https://github.com/coder/coder/pull/29965#event-31991922321
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/29965#event-31994025742
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%2F29965
Please reload this pagehttps://github.com/coder/coder/pull/29965
https://github.com/mafredri
mafredri https://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/29965
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.