github / github/app

[Bug] 1.1.3 session repair health checks fail during concurrent CLI startup timeouts

オープン
#2,565 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bugs
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Short summary

After the in-app update to 1.1.3 on Windows, existing sessions were shown as needing repair and their health checks intermittently succeeded and failed. The app repeatedly times out starting bundled Copilot CLI processes used for skills, MCP configuration, and project canvas-catalog probes.

### Affected version or release

GitHub Copilot app 1.1.3 on Windows 11 ARM64
Bundled Copilot CLI: 1.0.78-2

### Installation context

The app was updated in place to 1.1.3. The local database contains 57 sessions across 12 projects. Several projects are local Windows paths and several are WSL UNC paths.

### What happened?

Immediately after updating, the app reported that previous sessions could not be connected until repaired. Repair/health checks alternated between success and failure.

The database migration itself succeeded (`from_version=60 to_version=75`), and `PRAGMA quick_check` reports `ok` for both `data.db` and `session-store.db`. Authentication checks also pass.

During startup the app launches many bundled `copilot.exe --server --stdio --no-auto-update` child processes concurrently. Some start, while others hit the fixed 30-second timeout. Representative sanitized log messages:

```text
ERROR github_app::handlers::skills_config: failed to list global skills error=operation timed out: starting the skills config client exceeded 30s
WARN github_app::session::manager::cli_pool: cold CLI spawn/handshake timed out; killing the partial process and failing the acquisition timeout_s=30
WARN github_app::session::manager::canvas_catalog: project canvas catalog probe failed error=operation timed out: CLI process startup did not complete within 30s
ERROR github_app::handlers::mcp_config: failed to list MCP config servers error=operation timed out: starting the MCP config client exceeded 30s
```

A complete silent uninstall followed by a fresh installation of 1.1.3 from the official WinGet package did not resolve the timeouts. The session databases remained intact and all 57 session records are still present.

### Steps to reproduce

1. Have an existing installation with multiple local/WSL projects and prior sessions.
2. Update in-app to version 1.1.3.
3. Relaunch the app.
4. Observe previous sessions marked as requiring repair and intermittent health-check results.
5. Inspect the app log while startup probes run.

### Expected behavior

Existing sessions should reconnect after a successful database migration. Startup health/catalog probes should not fail because multiple bundled CLI processes cannot finish their handshake within 30 seconds.

### Additional context

The closed migration issue #14 recommends uninstalling and reinstalling the latest version. That remediation was attempted here but the CLI startup/handshake timeouts persisted. A pre-update database backup was created automatically, and an additional manual backup was made before reinstalling.

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

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

調査の方向性

Start with the logged skills_config, cli_pool, canvas_catalog, and mcp_config paths, then reproduce startup with multiple local and WSL projects while inspecting concurrent bundled CLI handshakes. Check the fixed 30-second startup timeout and the session health-check sequence. Done means existing sessions reconnect and the startup probes complete without intermittent CLI timeouts.

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

評価

技術スタック
cli
領域
cli, databases, desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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