René's URL Explorer Experiment


Title: Add optional idle timeout shutdown by gaberudy · Pull Request #7177 · coder/code-server · GitHub

Open Graph Title: Add optional idle timeout shutdown by gaberudy · Pull Request #7177 · coder/code-server

X Title: Add optional idle timeout shutdown by gaberudy · Pull Request #7177 · coder/code-server

Description: I did this for my needs but realized there is a closed issue (not implemented) that is requesting the same thing. Through the idle-timeout arg or IDLE_TIMEOUT environment variable, after the specified number of minutes since the heartbeat was last refreshed is detected, the code-server process shuts down. When run as the single process of a docker container, this just stops the container. Fixes #1636

Open Graph Description: I did this for my needs but realized there is a closed issue (not implemented) that is requesting the same thing. Through the idle-timeout arg or IDLE_TIMEOUT environment variable, after the specif...

X Description: I did this for my needs but realized there is a closed issue (not implemented) that is requesting the same thing. Through the idle-timeout arg or IDLE_TIMEOUT environment variable, after the specif...

Opengraph URL: https://github.com/coder/code-server/pull/7177

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:0ab0798d-9f7a-fff1-1d1d-87f4ee3cf26f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC842:B1B84:21F8B4B:2B3375E:6B01B4F7
html-safe-nonce67f7dc008b6df04b4ae944c67813323ef2eba2d12036a528de776701a31a8d22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODQyOkIxQjg0OjIxRjhCNEI6MkIzMzc1RTo2QjAxQjRGNyIsInZpc2l0b3JfaWQiOiIyOTc0Mjk4MTgzMjIxNDkwOTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac653ac26119a45425e3dbe41691914362b419fb40b327efe8dac8e926c47a5fc3
hovercard-subject-tagpull_request:2288761632
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/code-server/pull/7177/files
twitter:imagehttps://avatars.githubusercontent.com/u/872263?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/872263?s=400&v=4
og:image:altI did this for my needs but realized there is a closed issue (not implemented) that is requesting the same thing. Through the idle-timeout arg or IDLE_TIMEOUT environment variable, after the specif...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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/code-server/pull/7177/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F7177%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%2Fcode-server%2Fpull%2F7177%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%2Fcode-server
Reloadhttps://github.com/coder/code-server/pull/7177/files
Reloadhttps://github.com/coder/code-server/pull/7177/files
Reloadhttps://github.com/coder/code-server/pull/7177/files
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
gaberudyhttps://github.com/gaberudy
coder:mainhttps://github.com/coder/code-server/tree/main
goldenhelix:idle-timeout-2https://github.com/goldenhelix/code-server/tree/idle-timeout-2
Conversation 3 https://github.com/coder/code-server/pull/7177
Commits 4 https://github.com/coder/code-server/pull/7177/commits
Checks 0 https://github.com/coder/code-server/pull/7177/checks
Files changed https://github.com/coder/code-server/pull/7177/files
Please reload this pagehttps://github.com/coder/code-server/pull/7177/files
Add optional idle timeout shutdown https://github.com/coder/code-server/pull/7177/files#top
Show all changes 4 commits https://github.com/coder/code-server/pull/7177/files
8596bd9 Add idle-timeout: Timeout in minutes to wait before shutting down whe… gaberudy Jan 20, 2025 https://github.com/coder/code-server/pull/7177/commits/8596bd9a57f8a31c63982be06e2a01ef60028063
a968e70 Output idle timeout if set on startup gaberudy Jan 20, 2025 https://github.com/coder/code-server/pull/7177/commits/a968e70d10d60d8589d8e563115aaaa17d21a00a
c884f48 Update idle-timeout to have its own timer, use process.kill SIGTERM f… gaberudy Jan 20, 2025 https://github.com/coder/code-server/pull/7177/commits/c884f4833841e9f42d02fb9d8929d75cebf223b5
897e0ce Use wrapper.exit to perform idle-shutdown gaberudy Jan 20, 2025 https://github.com/coder/code-server/pull/7177/commits/897e0cea8b3aaa3cae5ebb4ba4fb54eb2fc4386a
Clear filters https://github.com/coder/code-server/pull/7177/files
Please reload this pagehttps://github.com/coder/code-server/pull/7177/files
Please reload this pagehttps://github.com/coder/code-server/pull/7177/files
cli.ts https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
heart.ts https://github.com/coder/code-server/pull/7177/files#diff-2989a333cfc73c8fd9cfb8fc9617768e7a421fd56871015e032441446db31dbc
main.ts https://github.com/coder/code-server/pull/7177/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
index.ts https://github.com/coder/code-server/pull/7177/files#diff-75522e83ec62300375401046a279e50a43968ac93528dc19715f8e8b8d528af0
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/cli.tshttps://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
View file https://github.com/goldenhelix/code-server/blob/897e0cea8b3aaa3cae5ebb4ba4fb54eb2fc4386a/src/node/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/7177/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/7177/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/heart.tshttps://github.com/coder/code-server/pull/7177/files#diff-2989a333cfc73c8fd9cfb8fc9617768e7a421fd56871015e032441446db31dbc
View file https://github.com/goldenhelix/code-server/blob/897e0cea8b3aaa3cae5ebb4ba4fb54eb2fc4386a/src/node/heart.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/7177/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/7177/files#diff-2989a333cfc73c8fd9cfb8fc9617768e7a421fd56871015e032441446db31dbc
https://github.com/coder/code-server/pull/7177/files#diff-2989a333cfc73c8fd9cfb8fc9617768e7a421fd56871015e032441446db31dbc
https://github.com/coder/code-server/pull/7177/files#diff-2989a333cfc73c8fd9cfb8fc9617768e7a421fd56871015e032441446db31dbc
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/main.tshttps://github.com/coder/code-server/pull/7177/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
View file https://github.com/goldenhelix/code-server/blob/897e0cea8b3aaa3cae5ebb4ba4fb54eb2fc4386a/src/node/main.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/7177/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/7177/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
https://github.com/coder/code-server/pull/7177/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/routes/index.tshttps://github.com/coder/code-server/pull/7177/files#diff-75522e83ec62300375401046a279e50a43968ac93528dc19715f8e8b8d528af0
View file https://github.com/goldenhelix/code-server/blob/897e0cea8b3aaa3cae5ebb4ba4fb54eb2fc4386a/src/node/routes/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/7177/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/7177/files#diff-75522e83ec62300375401046a279e50a43968ac93528dc19715f8e8b8d528af0
https://github.com/coder/code-server/pull/7177/files#diff-75522e83ec62300375401046a279e50a43968ac93528dc19715f8e8b8d528af0
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.