Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Copilot TUI hogs CPU

未關閉
#4,750 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github, shell

研究方向

在 Ubuntu 24.04 上使用 GitHub Copilot CLI 1.0.83 重現該報告,先觀察閒置的 TUI,然後執行一或兩個 prompt。檢查提供的 process-1788769402724-57168.tar.gz 日誌,並比較 prompt 前後的 CPU 使用率。開啟並使用 prompt 後,閒置 TUI 的 CPU 使用率可忽略不計,即表示完成。

由索引模型根據 Issue 內容生成。

描述

area:terminal-rendering
Describe the bug

When I open copilot TUI, it hogs one CPU (~6-7% on a 16 core machine).

After I run a prompt, that number multiplies to e.g. 2, 3 or 4 CPUs hogged while the TUI sits idle.

Affected version

GitHub Copilot CLI 1.0.83.

Steps to reproduce the behavior
  1. start copilot TUI, observe CPU usage (sometimes i need to type a bit in the prompt box for the issue to appear)
  2. run a prompt or two, observe CPU usage
Expected behavior

copilot TUI CPU usage is negligible while the program sits idle.

Additional context

Ubuntu 24.04, x86_64, GitHub Copilot CLI 1.0.83..

Logs below. I opened a session, typed in the prompt box (already 1 CPU hogged at that point), then gave a plan command. after the plan.md was written and the TUI was idle, it used 3-4 CPUs.

process-1788769402724-57168.tar.gz

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
17 小時 6 分鐘
30 天內合併 PR
5

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。