microsoft / microsoft/TypeScript

Fatal server error: nil Session from `flushChangesLocked()`

Open
#63,833 0 comments 1 reaction 2 assignees View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.