github / github/app

Error toast after deleting sessions. - Failed to delete session: git ["fsmonitor--daemon", "stop"] failed: fatal: fsmonitor--daemon is not running

Open
#3,156 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

I haven't been able to figure out why this is happening but I often see the following error after deleting a session from the UI.

```
Delete failed
Failed to delete session: git ["fsmonitor--daemon", "stop"] failed: fatal: fsmonitor--daemon is not running
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing session deletion in the GitHub Copilot app and trace the cleanup path that invokes Git fsmonitor. Confirm whether the error occurs when fsmonitor--daemon is not running, then verify that deleting a session succeeds without showing an erroneous failure toast.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.