René's URL Explorer Experiment


Title: fix: remove chatd usage limit enforcement by johnstcn · Pull Request #27535 · coder/coder · GitHub

Open Graph Title: fix: remove chatd usage limit enforcement by johnstcn · Pull Request #27535 · coder/coder

X Title: fix: remove chatd usage limit enforcement by johnstcn · Pull Request #27535 · coder/coder

Description: Secure environments for developers and their agents - fix: remove chatd usage limit enforcement by johnstcn · Pull Request #27535 · coder/coder

Open Graph Description: This PR surgically removes enforcement of Agents spend limits: Adjusts the relevant function that checks usage to always return nil Deletes tests that expect a usage limit error.

X Description: This PR surgically removes enforcement of Agents spend limits: Adjusts the relevant function that checks usage to always return nil Deletes tests that expect a usage limit error.

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

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:8a139308-b279-7bb7-7555-c33a5ee3df71
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD790:215B92:1816DF6:200DEF0:6B0148A7
html-safe-nonce0748a554f073fc5bf8011fdf99845dce806ca2c0f3a28a1464e09c980f277ca7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzkwOjIxNUI5MjoxODE2REY2OjIwMERFRjA6NkIwMTQ4QTciLCJ2aXNpdG9yX2lkIjoiNzcyNTUwNTU2ODk5MTY2Mzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd162cbce81f78b0d888578261d6e888ad5588567867da96ed4c48b3e8cd49425
hovercard-subject-tagpull_request:4144143464
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/27535/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2a1a43e0f189bed6e8187c676c36cc53ea7ceaa19e26e1563f0eb585570759e2/coder/coder/pull/27535
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a1a43e0f189bed6e8187c676c36cc53ea7ceaa19e26e1563f0eb585570759e2/coder/coder/pull/27535
og:image:altThis PR surgically removes enforcement of Agents spend limits: Adjusts the relevant function that checks usage to always return nil Deletes tests that expect a usage limit error.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
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/27535#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F27535
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%2F27535
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/27535
Reloadhttps://github.com/coder/coder/pull/27535
Reloadhttps://github.com/coder/coder/pull/27535
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
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/rm-chatd-usage-limit-enforcementhttps://github.com/coder/coder/tree/cj/rm-chatd-usage-limit-enforcement
Conversationhttps://github.com/coder/coder/pull/27535
Commits5 (5)https://github.com/coder/coder/pull/27535/commits
Checkshttps://github.com/coder/coder/pull/27535/checks
Files changedhttps://github.com/coder/coder/pull/27535/files
fix: remove chatd usage limit enforcementhttps://github.com/coder/coder/pull/27535#top
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/rm-chatd-usage-limit-enforcementhttps://github.com/coder/coder/tree/cj/rm-chatd-usage-limit-enforcement
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 27, 2026https://github.com/coder/coder/pull/27535#issue-4989994547
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
fix: remove chatd usage limit enforcementhttps://github.com/coder/coder/pull/27535/commits/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f
83bb936https://github.com/coder/coder/pull/27535/commits/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 27, 2026https://github.com/coder/coder/pull/27535#event-28549475317
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 27, 2026 https://github.com/coder/coder/pull/27535#pullrequestreview-4789166092
View reviewed changes https://github.com/coder/coder/pull/27535/files/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f
coderd/x/chatd/chatd_test.gohttps://github.com/coder/coder/pull/27535/files/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f#diff-3338fcffc67b242e571b3887687ece35664e63a1ca4ff4c77020b2e8c91a5faa
johnstcnhttps://github.com/johnstcn
Jul 27, 2026https://github.com/coder/coder/pull/27535#discussion_r3658969520
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
ssncferreirahttps://github.com/ssncferreira
Jul 28, 2026https://github.com/coder/coder/pull/27535#discussion_r3666326701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
johnstcnhttps://github.com/johnstcn
Jul 28, 2026https://github.com/coder/coder/pull/27535#discussion_r3666342387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 27, 2026 https://github.com/coder/coder/pull/27535#pullrequestreview-4789378025
View reviewed changes https://github.com/coder/coder/pull/27535/files/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f
coderd/x/chatd/chatd.gohttps://github.com/coder/coder/pull/27535/files/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f#diff-9760d93414fe0e308947af4c1e3dc773ad63bdb871f2ed8fd433fae1124637db
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
fix linter complaint re unused receiverhttps://github.com/coder/coder/pull/27535/commits/bb2d73b1d68625db0b290b395812c7b97e064c60
bb2d73bhttps://github.com/coder/coder/pull/27535/commits/bb2d73b1d68625db0b290b395812c7b97e064c60
https://github.com/ssncferreira
ssncferreirahttps://github.com/ssncferreira
Jul 28, 2026 https://github.com/coder/coder/pull/27535#pullrequestreview-4798270428
View reviewed changes https://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354
ssncferreirahttps://github.com/ssncferreira
https://github.com/coder/coder/pull/27535#pullrequestreview-4798270428
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
coderd/x/chatd/chatd_test.gohttps://github.com/coder/coder/pull/27535/files/bb2d73b1d68625db0b290b395812c7b97e064c60#diff-3338fcffc67b242e571b3887687ece35664e63a1ca4ff4c77020b2e8c91a5faa
ssncferreirahttps://github.com/ssncferreira
Jul 28, 2026https://github.com/coder/coder/pull/27535#discussion_r3666311704
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
johnstcnhttps://github.com/johnstcn
Jul 28, 2026https://github.com/coder/coder/pull/27535#discussion_r3666357225
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
coderd/x/chatd/chatd_test.gohttps://github.com/coder/coder/pull/27535/files/83bb9360cc2699af0bddb36690cc0b4a5cc4b83f#diff-3338fcffc67b242e571b3887687ece35664e63a1ca4ff4c77020b2e8c91a5faa
ssncferreirahttps://github.com/ssncferreira
Jul 28, 2026https://github.com/coder/coder/pull/27535#discussion_r3666326701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
Merge branch 'main' into cj/rm-chatd-usage-limit-enforcementhttps://github.com/coder/coder/pull/27535/commits/e319e157df77fb44597837af21d66e4777c23354
e319e15https://github.com/coder/coder/pull/27535/commits/e319e157df77fb44597837af21d66e4777c23354
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
July 28, 2026 14:44https://github.com/coder/coder/pull/27535#event-28605047810
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 28, 2026 14:44https://github.com/coder/coder/pull/27535#event-28605048753
started reviewinghttps://github.com/coder/coder/sessions/4c2ec333-1cf5-4afd-ad28-1ba7b3803864
johnstcnhttps://github.com/johnstcn
July 28, 2026 14:44https://github.com/coder/coder/pull/27535#event-28605084028
View session https://github.com/coder/coder/sessions/4c2ec333-1cf5-4afd-ad28-1ba7b3803864
https://github.com/apps/coderagents
coderagentshttps://github.com/apps/coderagents
Jul 28, 2026https://github.com/coder/coder/pull/27535#issuecomment-5105663623
Please reload this pagehttps://github.com/coder/coder/pull/27535
Cost Controlshttps://github.com/coder/ai-gateway/cost-controls.md
Coder Agentshttps://coder.com/docs/ai-coder/agents
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 28, 2026 https://github.com/coder/coder/pull/27535#pullrequestreview-4798569920
View reviewed changes https://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/coder/coder/pull/27535#pullrequestreview-4798569920
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/coder/coder/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/coder/coder/pull/27535
coderd/x/chatd/chatd.gohttps://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354#diff-9760d93414fe0e308947af4c1e3dc773ad63bdb871f2ed8fd433fae1124637db
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 28, 2026 https://github.com/coder/coder/pull/27535#pullrequestreview-4798593822
View reviewed changes https://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354
coderd/x/chatd/chatd.gohttps://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354#diff-9760d93414fe0e308947af4c1e3dc773ad63bdb871f2ed8fd433fae1124637db
Please reload this pagehttps://github.com/coder/coder/pull/27535
johnstcnhttps://github.com/johnstcn
July 28, 2026 15:51https://github.com/coder/coder/pull/27535#commits-pushed-97e909a
https://github.com/johnstcn
Apply suggestion fromhttps://github.com/coder/coder/pull/27535/commits/97e909a111264074d733d61dd5f501ea84252739
@johnstcnhttps://github.com/johnstcn
97e909ahttps://github.com/coder/coder/pull/27535/commits/97e909a111264074d733d61dd5f501ea84252739
https://github.com/johnstcn
fixup! Apply suggestion fromhttps://github.com/coder/coder/pull/27535/commits/d244467c9a34e26100e4cc4fdc9c8ef60476841b
@johnstcnhttps://github.com/johnstcn
d244467https://github.com/coder/coder/pull/27535/commits/d244467c9a34e26100e4cc4fdc9c8ef60476841b
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
75fd7bchttps://github.com/coder/coder/commit/75fd7bc09ae71d7b66ba916dedfe170602c32aba
Jul 28, 2026https://github.com/coder/coder/pull/27535#event-28610235901
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
July 28, 2026 16:14https://github.com/coder/coder/pull/27535#event-28610237501
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 28, 2026https://github.com/coder/coder/pull/27535#event-28610247370
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%2F27535
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354
https://github.com/ssncferreira
ssncferreira https://github.com/ssncferreira
https://github.com/coder/coder/pull/27535/files/e319e157df77fb44597837af21d66e4777c23354
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
Please reload this pagehttps://github.com/coder/coder/pull/27535
https://github.com/johnstcn
https://github.com/ssncferreira
https://github.com/apps/copilot-pull-request-reviewer
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.