GeezerVison is showing github.com — [ServerErrors][JavaScript] main vs · Issue #64622 · microsoft/TypeScript
[ServerErrors][JavaScript] main vs #64622Activitytypescript-automation commented on Oct 3, 2026 ContributorAuthor More actions Server connection closed prematurely: undefined
unknown
Server connection closed prematurely: undefined
Affected repos
tastejs/todomvc
Raw error text: RepoResults4/tastejs.todomvc.rawError.txt in the artifact folder
Replay commands: RepoResults4/tastejs.todomvc.replay.txt in the artifact folder
Old server result
The old server completed successfully for this repo.
Last few requests
{"kind":"request","method":"textDocument/definition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":14975,"character":4}}}
{"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":14975,"character":62},"context":{"triggerKind":1}}}
{"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js","version":937},"contentChanges":[{"range":{"start":{"line":14978,"character":2},"end":{"line":14978,"character":3}},"text":""}]}}
{"kind":"request","method":"textDocument/definition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":14980,"character":6}}}
Repro steps
#!/bin/bash
git clone https://github.com/tastejs/todomvc --recurse-submodules
git -C "./todomvc" reset --hard ff43b02e59dfa604386bb382034b2cd07c2bcd8a
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169175/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults4.zip "$downloadUrl"
unzip -p RepoResults4.zip RepoResults4/tastejs.todomvc.replay.txt > tastejs.todomvc.replay.txt
npm install --no-save @typescript/server-replay
# Install the repro project's packages
npx tsreplay install ./todomvc
To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.
typescript-automation commented on Oct 3, 2026 ContributorAuthor More actions Server connection closed prematurely: undefined
unknown
Server connection closed prematurely: undefined
Affected repos
gchq/CyberChef
Raw error text: RepoResults3/gchq.CyberChef.rawError.txt in the artifact folder
Replay commands: RepoResults3/gchq.CyberChef.replay.txt in the artifact folder
Old server result
The old server completed successfully for this repo.
Last few requests
{"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/operations/tests/ParseCSR.mjs","version":1324},"contentChanges":[{"range":{"start":{"line":935,"character":17},"end":{"line":935,"character":17}},"text":"b"}]}}
{"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/operations/tests/ParseCSR.mjs"},"position":{"line":940,"character":61}}}
{"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/operations/tests/ParseCSR.mjs","version":1325},"contentChanges":[{"range":{"start":{"line":951,"character":54},"end":{"line":951,"character":54}},"text":"_"}]}}
{"kind":"request","method":"textDocument/definition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/operations/tests/ParseCSR.mjs"},"position":{"line":958,"character":0}}}
Repro steps
#!/bin/bash
git clone https://github.com/gchq/CyberChef --recurse-submodules
git -C "./CyberChef" reset --hard 609951ac13967da6d497e0600c922f56bfd0b7af
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169175/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/gchq.CyberChef.replay.txt > gchq.CyberChef.replay.txt
npm install --no-save @typescript/server-replay
# Install the repro project's packages
npx tsreplay install ./CyberChef
To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.
typescript-automation commented on Oct 3, 2026 ContributorAuthor More actions panic handling request textDocument/formatting: Debug failure. False expression: Token end is child end
textDocument/formatting
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0xdab81b54e08, 0xdab83bb5080)
github.com/microsoft/TypeScript/tsc/internal/debug.Fail(...)
github.com/microsoft/TypeScript/tsc/internal/debug.assertSlow({0xdab8dcfc270?, 0xdab8c7eeff0?, 0x4b?})
github.com/microsoft/TypeScript/tsc/internal/debug.Assert(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab9a1d8d68, 0xdab8cca6238?, 0xdab8dcfc418?, 0x30?, 0xdab8c7eeff0, 0xffffffffffffffff, 0xdab9a1d8d68, 0xdab8a8090e0, 0x3, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func1(0xdab8c7eeff0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).VisitNode(0xdab8dcfc388?, 0x1bc7c48?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNode(0x10100?, 0xd54744?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*BinaryExpression).VisitEachChild(0xdab9a1d8d68, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0x6?, 0xdab9a1d8d68?, 0x0?, 0x0?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab9a1d8d68, 0xdab823a2e08, 0x3, 0x3, 0x0, 0x3)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab9a1d8dd0, 0xdab8cca6238?, 0xdab8dcfc788?, 0x30?, 0xdab9a1d8d68, 0xffffffffffffffff, 0xdab9a1d8dd0, 0xdab8a809050, 0x3, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func1(0xdab9a1d8d68)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).VisitNode(0xdab8dcfc6f8?, 0x1bc7c48?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNode(0x10100?, 0xd54744?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*BinaryExpression).VisitEachChild(0xdab9a1d8dd0, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0x6?, 0xdab9a1d8dd0?, 0x0?, 0xffffffffffffffff?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab9a1d8dd0, 0xdab823a2e08, 0x3, 0x3, 0x0, 0x3)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab9a1d8e38, 0xdab8cca6238?, 0xdab8dcfcaf8?, 0x30?, 0xdab9a1d8dd0, 0xffffffffffffffff, 0xdab9a1d8e38, 0xdab8a808fc0, 0x3, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func1(0xdab9a1d8dd0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).VisitNode(0xdab8dcfca68?, 0x1bc7c48?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNode(0x10100?, 0xd54744?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*BinaryExpression).VisitEachChild(0xdab9a1d8e38, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0x6?, 0xdab9a1d8e38?, 0x0?, 0xffffffffffffffff?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab9a1d8e38, 0xdab823a2e08, 0x3, 0x3, 0x0, 0x3)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab88add888, 0xdab8cca6238?, 0xdab8dcfce68?, 0x30?, 0xdab9a1d8e38, 0xffffffffffffffff, 0xdab88add888, 0xdab8a808f30, 0x3, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func1(0xdab9a1d8e38)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).VisitNode(0xdab8dcfcdd8?, 0x1bc7c48?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNode(0x10100?, 0xd54744?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*BinaryExpression).VisitEachChild(0xdab88add888, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0x6?, 0xdab88add888?, 0x0?, 0x22b?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab88add888, 0xdab823a2e08, 0x3, 0x3, 0x0, 0x3)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab8c50f440, 0x0?, 0x2?, 0x3?, 0xdab88add888, 0xffffffffffffffff, 0xdab8c50f440, 0xdab8a808ea0, 0x3, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func1(0xdab88add888)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).VisitNode(0xdab8a808f20?, 0x90?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNode(0xdab8a808f20?, 0xdab8a808a20?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*ExpressionStatement).VisitEachChild(0xdab8c50f440, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0x6?, 0xdab8c50f440?, 0x0?, 0x10200020101001a?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab8c50f440, 0xdab823a2e08, 0x3, 0x3, 0x0, 0x3)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNode(0xdab93e3e3c0, 0xdab823a2e08, 0x0?, 0x0?, 0x0?, 0xdab8c50f440, 0xffffffffffffffff, 0xdab823a2e08, 0xdab8a808a20, 0x1, ...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processChildNodes(0xdab93e3e3c0, 0xdab823a2e08, 0xdab8a808a20, 0x1, 0x1, 0xdab8ee7a5c0, 0xdab823a2e08, 0x1, 0xdab8a808a20)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute.func2(0xdab8ee7a5c0, 0x4254c5?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitNodes(0xb0000004236a8?, 0x1bc7c48?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*NodeVisitor).visitTopLevelStatements(0xdab8dd1f808?, 0xdab8a808a20?)
github.com/microsoft/TypeScript/tsc/internal/ast.(*SourceFile).VisitEachChild(0xdab823a2e08, 0xdab8d038ae0)
github.com/microsoft/TypeScript/tsc/internal/ast.(*Node).VisitEachChild(...)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).executeProcessNodeVisitor(0xdab93e3e3c0, 0xdab82f846b8?, 0x6e6878?, 0xdab8221b680?, 0x24?)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).processNode(0xdab93e3e3c0, 0xdab823a2e08, 0xdab823a2e08, 0x1, 0x1, 0x0, 0x0)
github.com/microsoft/TypeScript/tsc/internal/format.(*formatSpanWorker).execute(0xdab93e3e3c0, 0x488465?)
github.com/microsoft/TypeScript/tsc/internal/format.newFormattingScanner({0xdab8221b680, 0x273}, 0x1, 0x0, 0x273, 0xdab93e3e3c0)
github.com/microsoft/TypeScript/tsc/internal/format.FormatSpan({0x1be1658, 0xdaba036f5f0}, {0x0, 0x273}, 0xdab823a2e08, 0x0)
github.com/microsoft/TypeScript/tsc/internal/format.FormatDocument({0x1be1658?, 0xdaba036f5f0?}, 0x3?)
github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getFormattingEditsForDocument(0x1c36a00?, {0x1be1658?, 0xdaba036f530?}, 0xdab823a2e08, {{0x0, 0x2, 0x3, 0x2, {0xee77e8, 0x1}, ...}, ...})
github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideFormatDocument(0xdab8770a600, {0x1be1658, 0xdaba036f530}, {0xdab896cbe00?, 0xdab856dd650?}, 0xdab8e8ecd40)
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentFormat(0x0?, {0x1be1658?, 0xdaba036f530?}, 0x406a3b?, 0xffffffffffffffff?)
github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerLanguageServiceDocumentRequestHandler[...].1.1()
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleRequestOrNotification.func1()
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).dispatchLoop.func3()
created by github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).dispatchLoop in goroutine 8
Affected repos
prettier/prettier
Raw error text: RepoResults2/prettier.prettier.rawError.txt in the artifact folder
Replay commands: RepoResults2/prettier.prettier.replay.txt in the artifact folder
Old server result
The old server completed successfully for this repo.
Last few requests
{"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/format/jsx/comments/in-end-tag.js"},"position":{"line":4,"character":0}}}
{"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/format/jsx/comments/in-end-tag.js"},"position":{"line":29,"character":20},"context":{"triggerKind":1}}}
{"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/format/jsx/comments/in-end-tag.js"},"position":{"line":29,"character":27}}}
{"kind":"request","method":"textDocument/formatting","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/format/jsx/comments/in-end-tag.js"},"options":{"tabSize":3,"insertSpaces":true,"trimTrailingWhitespace":true,"trimFinalNewlines":true,"insertFinalNewline":true}}}
Repro steps
#!/bin/bash
git clone https://github.com/prettier/prettier --recurse-submodules
git -C "./prettier" reset --hard d62653b04d2b7521870fdcb9c19c7044f0bace9e
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169175/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/prettier.prettier.replay.txt > prettier.prettier.replay.txt
npm install --no-save @typescript/server-replay
To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.
typescript-automation commented on Oct 3, 2026 ContributorAuthor More actions panic handling request textDocument/diagnostic: flaky diagnostic(s) logged:
textDocument/diagnostic
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x2f41d65a0e08, 0x2f41f5cc15f0)
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentDiagnostic(0x2f41d65a0e08, {0x1be1658?, 0x2f41f5cc16b0?}, 0x2f41e84c1c00, 0x2f41f5cc16e0)
github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerLanguageServiceDocumentRequestHandler[...].1.1()
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleRequestOrNotification.func1()
github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).dispatchLoop.func3()
created by github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).dispatchLoop in goroutine 23
Affected repos
chartjs/Chart.js
Raw error text: RepoResults1/chartjs.Chart.js.rawError.txt in the artifact folder
Replay commands: RepoResults1/chartjs.Chart.js.replay.txt in the artifact folder
Old server result
The old server completed successfully for this repo.
Last few requests
{"kind":"request","method":"textDocument/diagnostic","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/elements/element.bar.js"}}}
{"kind":"request","method":"textDocument/codeLens","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/elements/element.bar.js"}}}
{"kind":"request","method":"textDocument/inlayHint","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/elements/element.bar.js"},"range":{"start":{"line":0,"character":0},"end":{"line":226,"character":0}}}}
{"kind":"request","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/elements/element.bar.js"}}}
Repro steps
#!/bin/bash
git clone https://github.com/chartjs/Chart.js --recurse-submodules
git -C "./Chart.js" reset --hard 7169e65147a47f3720957a6f156a33c838ab9f57
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169175/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults1.zip "$downloadUrl"
unzip -p RepoResults1.zip RepoResults1/chartjs.Chart.js.replay.txt > chartjs.Chart.js.replay.txt
npm install --no-save @typescript/server-replay
To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|