CommandCodeAI / CommandCodeAI/command-code

"Error: Connection Error" facing when Internet Connection goes out

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

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

p1
主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Imported from CommandCodeAI/command-code#3 — originally opened by @zainzafar90 on 2026-03-05T10:51:08Z

Expected Behavior

It should resume the session without any issues, like other agent terminals, so I think there's something that's not resolved as retries are happening

Actual Behavior

As soon as I disconnect the laptop from external screen, or close the lid while session is still on, or the connection with internet breaks, I see this error, even though it tries to reconnect but after 5 attempts it fails with this error

Image
Command Code Version

0.17.9

Operating System

macOS

Terminal/IDE

VSCode

Shell

zsh

Additional context

No response

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

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

はじめの一歩

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

調査の方向性

macOS 上で VSCode と zsh を使用し、セッション中にインターネット接続を切断するか蓋を閉じて、Command Code 0.17.9 の失敗を再現します。セッションの再試行と再接続の処理を追跡します。5 回の試行後に「Error: Connection Error」で終了するのではなく、セッションが再開されれば完了です。

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

評価

技術スタック
macos, vscode, zsh
領域
cli, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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