【Bug】每次有新版本提示时,CPU就会占用飙升,而且是持续的

Open
#626 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
electron, next.js, typescript

Research direction

Start by reproducing the CPU spike in the session interface while the new-version notice is present, then compare it with the settings interface, where the report says usage immediately returns to normal. The issue names no files or tests, so trace the session UI and version-notice entry points first. Done means CPU usage stays normal with no tasks running, including when switching between the session and settings interfaces.

Written by the indexing model from the issue text.

Description

P1-performance

问题:每次只要出现新版本,CPU占用就会持续占用很高,但实际上没有运行任何任务
现象:主要是在会话界面有这种现象,无论是否进入对话都是一样会持续高占用。但是切换到设置界面后,CPU占用会立即下去,恢复正常。如果退出设置界面回到会话界面,CPU占用会立即升上去。这是一个长期的问题,以往的版本都有这种现象。

Image
Dominant language
TypeScript
Stars
6.5k
Forks
697
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from op7418/CodePilot

All issues in op7418/CodePilot

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.