René's URL Explorer Experiment


Title: feat: buffer agent debug logs and flush on connection failure by aqandrew · Pull Request #29671 · coder/coder · GitHub

Open Graph Title: feat: buffer agent debug logs and flush on connection failure by aqandrew · Pull Request #29671 · coder/coder

X Title: feat: buffer agent debug logs and flush on connection failure by aqandrew · Pull Request #29671 · coder/coder

Description: Secure environments for developers and their agents - feat: buffer agent debug logs and flush on connection failure by aqandrew · Pull Request #29671 · coder/coder

Open Graph Description: What Runs the workspace agent logger at Info with a slog flight recorder (v3.2.0) instead of unconditionally at Debug. Entries below the current log level are kept in a rolling in-memory ring and f...

X Description: What Runs the workspace agent logger at Info with a slog flight recorder (v3.2.0) instead of unconditionally at Debug. Entries below the current log level are kept in a rolling in-memory ring and f...

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

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:e8766067-aef7-b999-d693-a018f65d7a95
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCAB4:23CF06:C919B2:103BD65:6B00EFBE
html-safe-nonced1898b9477211eec5ed97fd8ab2d44c04e99470e05e14052664c80ee148866b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUI0OjIzQ0YwNjpDOTE5QjI6MTAzQkQ2NTo2QjAwRUZCRSIsInZpc2l0b3JfaWQiOiIzODI2NjQyNjcyMjY5OTc5NTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca6b45ddb37ecffb51dde29ba8b6cda470c01ac98b61f4b95ff9ad9e8a95ec575
hovercard-subject-tagpull_request:4593511863
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/29671/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4135d87a1d74419fca45e10a61d5c279eef9f7a5df905a950d4b4e643e480a5e/coder/coder/pull/29671
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4135d87a1d74419fca45e10a61d5c279eef9f7a5df905a950d4b4e643e480a5e/coder/coder/pull/29671
og:image:altWhat Runs the workspace agent logger at Info with a slog flight recorder (v3.2.0) instead of unconditionally at Debug. Entries below the current log level are kept in a rolling in-memory ring and f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaqandrew
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/29671#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29671
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%2F29671
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/29671
Reloadhttps://github.com/coder/coder/pull/29671
Reloadhttps://github.com/coder/coder/pull/29671
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)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
aqandrewhttps://github.com/aqandrew
mainhttps://github.com/coder/coder/tree/main
client-672-agent-log-bufferhttps://github.com/coder/coder/tree/client-672-agent-log-buffer
Conversationhttps://github.com/coder/coder/pull/29671
Commits11 (11)https://github.com/coder/coder/pull/29671/commits
Checkshttps://github.com/coder/coder/pull/29671/checks
Files changedhttps://github.com/coder/coder/pull/29671/files
feat: buffer agent debug logs and flush on connection failurehttps://github.com/coder/coder/pull/29671#top
aqandrewhttps://github.com/aqandrew
mainhttps://github.com/coder/coder/tree/main
client-672-agent-log-bufferhttps://github.com/coder/coder/tree/client-672-agent-log-buffer
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
Sep 21, 2026https://github.com/coder/coder/pull/29671#issue-5529383665
Please reload this pagehttps://github.com/coder/coder/pull/29671
feat: buffer CLI session logs and flush on connection failure #29752https://github.com/coder/coder/pull/29752
#29752https://github.com/coder/coder/pull/29752
#29600https://github.com/coder/coder/pull/29600
@aqandrewhttps://github.com/aqandrew
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/aqandrew
feat: buffer agent debug logs and flush on connection failurehttps://github.com/coder/coder/pull/29671/commits/aeca75d5636e8c1a3cf824e682749e2e5498fce0
aeca75dhttps://github.com/coder/coder/pull/29671/commits/aeca75d5636e8c1a3cf824e682749e2e5498fce0
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 21, 2026https://github.com/coder/coder/pull/29671#issuecomment-5763494246
CLIENT-672https://linear.app/codercom/issue/CLIENT-672
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
aqandrewhttps://github.com/aqandrew
Sep 21, 2026https://github.com/coder/coder/pull/29671#event-31541527006
aqandrewhttps://github.com/aqandrew
September 21, 2026 20:23https://github.com/coder/coder/pull/29671#commits-pushed-49d0046
https://github.com/aqandrew
feat(cli): make agent log buffer size configurable and add verbose es…https://github.com/coder/coder/pull/29671/commits/49d0046be890970a306e49ac521f5d1317d1152c
49d0046https://github.com/coder/coder/pull/29671/commits/49d0046be890970a306e49ac521f5d1317d1152c
https://github.com/aqandrew
test(agent): cover flushing the log buffer on disconnecthttps://github.com/coder/coder/pull/29671/commits/b6c9e4967924db69d34ede9036183932d11a6b28
b6c9e49https://github.com/coder/coder/pull/29671/commits/b6c9e4967924db69d34ede9036183932d11a6b28
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
Sep 22, 2026 https://github.com/coder/coder/pull/29671#ref-pullrequest-5544259323
feat: buffer CLI session logs and flush on connection failure #29752 https://github.com/coder/coder/pull/29752
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
September 24, 2026 00:01https://github.com/coder/coder/pull/29671#event-31718167903
https://github.com/aqandrew
docs: rm yaphttps://github.com/coder/coder/pull/29671/commits/50656df0a06a0ea251fe62926cee90bea562417a
50656dfhttps://github.com/coder/coder/pull/29671/commits/50656df0a06a0ea251fe62926cee90bea562417a
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
code-asherhttps://github.com/code-asher
jeremyruppelhttps://github.com/jeremyruppel
spikecurtishttps://github.com/spikecurtis
September 24, 2026 00:04https://github.com/coder/coder/pull/29671#event-31718268754
https://github.com/code-asher
code-asherhttps://github.com/code-asher
Sep 28, 2026 https://github.com/coder/coder/pull/29671#pullrequestreview-5334059513
View reviewed changes https://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a
agent/agent.gohttps://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a#diff-62b6ad581fe3a3059ae8c85ef0f31dde4092bfdecfa7d6857c470bcacaa8cc8b
Please reload this pagehttps://github.com/coder/coder/pull/29671
agent/agent.gohttps://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a#diff-62b6ad581fe3a3059ae8c85ef0f31dde4092bfdecfa7d6857c470bcacaa8cc8b
Please reload this pagehttps://github.com/coder/coder/pull/29671
cli/testdata/coder_agent_--help.goldenhttps://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a#diff-15e6b53e9086823bb92334b28a5656d96a6400dc56f9c37eab1e6cb31d2d5898
Please reload this pagehttps://github.com/coder/coder/pull/29671
cli/testdata/coder_agent_--help.goldenhttps://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a#diff-15e6b53e9086823bb92334b28a5656d96a6400dc56f9c37eab1e6cb31d2d5898
Please reload this pagehttps://github.com/coder/coder/pull/29671
cli/agent.gohttps://github.com/coder/coder/pull/29671/files/50656df0a06a0ea251fe62926cee90bea562417a#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
September 28, 2026 11:28https://github.com/coder/coder/pull/29671#event-31987206592
aqandrewhttps://github.com/aqandrew
September 28, 2026 20:54https://github.com/coder/coder/pull/29671#commits-pushed-fdeb735
https://github.com/aqandrew
fix(agent): log coderd connection loss at error levelhttps://github.com/coder/coder/pull/29671/commits/fdeb735204bff5b049750a3fddde8891429b5e68
fdeb735https://github.com/coder/coder/pull/29671/commits/fdeb735204bff5b049750a3fddde8891429b5e68
#29671https://github.com/coder/coder/pull/29671
https://github.com/aqandrew
refactor(cli): put workspaceAgent on RootCmd and reuse global verbosehttps://github.com/coder/coder/pull/29671/commits/e5f9d1d9b34f82c9b0d6d2a843717a77b56302e0
e5f9d1dhttps://github.com/coder/coder/pull/29671/commits/e5f9d1d9b34f82c9b0d6d2a843717a77b56302e0
#29671https://github.com/coder/coder/pull/29671
https://github.com/aqandrew
refactor(cli): attach the agent flight recorder based on log levelhttps://github.com/coder/coder/pull/29671/commits/c76827d20215fd938136f5a185d2fb37bc9a58f2
c76827dhttps://github.com/coder/coder/pull/29671/commits/c76827d20215fd938136f5a185d2fb37bc9a58f2
#29671https://github.com/coder/coder/pull/29671
https://github.com/aqandrew
docs(cli): clarify agent log buffer descriptionhttps://github.com/coder/coder/pull/29671/commits/d94e1ae0aac998693c47e08f8de4a5c997ab8d86
d94e1aehttps://github.com/coder/coder/pull/29671/commits/d94e1ae0aac998693c47e08f8de4a5c997ab8d86
https://github.com/aqandrew
fix(agent): warn and flush the log buffer on coderd disconnecthttps://github.com/coder/coder/pull/29671/commits/f3f033db59a34e383f9cc36743b3aabd33253ead
f3f033dhttps://github.com/coder/coder/pull/29671/commits/f3f033db59a34e383f9cc36743b3aabd33253ead
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
code-asherhttps://github.com/code-asher
September 29, 2026 17:28https://github.com/coder/coder/pull/29671#event-32100387593
https://github.com/code-asher
code-asherhttps://github.com/code-asher
Sep 29, 2026 https://github.com/coder/coder/pull/29671#pullrequestreview-5357855259
View reviewed changes https://github.com/coder/coder/pull/29671/files/f3f033db59a34e383f9cc36743b3aabd33253ead
cli/agent.gohttps://github.com/coder/coder/pull/29671/files/f3f033db59a34e383f9cc36743b3aabd33253ead#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
Please reload this pagehttps://github.com/coder/coder/pull/29671
cli/agent.gohttps://github.com/coder/coder/pull/29671/files/f3f033db59a34e383f9cc36743b3aabd33253ead#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
Please reload this pagehttps://github.com/coder/coder/pull/29671
aqandrewhttps://github.com/aqandrew
September 29, 2026 20:16https://github.com/coder/coder/pull/29671#commits-pushed-145d0be
https://github.com/aqandrew
docs: rm yaphttps://github.com/coder/coder/pull/29671/commits/145d0becf95da39249516de2a00fb9f0e0270fe5
145d0behttps://github.com/coder/coder/pull/29671/commits/145d0becf95da39249516de2a00fb9f0e0270fe5
https://github.com/aqandrew
refactor(agent): use flight-recorder naming for the agent log bufferhttps://github.com/coder/coder/pull/29671/commits/cfe4a94db6012281d2230a2e8ce2a05c77df8bc2
cfe4a94https://github.com/coder/coder/pull/29671/commits/cfe4a94db6012281d2230a2e8ce2a05c77df8bc2
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
6487425https://github.com/coder/coder/commit/648742588514583fc3a8dd9fd419c11ac8eaee96
Sep 29, 2026https://github.com/coder/coder/pull/29671#event-32115629024
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
September 29, 2026 21:24https://github.com/coder/coder/pull/29671#event-32115630925
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 29, 2026https://github.com/coder/coder/pull/29671#event-32115638592
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%2F29671
https://github.com/code-asher
code-asher https://github.com/code-asher
https://github.com/coder/coder/pull/29671/files/f3f033db59a34e383f9cc36743b3aabd33253ead
https://github.com/jeremyruppel
jeremyruppel https://github.com/jeremyruppel
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/aqandrew
aqandrew https://github.com/aqandrew
Please reload this pagehttps://github.com/coder/coder/pull/29671
https://github.com/aqandrew
https://github.com/code-asher
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.