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

Desktop-app sessions die a few minutes after spawn

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

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

評価

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

調査の方向性

Start by reproducing the failure using the listed worktree-session steps and inspect the process logs for copilot_runtime::session::mcp::tool_catalog and remote::api_session_exporter. Trace how the GitHub credential registration is used by github-mcp-server after spawn and how a stale catalog affects later turns. Done means the credential failure no longer terminates the app-hosted session or makes subsequent turns unusable.

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

説明

Title: Desktop-app sessions die a few minutes after spawn: "GitHub credential registration is no longer available for this session" → stale github-mcp-server catalog treated as fatal

Environment

  • GitHub Copilot desktop app 1.1.22 (commit c3daa01), macOS (arm64), bundled CLI 1.0.84-5

  • Account: TwoPatient (github.com); gh auth status reports valid tokens (GH_TOKEN and keyring)

  • Standalone CLI 1.0.86 (/opt/homebrew/bin/copilot) is not affected

Summary

In app-hosted sessions, the GitHub credential registration the CLI server uses for the built-in github-mcp-server (dynamic header provider) disappears a few minutes after the process spawns. github-mcp-server initialises fine at warm-up, but the first call to any of its tools (web_search, github-mcp-server-*) fails with a header-provider error, the MCP tool catalog is marked stale, and every subsequent model turn fails until the session ends with sessionEnd reason: error. Background sub-agents in the same process die too. App restarts (3×) did not help.

Steps to reproduce

  1. Create a new worktree session in the app; wait ~2–3 minutes.

  2. Ask the agent to call web_search (or any github-mcp-server-* tool).

  3. Observe the tool error, then repeated session errors on the next turns, then the session terminates.

Actual

Tool result:

Plain text

MCP tool catalog changed before tool "github-mcp-server-web_search" could be invoked: Failed to verify cached MCP tools: MCP request failed: Transport send error: unexpected server response: dynamic header provider failed: GitHub credential registration is no longer available for this session

Followed by 5 × session.error:

Plain text

Execution failed: Failed to refresh MCP tools for server github-mcp-server; the last catalog is stale

then session.end reason: error — CLI process exits, worktree session unusable.

Process log (copilot_runtime::session::mcp::tool_catalog): 30+ Failed to list MCP tools for github-mcp-server; continuing with the previously listed tools: … GitHub credential registration is no longer available for this session. Processes that never call github-mcp tools show the same root symptom non-fatally in remote::api_session_exporter: remote session batch flush failed {"error":"GitHub credential authority error: GitHub token provider registration \"<uuid>\" is unavailable"} from ~2 s after spawn.


Field Value
App version 1.1.22
OS macOS 27.0.0
Theme GitHub
Path /chat
Tenure Week 19
主要言語
言語のデータがありません
スター
2.1k
フォーク
157
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

github/app のほかの issue

github/app の issue をすべて見る

似ている issue

Security の issue をもっと見る

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

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