René's URL Explorer Experiment


Title: feat: Add support for pprof in `coder agent` by mafredri · Pull Request #1985 · coder/coder · GitHub

Open Graph Title: feat: Add support for pprof in `coder agent` by mafredri · Pull Request #1985 · coder/coder

X Title: feat: Add support for pprof in `coder agent` by mafredri · Pull Request #1985 · coder/coder

Description: This PR adds support for starting a pprof server in coder agent. After #1978 I wanted this to analyze the agent for memory leaks, as mentioned in #1508.

Open Graph Description: This PR adds support for starting a pprof server in coder agent. After #1978 I wanted this to analyze the agent for memory leaks, as mentioned in #1508.

X Description: This PR adds support for starting a pprof server in coder agent. After #1978 I wanted this to analyze the agent for memory leaks, as mentioned in #1508.

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:97b236bc-cf9a-2f0e-b528-068167d9e966
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE43C:27E5CD:256DDD4:2FE42B6:6B0180FF
html-safe-noncec593138d3e4072e47b89da0967a17cf1f7581c673e3ae6dcd60cd679f37b8fb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDNDOjI3RTVDRDoyNTZEREQ0OjJGRTQyQjY6NkIwMTgwRkYiLCJ2aXNpdG9yX2lkIjoiNzI0NDY1MDEzMjU4OTg3MTM1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace18cc42cf90fb11036d71f9590ca534a602c85ca9d15ca80f577bfadb2e56e27
hovercard-subject-tagpull_request:956055346
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/1985/files
twitter:imagehttps://avatars.githubusercontent.com/u/147409?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/147409?s=400&v=4
og:image:altThis PR adds support for starting a pprof server in coder agent. After #1978 I wanted this to analyze the agent for memory leaks, as mentioned in #1508.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/coder/coder/pull/1985/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1985%2Ffiles
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%2F1985%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/1985/files
Reloadhttps://github.com/coder/coder/pull/1985/files
Reloadhttps://github.com/coder/coder/pull/1985/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-add-pprof-to-agenthttps://github.com/coder/coder/tree/mafredri/feat-add-pprof-to-agent
Conversation 10 https://github.com/coder/coder/pull/1985
Commits 8 https://github.com/coder/coder/pull/1985/commits
Checks 0 https://github.com/coder/coder/pull/1985/checks
Files changed https://github.com/coder/coder/pull/1985/files
Please reload this pagehttps://github.com/coder/coder/pull/1985/files
feat: Add support for pprof in coder agent https://github.com/coder/coder/pull/1985/files#top
Show all changes 8 commits https://github.com/coder/coder/pull/1985/files
490a226 feat: Add support for pprof in `coder agent` mafredri Jun 2, 2022 https://github.com/coder/coder/pull/1985/commits/490a226b3ddcb151a60fc6ba4364851ad6e4aec4
10a86de feat: Allow USR1 signal to start pprof mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/10a86ded50159d87a1b2f6d1723b43c5ce57d54a
c91637f fix: Try to fix macOS test? mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/c91637fb64a1d02c738577400fcc6eb73792afc0
ec54e01 fix: Disable USR1 on Windows (no signal) mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/ec54e019cf44b9bde6ab963ff6fc2490cb428206
03ae4c0 fix: Make close func actually close mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/03ae4c0439cd399f244984504c9879748ca210b4
610abb6 chore: Improve naming mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/610abb69210135ee8ef9ccfe608165c1bbcdb3e0
ae3049d fix: Fix imports mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/ae3049d8894e093da5cb193826b592fa2be84dc6
e146759 fix: Disable agent_unix.go on windows mafredri Jun 3, 2022 https://github.com/coder/coder/pull/1985/commits/e146759c1666ccb518d48e891f296d5257748a96
Clear filters https://github.com/coder/coder/pull/1985/files
Please reload this pagehttps://github.com/coder/coder/pull/1985/files
Please reload this pagehttps://github.com/coder/coder/pull/1985/files
agent.go https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
agent_unix.go https://github.com/coder/coder/pull/1985/files#diff-c43e8618a3881e883838350ab560a7016946eeea2d1489cf5724eb00bb47bac1
agent_windows.go https://github.com/coder/coder/pull/1985/files#diff-f4eb1839347c7b467f919be9892fca33f9c8cb090a0fb591f9037d700e635a03
cli/agent.gohttps://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
View file https://github.com/coder/coder/blob/e146759c1666ccb518d48e891f296d5257748a96/cli/agent.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/1985/{{ revealButtonHref }}
https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
https://github.com/coder/coder/pull/1985/files#diff-f79a293a9987904ac41f4ad561b263b381e7ee002d2b46b5fed0a2b0e349d589
cli/agent_unix.gohttps://github.com/coder/coder/pull/1985/files#diff-c43e8618a3881e883838350ab560a7016946eeea2d1489cf5724eb00bb47bac1
View file https://github.com/coder/coder/blob/e146759c1666ccb518d48e891f296d5257748a96/cli/agent_unix.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/1985/{{ revealButtonHref }}
cli/agent_windows.gohttps://github.com/coder/coder/pull/1985/files#diff-f4eb1839347c7b467f919be9892fca33f9c8cb090a0fb591f9037d700e635a03
View file https://github.com/coder/coder/blob/e146759c1666ccb518d48e891f296d5257748a96/cli/agent_windows.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/1985/{{ revealButtonHref }}
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.