github / github/app

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

Offen
#2,565 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bugs
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cli
Bereich
cli, databases, desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.