René's URL Explorer Experiment


Title: Add --wait to code-server's own CLI by b84330808 · Pull Request #8117 · coder/code-server · GitHub

Open Graph Title: Add --wait to code-server's own CLI by b84330808 · Pull Request #8117 · coder/code-server

X Title: Add --wait to code-server's own CLI by b84330808 · Pull Request #8117 · coder/code-server

Description: Fixes #8089 As suggested in the issue, this adds --wait to code-server's own script, so code-server --wait --reuse-window works as GIT_EDITOR even when that script is the one on PATH instead of remote-cli. It also works from a shell outside the integrated terminal, through the session socket. It does what VS Code's remote-cli does: create a marker file, send it as waitMarkerFilePath with the open request, and return once Code deletes it after the files are closed. Like --reuse-window, --wait only opens in an existing instance and errors if there is none. -w is already --welcome-text, so there's no short flag. Added unit tests for the wait loop (with a fake socket standing in for Code's) and for --wait not falling back to starting a server. I haven't run it against a full build.

Open Graph Description: Fixes #8089 As suggested in the issue, this adds --wait to code-server's own script, so code-server --wait --reuse-window works as GIT_EDITOR even when that script is the one on PATH instead of...

X Description: Fixes #8089 As suggested in the issue, this adds --wait to code-server's own script, so code-server --wait --reuse-window works as GIT_EDITOR even when that script is the one on PATH instea...

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

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:a9cba0d1-b396-b7e9-690a-0419690bdad1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABAA:29AEE8:2DF546D:3D3F61C:6B01D536
html-safe-nonce000261cfbd8b83b06a3ae3badb373540f7642dd58243c457083e059a1c6624c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkFBOjI5QUVFODoyREY1NDZEOjNEM0Y2MUM6NkIwMUQ1MzYiLCJ2aXNpdG9yX2lkIjoiNjYwNjMxMjMxMDQzOTAwNzU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca9e2c2a5ce3ada48dd9ea55279c1f36593099ecb5f3ae1abf3a4cf338bd8ccef
hovercard-subject-tagpull_request:5203916889
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/8117/files
twitter:imagehttps://avatars.githubusercontent.com/u/6395743?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6395743?s=400&v=4
og:image:altFixes #8089 As suggested in the issue, this adds --wait to code-server's own script, so code-server --wait --reuse-window works as GIT_EDITOR even when that script is the one on PATH instead of...
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/8117/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8117%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%2F8117%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/8117/files
Reloadhttps://github.com/coder/code-server/pull/8117/files
Reloadhttps://github.com/coder/code-server/pull/8117/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
code-asherhttps://github.com/code-asher
coder:mainhttps://github.com/coder/code-server/tree/main
b84330808:cli-wait-flaghttps://github.com/b84330808/code-server/tree/cli-wait-flag
Conversation 12 https://github.com/coder/code-server/pull/8117
Commits 3 https://github.com/coder/code-server/pull/8117/commits
Checks 13 https://github.com/coder/code-server/pull/8117/checks
Files changed https://github.com/coder/code-server/pull/8117/files
Please reload this pagehttps://github.com/coder/code-server/pull/8117/files
Add --wait to code-server's own CLI https://github.com/coder/code-server/pull/8117/files#top
Show all changes 3 commits https://github.com/coder/code-server/pull/8117/files
d11213d Add --wait to code-server's own CLI b84330808 Nov 7, 2026 https://github.com/coder/code-server/pull/8117/commits/d11213d182b103754c16fb185880e5d7a83cb06d
c5e696f Fail --wait when the request fails and use code-server's tmpdir b84330808 Nov 11, 2026 https://github.com/coder/code-server/pull/8117/commits/c5e696fb3b004f95f07a45f27b22a3726a1dfcbc
2865c87 Merge branch 'main' into cli-wait-flag code-asher Nov 13, 2026 https://github.com/coder/code-server/pull/8117/commits/2865c87b49156f5e71edec2b9d39aa82aab79418
Clear filters https://github.com/coder/code-server/pull/8117/files
Please reload this pagehttps://github.com/coder/code-server/pull/8117/files
Please reload this pagehttps://github.com/coder/code-server/pull/8117/files
CHANGELOG.md https://github.com/coder/code-server/pull/8117/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
cli.ts https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
main.ts https://github.com/coder/code-server/pull/8117/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
cli.test.ts https://github.com/coder/code-server/pull/8117/files#diff-259502f3217ff57aa0efe8405a96d85558f638b6a1a27a3f772f7dda96ddc8f2
main.test.ts https://github.com/coder/code-server/pull/8117/files#diff-b74d21f0ae61db7864c5c15f7a282be31c14c0c5458e381c8d03dc810dadc9b5
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
CHANGELOG.mdhttps://github.com/coder/code-server/pull/8117/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/b84330808/code-server/blob/2865c87b49156f5e71edec2b9d39aa82aab79418/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8117/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8117/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/coder/code-server/pull/8117/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/cli.tshttps://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
View file https://github.com/b84330808/code-server/blob/2865c87b49156f5e71edec2b9d39aa82aab79418/src/node/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8117/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/pull/8117/files#diff-e1f89aee8992fa7022cc43adb93042f9bbb4b223f0d6cd0e70719cf4b795afa4
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
src/node/main.tshttps://github.com/coder/code-server/pull/8117/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
View file https://github.com/b84330808/code-server/blob/2865c87b49156f5e71edec2b9d39aa82aab79418/src/node/main.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8117/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8117/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
https://github.com/coder/code-server/pull/8117/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
https://github.com/coder/code-server/pull/8117/files#diff-d50b34386e855c746ccf4a2677f0c271596e178764708ec2ca999dc0eaf4a0f6
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
test/unit/node/cli.test.tshttps://github.com/coder/code-server/pull/8117/files#diff-259502f3217ff57aa0efe8405a96d85558f638b6a1a27a3f772f7dda96ddc8f2
View file https://github.com/b84330808/code-server/blob/2865c87b49156f5e71edec2b9d39aa82aab79418/test/unit/node/cli.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8117/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8117/files#diff-259502f3217ff57aa0efe8405a96d85558f638b6a1a27a3f772f7dda96ddc8f2
https://github.com/coder/code-server/pull/8117/files#diff-259502f3217ff57aa0efe8405a96d85558f638b6a1a27a3f772f7dda96ddc8f2
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
test/unit/node/main.test.tshttps://github.com/coder/code-server/pull/8117/files#diff-b74d21f0ae61db7864c5c15f7a282be31c14c0c5458e381c8d03dc810dadc9b5
View file https://github.com/b84330808/code-server/blob/2865c87b49156f5e71edec2b9d39aa82aab79418/test/unit/node/main.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8117/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8117/files#diff-b74d21f0ae61db7864c5c15f7a282be31c14c0c5458e381c8d03dc810dadc9b5
https://github.com/coder/code-server/pull/8117/files#diff-b74d21f0ae61db7864c5c15f7a282be31c14c0c5458e381c8d03dc810dadc9b5
Please reload this pagehttps://github.com/coder/code-server/pull/8117/files
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.