René's URL Explorer Experiment


Title: fix(coderd): enforce chatd concurrent-agent capacity on every path into running by ThomasK33 · Pull Request #30243 · coder/coder · GitHub

Open Graph Title: fix(coderd): enforce chatd concurrent-agent capacity on every path into running by ThomasK33 · Pull Request #30243 · coder/coder

X Title: fix(coderd): enforce chatd concurrent-agent capacity on every path into running by ThomasK33 · Pull Request #30243 · coder/coder

Description: Secure environments for developers and their agents - fix(coderd): enforce chatd concurrent-agent capacity on every path into running by ThomasK33 · Pull Request #30243 · coder/coder

Open Graph Description: Problem The concurrent-agent cap (5 root chats and 10 subagent chats per deployment by default) could be exceeded. Three paths put more chats in running with a fresh lease than the pool allows: In...

X Description: Problem The concurrent-agent cap (5 root chats and 10 subagent chats per deployment by default) could be exceeded. Three paths put more chats in running with a fresh lease than the pool allows: In...

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

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:99b1c04e-2ee7-767d-41b3-69189eb715b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C36:3DD488:268C5C1:30F1D4F:6B0196C5
html-safe-noncebfa48186002637293312d6185ec29e1e98689f3a06e836a1fb818df2b7b3e025
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzM2OjNERDQ4ODoyNjhDNUMxOjMwRjFENEY6NkIwMTk2QzUiLCJ2aXNpdG9yX2lkIjoiMjM5NTY3MTUwNDY4MDQ5MDY5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac061b905db6c7156b8ab4f23630671bbd5dbba0eb3b083ccb791c82673a972a63
hovercard-subject-tagpull_request:4703017465
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/30243/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9adda2b24c89a423c8b23a94dcf1133744ea908dc4fe36f05f601dd7e47a2ba9/coder/coder/pull/30243
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9adda2b24c89a423c8b23a94dcf1133744ea908dc4fe36f05f601dd7e47a2ba9/coder/coder/pull/30243
og:image:altProblem The concurrent-agent cap (5 root chats and 10 subagent chats per deployment by default) could be exceeded. Three paths put more chats in running with a fresh lease than the pool allows: In...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThomasK33
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/30243#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F30243
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%2F30243
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/30243
Reloadhttps://github.com/coder/coder/pull/30243
Reloadhttps://github.com/coder/coder/pull/30243
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)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
ThomasK33https://github.com/ThomasK33
mainhttps://github.com/coder/coder/tree/main
fix-chatd-capacity-bypasseshttps://github.com/coder/coder/tree/fix-chatd-capacity-bypasses
Conversationhttps://github.com/coder/coder/pull/30243
Commits5 (5)https://github.com/coder/coder/pull/30243/commits
Checkshttps://github.com/coder/coder/pull/30243/checks
Files changedhttps://github.com/coder/coder/pull/30243/files
fix(coderd): enforce chatd concurrent-agent capacity on every path into runninghttps://github.com/coder/coder/pull/30243#top
ThomasK33https://github.com/ThomasK33
mainhttps://github.com/coder/coder/tree/main
fix-chatd-capacity-bypasseshttps://github.com/coder/coder/tree/fix-chatd-capacity-bypasses
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issue-5661400231
xumhttps://github.com/coder/xum
Please reload this pagehttps://github.com/coder/coder/pull/30243
ThomasK33https://github.com/ThomasK33
October 1, 2026 10:42https://github.com/coder/coder/pull/30243#commits-pushed-d488950
https://github.com/ThomasK33
fix(coderd): enforce chatd capacity on every acquisition and fence he…https://github.com/coder/coder/pull/30243/commits/d488950c165f36aedd354ed72fe61cb3a7935a37
d488950https://github.com/coder/coder/pull/30243/commits/d488950c165f36aedd354ed72fe61cb3a7935a37
https://github.com/coder/xumhttps://github.com/coder/xum
https://github.com/ThomasK33
fix(coderd): finish unowned chatd interrupts inline and bound heartbe…https://github.com/coder/coder/pull/30243/commits/6bc935e2cbcea901c85f316254f707325f5011c8
6bc935ehttps://github.com/coder/coder/pull/30243/commits/6bc935e2cbcea901c85f316254f707325f5011c8
https://github.com/coder/xumhttps://github.com/coder/xum
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
ibetitsmikehttps://github.com/ibetitsmike
mtojekhttps://github.com/mtojek
October 1, 2026 11:28https://github.com/coder/coder/pull/30243#event-32246397880
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930382832
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930384593
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#event-32246423536
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930387613
Please reload this pagehttps://github.com/coder/coder/pull/30243
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930437543
View security finding reporthttps://chatgpt.com/codex/cloud/tasks/task_b_6abe43e38234832e97ec6548c485b1d1
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026 https://github.com/coder/coder/pull/30243#pullrequestreview-5378684756
View reviewed changes https://github.com/coder/coder/pull/30243/files/6bc935e2cbcea901c85f316254f707325f5011c8
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/30243#pullrequestreview-5378684756
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/database/queries/chats.sqlhttps://github.com/coder/coder/pull/30243/files/6bc935e2cbcea901c85f316254f707325f5011c8#diff-deaf675e579bf51b32df4a6af79415d37d3eb443281fa2c4321abfda2dd2f621
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/x/chatd/ARCHITECTURE.mdhttps://github.com/coder/coder/pull/30243/files/6bc935e2cbcea901c85f316254f707325f5011c8#diff-eeffa894733731941dfd60f3be77cfce5882b268fa9b6a6a99d9a6bda245bf29
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/x/chatd/ARCHITECTURE.mdhttps://github.com/coder/coder/pull/30243/files/6bc935e2cbcea901c85f316254f707325f5011c8#diff-eeffa894733731941dfd60f3be77cfce5882b268fa9b6a6a99d9a6bda245bf29
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/x/chatd/ARCHITECTURE.mdhttps://github.com/coder/coder/pull/30243/files/6bc935e2cbcea901c85f316254f707325f5011c8#diff-eeffa894733731941dfd60f3be77cfce5882b268fa9b6a6a99d9a6bda245bf29
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026 https://github.com/coder/coder/pull/30243#ref-issue-5661501586
docs(coderd/x/chatd): write ARCHITECTURE.md prose for TODOs from the formal-verification fixes #30246 https://github.com/coder/coder/issues/30246
ThomasK33https://github.com/ThomasK33
October 1, 2026 11:41https://github.com/coder/coder/pull/30243#commits-pushed-db3d797
https://github.com/ThomasK33
fix(coderd/x/chatd): recheck a takeover's lease under the admission lockhttps://github.com/coder/coder/pull/30243/commits/db3d797ed6092c6b756f6b14534e34aab63835a5
db3d797https://github.com/coder/coder/pull/30243/commits/db3d797ed6092c6b756f6b14534e34aab63835a5
https://github.com/coder/xumhttps://github.com/coder/xum
https://github.com/ThomasK33
docs(coderd/x/chatd): describe capacity admission and heartbeat renew…https://github.com/coder/coder/pull/30243/commits/1d71c73ace56fbfa24cec7f52faf31573805bf85
1d71c73https://github.com/coder/coder/pull/30243/commits/1d71c73ace56fbfa24cec7f52faf31573805bf85
https://github.com/coder/xumhttps://github.com/coder/xum
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930602485
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930604123
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5930709351
View security finding reporthttps://chatgpt.com/codex/cloud/tasks/task_b_6abe477bb714832ea41aace59c2930e0
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026 https://github.com/coder/coder/pull/30243#pullrequestreview-5378841151
View reviewed changes https://github.com/coder/coder/pull/30243/files/1d71c73ace56fbfa24cec7f52faf31573805bf85
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/30243#pullrequestreview-5378841151
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/x/chatd/chatstate/transitions_matrix_test.gohttps://github.com/coder/coder/pull/30243/files/1d71c73ace56fbfa24cec7f52faf31573805bf85#diff-315992b89ccb44f24cbc389649e16ec47911b2e09c9726aeda5fab6c882afe4f
Please reload this pagehttps://github.com/coder/coder/pull/30243
coderd/x/chatd/worker.gohttps://github.com/coder/coder/pull/30243/files/1d71c73ace56fbfa24cec7f52faf31573805bf85#diff-1b60896c12f0191d2c9f1f75dceda534c29208442f9d1c878a48d23415fae25d
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Oct 1, 2026 https://github.com/coder/coder/pull/30243#pullrequestreview-5378986710
View reviewed changes https://github.com/coder/coder/pull/30243/files/1d71c73ace56fbfa24cec7f52faf31573805bf85
https://github.com/ThomasK33
fix(coderd/x/chatd): rank acquisition candidates by status within eac…https://github.com/coder/coder/pull/30243/commits/93061805824fc1581f09577ca07f3a5154eff6c2
9306180https://github.com/coder/coder/pull/30243/commits/93061805824fc1581f09577ca07f3a5154eff6c2
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5931080193
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5931081428
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5931185835
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5931215216
View security finding reporthttps://chatgpt.com/codex/cloud/tasks/task_b_6abe4d8bed1c832e98c27c61b5cdebce
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
Oct 1, 2026https://github.com/coder/coder/pull/30243#issuecomment-5931268276
@ibetitsmikehttps://github.com/ibetitsmike
@mtojekhttps://github.com/mtojek
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
ibetitsmikehttps://github.com/ibetitsmike
October 1, 2026 12:18https://github.com/coder/coder/pull/30243#event-32249992595
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
d11809fhttps://github.com/coder/coder/commit/d11809f0955ab896128638f523a79157a07433f9
Oct 1, 2026https://github.com/coder/coder/pull/30243#event-32261197466
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
October 1, 2026 14:42https://github.com/coder/coder/pull/30243#event-32261200333
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 1, 2026https://github.com/coder/coder/pull/30243#event-32261212244
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%2F30243
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/30243/files/1d71c73ace56fbfa24cec7f52faf31573805bf85
https://github.com/mtojek
mtojek https://github.com/mtojek
https://github.com/ibetitsmike
ibetitsmike https://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
ThomasK33 https://github.com/ThomasK33
Please reload this pagehttps://github.com/coder/coder/pull/30243
https://github.com/ThomasK33
https://github.com/ibetitsmike
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.