microsoft / microsoft/TypeScript
Fatal server error: nil Session from `flushChangesLocked()`
Open
@DanielRosenwasser is already working on this.
Since Jun 17, 2026.
Crash
Needs More Info
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
No repro, but stack trace is
```
internal/project.(*Session).flushChangesLocked()
internal/project/session.go:1440
internal/project.(*Session).flushChanges()
internal/project/session.go:1421
internal/project.(*Session).ScheduleSnapshotUpdate.func1()
internal/project/session.go:496
internal/project/background.(*Queue).Enqueue.func1()
internal/project/background/queue.go:38
```
Looking like we're somehow dealing with a `nil` session.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.