Frequent UI Freezes (Beach Ball) during Agent Chat sessions on M4 Mac

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

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

評価

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

調査の方向性

このレポートにはソースファイルもテストも記載されていません。まず macOS 26.4、Xcode 26.4、CopilotForXcode v0.47.0 で Agent Chat の長時間セッションを再現し、その後、ビーチボールが表示されたときのアプリケーションの状態を調査します。メインスレッドとメモリの挙動も含めてください。原因を特定し、UI がフリーズしなくなったことを検証できれば完了です。該当する場合は回帰チェックも行います。

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

説明

reviewed

Description
I am experiencing frequent application hangs (spinning wait cursor/beach ball) when using the Agent Chat feature in CopilotForXcode. After a period of active use, the interface becomes unresponsive, necessitating a restart of Xcode to restore functionality.

Environment
Hardware: MacBook Air M4

Memory: 16GB RAM

macOS Version: [macOS 26.4]

Xcode Version: [Xcode 26.4]

CopilotForXcode Version: [v0.47.0]

Steps to Reproduce
Open Xcode and initiate a session with CopilotForXcode.

Engage in a prolonged conversation or multiple successive queries within the Agent Chat.

After some time, the UI freezes, and the "beach ball" appears.

Chat Window remains unresponsive for long time.

Observations
The issue seems to trigger more frequently during long chat histories.

System memory pressure appears manageable, but the communication between the agent and Xcode seems to dead-lock the main thread.

Restarting Xcode is currently the only workaround.

Additional Context
I am looking for advice on whether this is a known memory leak or a threading issue, and if there are any specific settings (e.g., chat history limits or model configurations) that can mitigate this behavior on 16GB RAM systems.

主要言語
Swift
スター
6.3k
フォーク
2k
平均マージ
3日 21時間
マージ済み PR(30日)
2

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

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

はじめの一歩

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

github/CopilotForXcode のほかの issue

github/CopilotForXcode の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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