Prompt to create support bundle before Reload Window on SSH failure

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
devtools

調査の方向性

まず既存の SshProcessMonitor と coder.supportBundle コマンドを読み、次に VS Code 拡張機能が Remote-SSH の状態を監視してログを記録する方法を確認します。列挙された失敗マーカーとプロセスの長時間消失を検出する、ライフサイクルに対して安全な検出器を定義し、通常の再接続や重複したアラートを回避します。通知に Create support bundle と Dismiss が表示され、そのアクションが coder.supportBundle を呼び出せば完了です。

索引モデルが issue の本文から書いたものです。

説明

Split out from coder/vscode-coder#955 point (4).

Summary

Detect Remote-SSH failure conditions before users click VS Code's native "Reload Window" prompt, then offer to create a Coder support bundle while volatile state is still available.

Proposed scope

  • Watch the actual Remote-SSH extension log for known failure markers:
    • permanent error
    • will give up now
    • Unknown reconnection token
    • socketFactory.connect() failed or timed out
    • Time limit reached
    • UnparsableOutput
  • Treat long process-loss/no-recovery windows as a failure signal without firing during normal reconnect cycles.
  • Show a notification:
    • Coder: remote session failed and won't auto-reconnect. Capture diagnostics now?
    • Actions: Create support bundle, Dismiss
  • Running Create support bundle should invoke the existing coder.supportBundle command.
  • Avoid duplicate notifications in a single failing session.

Notes

This is intentionally separate from coder/vscode-coder#955's support bundle collection changes because the current SshProcessMonitor discovers ports/PIDs/proxy-log paths but does not tail or classify log contents. This should be implemented as a lifecycle-safe watcher/detector rather than added opportunistically to bundle collection.

Generated by Coder Agents.

主要言語
TypeScript
スター
131
フォーク
48
平均マージ
4日 16時間
マージ済み PR(30日)
13

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

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

はじめの一歩

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

coder/vscode-coder のほかの issue

coder/vscode-coder の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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