Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`coder ssh` should exit when its parent process dies

オープン
#1,217 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@johnstcn がすでに取り組んでいます。

2026年1月7日 から。

評価

この issue はまだ評価されていません。

説明

Problem:

We observed an internal user having a large number of orphaned coder ssh processes running on their laptop.
This was contributing to increased load on coderd.
Our hypothesis is that the user's editor (Cursor) was automatically running a setup script over SSH that invoked coder ssh (via ProxyCommand in .ssh/config) and exiting with an error.

Steps to reproduce:

  1. Run a new shell and get its PID
bash
$ echo $$
12345
  1. SSH into a workspace and run a long-lived command
coder ssh my-workspace sleep infinity
  1. Validate that the coder ssh command is running
ps -eo pid,ppid,command | grep [c]oder
12346 12345 coder ssh my-workspace sleep infinity
  1. Kill the SSH process' parent (the bash shell)
kill -9 12345
  1. Observe the coder ssh process still running but now owned by PID 1
ps -eo pid,ppid,command | grep [c]oder
12346 1 coder ssh my-workspace sleep infinity
主要言語
言語のデータがありません
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/internal のほかの issue

coder/internal の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。