René's URL Explorer Experiment


Title: Fix socket leak, clean up single use postgres databases by spikecurtis · Pull Request #2413 · coder/coder · GitHub

Open Graph Title: Fix socket leak, clean up single use postgres databases by spikecurtis · Pull Request #2413 · coder/coder

X Title: Fix socket leak, clean up single use postgres databases by spikecurtis · Pull Request #2413 · coder/coder

Description: Secure environments for developers and their agents - Fix socket leak, clean up single use postgres databases by spikecurtis · Pull Request #2413 · coder/coder

Open Graph Description: First PR for #2347 This fixes up a socket leak in our use of Migrate. It also introduces cleanup of single-use databases in postgres, since the postgres container outlives the test run, if we don&#...

X Description: First PR for #2347 This fixes up a socket leak in our use of Migrate. It also introduces cleanup of single-use databases in postgres, since the postgres container outlives the test run, if we don&a...

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

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:fa63e0da-ed78-8ff3-a9a8-ca10e8f338b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8A4:291B58:13F6B91:193D664:6B016336
html-safe-nonce33897e8c1671cfc9617a9e1aae7f635b42a5a26e6b6b3125a9d54eeb9af44e2e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEE0OjI5MUI1ODoxM0Y2QjkxOjE5M0Q2NjQ6NkIwMTYzMzYiLCJ2aXNpdG9yX2lkIjoiMzU2MDU1NjQ2ODg5MTY0MDYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9e4c2cf687969bf4b7cfc4db80a7d24b49cebc7346f149d7e9c2e8373be0735e
hovercard-subject-tagpull_request:969459316
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/2413/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f746817739e669b7d06c53d76b95c16605b475b3de54b619a46446c0f886c829/coder/coder/pull/2413
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f746817739e669b7d06c53d76b95c16605b475b3de54b619a46446c0f886c829/coder/coder/pull/2413
og:image:altFirst PR for #2347 This fixes up a socket leak in our use of Migrate. It also introduces cleanup of single-use databases in postgres, since the postgres container outlives the test run, if we don&#...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespikecurtis
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/2413#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2413
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%2F2413
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/2413
Reloadhttps://github.com/coder/coder/pull/2413
Reloadhttps://github.com/coder/coder/pull/2413
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
spikecurtishttps://github.com/spikecurtis
mainhttps://github.com/coder/coder/tree/main
spike/2347_postgres_flakeshttps://github.com/coder/coder/tree/spike/2347_postgres_flakes
Conversationhttps://github.com/coder/coder/pull/2413
Commits3 (3)https://github.com/coder/coder/pull/2413/commits
Checkshttps://github.com/coder/coder/pull/2413/checks
Files changedhttps://github.com/coder/coder/pull/2413/files
Fix socket leak, clean up single use postgres databaseshttps://github.com/coder/coder/pull/2413#top
spikecurtishttps://github.com/spikecurtis
mainhttps://github.com/coder/coder/tree/main
spike/2347_postgres_flakeshttps://github.com/coder/coder/tree/spike/2347_postgres_flakes
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
Jun 16, 2022https://github.com/coder/coder/pull/2413#issue-1273713854
#2347https://github.com/coder/coder/issues/2347
Please reload this pagehttps://github.com/coder/coder/pull/2413
spikecurtishttps://github.com/spikecurtis
June 16, 2022 08:17https://github.com/coder/coder/pull/2413#commits-pushed-b6ea6c6
https://github.com/spikecurtis
Fix socket leak, clean up single use postgres databaseshttps://github.com/coder/coder/pull/2413/commits/b6ea6c6b722d528fc27ab552d18033e945d97474
b6ea6c6https://github.com/coder/coder/pull/2413/commits/b6ea6c6b722d528fc27ab552d18033e945d97474
https://github.com/spikecurtis
Merge branch 'main' of github.com:coder/coder into spike/2347_postgre…https://github.com/coder/coder/pull/2413/commits/474186acc2618f9cdf4abb8ac0a28247f9d89d89
474186ahttps://github.com/coder/coder/pull/2413/commits/474186acc2618f9cdf4abb8ac0a28247f9d89d89
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
June 16, 2022 15:27https://github.com/coder/coder/pull/2413#event-6822005969
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Jun 16, 2022 https://github.com/coder/coder/pull/2413#pullrequestreview-1009229472
View reviewed changes https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 16, 2022 https://github.com/coder/coder/pull/2413#pullrequestreview-1009238093
View reviewed changes https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 16, 2022 https://github.com/coder/coder/pull/2413#ref-pullrequest-1273424168
feat: cli: consolidate schedule-related commands #2402 https://github.com/coder/coder/pull/2402
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jun 16, 2022 https://github.com/coder/coder/pull/2413#pullrequestreview-1009238646
View reviewed changes https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
coderd/database/migrate.gohttps://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89#diff-a42d72b6453e5b82569b1541ebea6d58fea0a24e1814a6084b1dd308a793b7f3
mafredrihttps://github.com/mafredri
Jun 16, 2022https://github.com/coder/coder/pull/2413#discussion_r899217666
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2413
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jun 16, 2022 https://github.com/coder/coder/pull/2413#pullrequestreview-1009245415
View reviewed changes https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
coderd/database/migrate.gohttps://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89#diff-a42d72b6453e5b82569b1541ebea6d58fea0a24e1814a6084b1dd308a793b7f3
Please reload this pagehttps://github.com/coder/coder/pull/2413
https://github.com/spikecurtis
Move migrate close defer until after we know it is not nilhttps://github.com/coder/coder/pull/2413/commits/0d5f35f7e9f295ef016d25929386f350f8efb512
0d5f35fhttps://github.com/coder/coder/pull/2413/commits/0d5f35f7e9f295ef016d25929386f350f8efb512
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
a82c0ebhttps://github.com/coder/coder/commit/a82c0eb5603263f92bc9cbb48b470822f5cf682d
Jun 16, 2022https://github.com/coder/coder/pull/2413#event-6822303042
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
June 16, 2022 16:01https://github.com/coder/coder/pull/2413#event-6822303127
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2413
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
https://github.com/coder/coder/pull/2413/files/474186acc2618f9cdf4abb8ac0a28247f9d89d89
Please reload this pagehttps://github.com/coder/coder/pull/2413
Please reload this pagehttps://github.com/coder/coder/pull/2413
https://github.com/spikecurtis
https://github.com/mafredri
https://github.com/johnstcn
https://github.com/kylecarbs
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.