René's URL Explorer Experiment


Title: feat: buffer CLI session logs and flush on connection failure by aqandrew · Pull Request #29752 · coder/coder · GitHub

Open Graph Title: feat: buffer CLI session logs and flush on connection failure by aqandrew · Pull Request #29752 · coder/coder

X Title: feat: buffer CLI session logs and flush on connection failure by aqandrew · Pull Request #29752 · coder/coder

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

Open Graph Description: What Adds in-memory log buffering for CLI diagnostics so the debug detail leading up to a failure is available without logging debug during normal operation. Below-level entries are kept in a slog ...

X Description: What Adds in-memory log buffering for CLI diagnostics so the debug detail leading up to a failure is available without logging debug during normal operation. Below-level entries are kept in a slog ...

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

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:e337e29a-7c8d-f3c7-61d4-d089a10a7847
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA34C:37820D:A90274:E35C74:6B00E27E
html-safe-nonce631670e96b1e9d2fc489f42d13517a46b281ab558daffad178ac9b0d72c83c26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzRDOjM3ODIwRDpBOTAyNzQ6RTM1Qzc0OjZCMDBFMjdFIiwidmlzaXRvcl9pZCI6Ijc1NjgyMDcyNzYxNzYxMDYxMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ee1558989f79bab14faf20a8f32883871427bdc0d2d90e2cf937e3681623efd
hovercard-subject-tagpull_request:4606050548
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/29752/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c873d546526a3a25c8a8ee174cfa76d29e554fc60fa7d17dbf5c789cd3fac2bd/coder/coder/pull/29752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c873d546526a3a25c8a8ee174cfa76d29e554fc60fa7d17dbf5c789cd3fac2bd/coder/coder/pull/29752
og:image:altWhat Adds in-memory log buffering for CLI diagnostics so the debug detail leading up to a failure is available without logging debug during normal operation. Below-level entries are kept in a slog ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaqandrew
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/29752#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29752
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%2F29752
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/29752
Reloadhttps://github.com/coder/coder/pull/29752
Reloadhttps://github.com/coder/coder/pull/29752
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
cli-4-session-log-bufferhttps://github.com/coder/coder/tree/cli-4-session-log-buffer
Conversationhttps://github.com/coder/coder/pull/29752
Commits9 (9)https://github.com/coder/coder/pull/29752/commits
Checkshttps://github.com/coder/coder/pull/29752/checks
Files changedhttps://github.com/coder/coder/pull/29752/files
feat: buffer CLI session logs and flush on connection failurehttps://github.com/coder/coder/pull/29752#top
aqandrewhttps://github.com/aqandrew
mainhttps://github.com/coder/coder/tree/main
cli-4-session-log-bufferhttps://github.com/coder/coder/tree/cli-4-session-log-buffer
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
Sep 22, 2026https://github.com/coder/coder/pull/29752#issue-5544259323
Please reload this pagehttps://github.com/coder/coder/pull/29752
#29671https://github.com/coder/coder/pull/29671
#29671https://github.com/coder/coder/pull/29671
#29600https://github.com/coder/coder/pull/29600
#29671https://github.com/coder/coder/pull/29671
@aqandrewhttps://github.com/aqandrew
Please reload this pagehttps://github.com/coder/coder/pull/29752
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 22, 2026https://github.com/coder/coder/pull/29752#issuecomment-5782702950
CLI-4https://linear.app/codercom/issue/CLI-4
Please reload this pagehttps://github.com/coder/coder/pull/29752
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
aqandrewhttps://github.com/aqandrew
Sep 22, 2026https://github.com/coder/coder/pull/29752#event-31626118600
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
Sep 22, 2026 https://github.com/coder/coder/pull/29752#ref-pullrequest-5529383665
feat: buffer agent debug logs and flush on connection failure #29671 https://github.com/coder/coder/pull/29671
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
code-asherhttps://github.com/code-asher
spikecurtishttps://github.com/spikecurtis
September 24, 2026 00:02https://github.com/coder/coder/pull/29752#event-31718173406
https://github.com/code-asher
code-asherhttps://github.com/code-asher
Sep 28, 2026 https://github.com/coder/coder/pull/29752#pullrequestreview-5334262812
View reviewed changes https://github.com/coder/coder/pull/29752/files
cli/testdata/coder_start_--help.goldenhttps://github.com/coder/coder/pull/29752/files#diff-672a8ef91a2dea71783df3a1f3878bb97b4ff798ceff1583d8abb5ab14b5346f
Please reload this pagehttps://github.com/coder/coder/pull/29752
cli/ssh.gohttps://github.com/coder/coder/pull/29752/files#diff-e288cc849ca774d47294f4f6c71c4ec171f6e0b15491e7220a0144dbfc1a43bc
Please reload this pagehttps://github.com/coder/coder/pull/29752
cli/logbuffer.gohttps://github.com/coder/coder/pull/29752/files#diff-d0e32ae43410f2b0f659b4a7d7e304c456c11c22cae56e86e01f80eb00532fdf
Please reload this pagehttps://github.com/coder/coder/pull/29752
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
September 28, 2026 07:13https://github.com/coder/coder/pull/29752#event-31970871593
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
jeremyruppelhttps://github.com/jeremyruppel
September 28, 2026 14:47https://github.com/coder/coder/pull/29752#event-32002189470
aqandrewhttps://github.com/aqandrew
September 28, 2026 22:11https://github.com/coder/coder/pull/29752#commits-pushed-ae0571e
https://github.com/aqandrew
feat: buffer CLI session logs and flush on connection failurehttps://github.com/coder/coder/pull/29752/commits/ae0571e75acdae9cf497ed4e17e45112d4a43b31
ae0571ehttps://github.com/coder/coder/pull/29752/commits/ae0571e75acdae9cf497ed4e17e45112d4a43b31
https://github.com/aqandrew
docs: rm yaphttps://github.com/coder/coder/pull/29752/commits/b3a0b3642aaa3b667e58b7be0493d3a1df550511
b3a0b36https://github.com/coder/coder/pull/29752/commits/b3a0b3642aaa3b667e58b7be0493d3a1df550511
https://github.com/aqandrew
refactor(cli): compute session log level once and always attach the r…https://github.com/coder/coder/pull/29752/commits/d703984bf4c110c6933794bd2d3f4b0bf605232f
d703984https://github.com/coder/coder/pull/29752/commits/d703984bf4c110c6933794bd2d3f4b0bf605232f
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
force-pushedhttps://github.com/coder/coder/compare/111aae0bde8961a85660d3f0dd2f7843d11b5ff8..d703984bf4c110c6933794bd2d3f4b0bf605232f
111aae0https://github.com/coder/coder/commit/111aae0bde8961a85660d3f0dd2f7843d11b5ff8
d703984https://github.com/coder/coder/commit/d703984bf4c110c6933794bd2d3f4b0bf605232f
Compare https://github.com/coder/coder/compare/111aae0bde8961a85660d3f0dd2f7843d11b5ff8..d703984bf4c110c6933794bd2d3f4b0bf605232f
September 28, 2026 22:17https://github.com/coder/coder/pull/29752#event-32032958924
https://github.com/aqandrew
feat: buffer CLI diagnostics on the root logger and flush to stderr o…https://github.com/coder/coder/pull/29752/commits/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1
e2d2848https://github.com/coder/coder/pull/29752/commits/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
code-asherhttps://github.com/code-asher
September 29, 2026 00:56https://github.com/coder/coder/pull/29752#event-32040456882
https://github.com/code-asher
code-asherhttps://github.com/code-asher
Sep 29, 2026 https://github.com/coder/coder/pull/29752#pullrequestreview-5348521145
View reviewed changes https://github.com/coder/coder/pull/29752/files/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1
code-asherhttps://github.com/code-asher
https://github.com/coder/coder/pull/29752#pullrequestreview-5348521145
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/29752
cli/logbuffer.gohttps://github.com/coder/coder/pull/29752/files/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1#diff-d0e32ae43410f2b0f659b4a7d7e304c456c11c22cae56e86e01f80eb00532fdf
Please reload this pagehttps://github.com/coder/coder/pull/29752
cli/root.gohttps://github.com/coder/coder/pull/29752/files/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1#diff-f95036fc6ff63eb5fcf251353f47b191fa8a2d927d37eacbb51e47e74e5f71f4
Please reload this pagehttps://github.com/coder/coder/pull/29752
cli/root.gohttps://github.com/coder/coder/pull/29752/files/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1#diff-f95036fc6ff63eb5fcf251353f47b191fa8a2d927d37eacbb51e47e74e5f71f4
Please reload this pagehttps://github.com/coder/coder/pull/29752
aqandrewhttps://github.com/aqandrew
September 29, 2026 16:18https://github.com/coder/coder/pull/29752#commits-pushed-af69794
https://github.com/aqandrew
docs: change self-managed logger destination wording from do not -> s…https://github.com/coder/coder/pull/29752/commits/af697945e1bd89c6c8bf0126b9b807fa3edb8faa
af69794https://github.com/coder/coder/pull/29752/commits/af697945e1bd89c6c8bf0126b9b807fa3edb8faa
https://github.com/aqandrew
refactor(cli): return errors from pruneSessionLogshttps://github.com/coder/coder/pull/29752/commits/481a0a5e49fee8b970e005d4f4cd399ec8f2c97d
481a0a5https://github.com/coder/coder/pull/29752/commits/481a0a5e49fee8b970e005d4f4cd399ec8f2c97d
https://github.com/aqandrew
refactor(cli): use flight-recorder naming for CLI diagnostic logshttps://github.com/coder/coder/pull/29752/commits/d06b6d089f8a9666e6d758e48d95c3372252ac69
d06b6d0https://github.com/coder/coder/pull/29752/commits/d06b6d089f8a9666e6d758e48d95c3372252ac69
aqandrewhttps://github.com/aqandrew
Sep 29, 2026 https://github.com/coder/coder/pull/29752#ref-commit-6487425
https://github.com/aqandrew
feat: buffer agent debug logs and flush on connection failure (https://github.com/coder/coder/commit/648742588514583fc3a8dd9fd419c11ac8eaee96
#29671https://github.com/coder/coder/pull/29671
)https://github.com/coder/coder/commit/648742588514583fc3a8dd9fd419c11ac8eaee96
6487425https://github.com/coder/coder/commit/648742588514583fc3a8dd9fd419c11ac8eaee96
#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
https://github.com/aqandrew
Merge branch 'main' into cli-4-session-log-bufferhttps://github.com/coder/coder/pull/29752/commits/c24554ec57766b53fdbd9e67864eb68792ee6119
c24554ehttps://github.com/coder/coder/pull/29752/commits/c24554ec57766b53fdbd9e67864eb68792ee6119
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
September 29, 2026 21:34https://github.com/coder/coder/pull/29752#event-32116212100
https://github.com/aqandrew
test(cli): skip prune remove-error test on windowshttps://github.com/coder/coder/pull/29752/commits/87ab41400d2be22229e0b2cf27a5366fa8e99028
87ab414https://github.com/coder/coder/pull/29752/commits/87ab41400d2be22229e0b2cf27a5366fa8e99028
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
4a67ac3https://github.com/coder/coder/commit/4a67ac3306657da8290c426903e09bee2eb95057
Sep 29, 2026https://github.com/coder/coder/pull/29752#event-32119070878
Please reload this pagehttps://github.com/coder/coder/pull/29752
https://github.com/aqandrew
aqandrewhttps://github.com/aqandrew
September 29, 2026 22:27https://github.com/coder/coder/pull/29752#event-32119072035
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 29, 2026https://github.com/coder/coder/pull/29752#event-32119079415
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%2F29752
https://github.com/code-asher
code-asher https://github.com/code-asher
https://github.com/coder/coder/pull/29752/files/e2d28480ec09b84b40d2b5e3eaf97df9ce82b7a1
https://github.com/jeremyruppel
jeremyruppel https://github.com/jeremyruppel
Please reload this pagehttps://github.com/coder/coder/pull/29752
https://github.com/aqandrew
aqandrew https://github.com/aqandrew
Please reload this pagehttps://github.com/coder/coder/pull/29752
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.