github / github/copilot-cli

Sidebar flashes deleted session IDs

Open
#4,676 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:sessions area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the bug

The 'sidebar-sessions-state' json file does not seem to remove old session. The sidebar will periodically flash the session IDs of outdated sessions.

Affected version

GitHub Copilot CLI 1.0.81

Steps to reproduce the behavior
  1. Prune old sessions
  2. Open sidebar
  3. Notice sidebar periodically flashes, especially when there's mouse input
Expected behavior

Old sessions are removed from session file properly

Additional context

No response

Contributor guide

Open the 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.

Research direction

Start by locating the code that writes and reads the “sidebar-sessions-state” JSON file, then reproduce the issue by pruning old sessions and opening the sidebar, including with mouse input. Done means outdated session IDs are removed from the file and no longer flash in the sidebar.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.