Folders added to the session gets removed

Open
#1,004 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java
Domain
devtools

Research direction

Start by reproducing the reported behavior in the Copilot session directory, adding a folder under .copilot/session-state/ and observing when it disappears. Check the session cleanup behavior and determine whether user-added folders are intentionally removed; done means the behavior is fixed or clearly documented.

Written by the indexing model from the issue text.

Description

question runtime runtime triage

I have an application that adds folders to the copilot session directory (i.e. .copilot\session-state\5c3c2c04-099c-4fd2-bfd5-3395bd72cd15)

I have noticed on a few occasions now that the folders I added would disappear.

Is this expected behaviour?


The reason I add the folders here is that they contain session-based files, so it makes sense to place them in the Copilot session folder, where they will be cleaned up along with the sessions.

Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 12h
Merged PRs (30d)
133

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.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.