Skip to content

[ServerErrors][JavaScript] main #65711

Backlog
Backlog

Description

@typescript-automation

The following errors were reported by main
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline

This run considered 300 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 238 of 300 visited repos
Outcome Count
Detected interesting changes 9
Detected no interesting changes 229
Timeout 29
Unknown failure 33

Seed: AEVjE*A6!jO.L{auCcG%

Activity

  1. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/diagnostic: flaky diagnostic(s) logged:

    textDocument/diagnostic
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x31f86e06e08, 0x31f8a30d800)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentDiagnostic(0x31f86e06e08, {0x1cd4620?, 0x31f8ae382d0?}, 0x31f8a20b600, 0x31f8ae38300)
    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/controllers/controller.bubble.js"}}}
    {"kind":"request","method":"textDocument/codeLens","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/controllers/controller.bubble.js"}}}
    {"kind":"request","method":"textDocument/inlayHint","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/controllers/controller.bubble.js"},"range":{"start":{"line":0,"character":0},"end":{"line":179,"character":0}}}}
    {"kind":"request","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/controllers/controller.bubble.js"}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/chartjs/Chart.js --recurse-submodules
    git -C "./Chart.js" reset --hard 225c3e808abc2d68b4c7a6c0f7e792d5c902226e
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/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.

  2. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/prepareCallHierarchy: did not expect KindBinaryExpression to have KindIdentifier in its trivia

    textDocument/prepareCallHierarchy
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0xbf71f0c008, 0xbf84890180)
    github.com/microsoft/TypeScript/tsc/internal/astnav.getTokenAtPosition(0xbf84820388, 0x298f, 0x0, 0x1cd7c18)
    github.com/microsoft/TypeScript/tsc/internal/astnav.GetTouchingPropertyName(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).callHierarchyDeclarations(0xbf81189c00?, 0xbf77244500?, {0x0?, 0x0?}, 0xbf80e95008, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvidePrepareCallHierarchy(0xbf81189c00, {0x1cd4620?, 0xbf842830b0?}, {0xbf77244500?, 0x46?}, {0x0?, 0x0?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handlePrepareCallHierarchy(0x0?, {0x1cd4620?, 0xbf846710b0?}, 0x0?, 0x0?)
    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 7
    

    Affected repos

    Modernizr/Modernizr Raw error text: RepoResults5/Modernizr.Modernizr.rawError.txt in the artifact folder
    Replay commands: RepoResults5/Modernizr.Modernizr.replay.txt in the artifact folder

    Old server result

    The old server completed successfully for this repo.

    Last few requests

    {"kind":"request","method":"textDocument/codeAction","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/html5shiv.js"},"range":{"start":{"line":304,"character":11},"end":{"line":304,"character":11}},"context":{"diagnostics":[],"only":["refactor"]}}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/html5shiv.js"},"position":{"line":304,"character":11},"context":{"triggerKind":1}}}
    {"kind":"request","method":"completionItem/resolve","params":{"label":"window","kind":6,"sortText":"11","commitCharacters":[".",",",";"],"data":{"fileName":"@PROJECT_ROOT@/src/html5shiv.js","position":10638,"name":"window"}}}
    {"kind":"request","method":"textDocument/prepareCallHierarchy","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/html5shiv.js"},"position":{"line":304,"character":12}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/Modernizr/Modernizr --recurse-submodules
    git -C "./Modernizr" reset --hard 612ec65ccdba311e8b1153b1076d18f0251943f6
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults5.zip "$downloadUrl"
    unzip -p RepoResults5.zip RepoResults5/Modernizr.Modernizr.replay.txt > Modernizr.Modernizr.replay.txt
    npm install --no-save @typescript/server-replay
    # Install the repro project's packages
    npx tsreplay install ./Modernizr

    To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.

  3. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/diagnostic: flaky diagnostic(s) logged:

    textDocument/diagnostic
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x28d05e24ee08, 0x28d069e354a0)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentDiagnostic(0x28d05e24ee08, {0x1cd4620?, 0x28d069e35560?}, 0x28d0689aa000, 0x28d069e35590)
    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

    ajaxorg/ace Raw error text: RepoResults5/ajaxorg.ace.rawError.txt in the artifact folder
    Replay commands: RepoResults5/ajaxorg.ace.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/autocomplete.js"}}}
    {"kind":"request","method":"textDocument/codeLens","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/autocomplete.js"}}}
    {"kind":"request","method":"textDocument/inlayHint","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/autocomplete.js"},"range":{"start":{"line":0,"character":0},"end":{"line":1136,"character":0}}}}
    {"kind":"request","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/autocomplete.js"}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/ajaxorg/ace --recurse-submodules
    git -C "./ace" reset --hard 2e1b35190636654b14b089383e031ff3f065369b
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults5.zip "$downloadUrl"
    unzip -p RepoResults5.zip RepoResults5/ajaxorg.ace.replay.txt > ajaxorg.ace.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.

  4. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/typeDefinition: did not expect KindBinaryExpression to have KindIdentifier in its trivia

    textDocument/typeDefinition
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x184d4ef96e08, 0x184d5883c5a0)
    github.com/microsoft/TypeScript/tsc/internal/astnav.getTokenAtPosition(0x184d592f6388, 0x1c6e, 0x0, 0x1cd7c18)
    github.com/microsoft/TypeScript/tsc/internal/astnav.GetTouchingPropertyName(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideTypeDefinitionAtPosition(0x184d5a9fb600, {0x1cd4620, 0x184d592e7bf0}, 0x184d5931a408, 0x184d592f6388, 0x503c25?, 0x1)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideTypeDefinition(0x184d5a9fb600, {0x1cd4620, 0x184d592e7bf0}, {0x184d55470480, 0x4c}, {0xee?, 0x9?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleTypeDefinition(0x0?, {0x1cd4620?, 0x184d592e7bf0?}, 0x184d62103a80?, 0x184d504c2e60?)
    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 22
    

    Affected repos

    moment/moment Raw error text: RepoResults2/moment.moment.rawError.txt in the artifact folder
    Replay commands: RepoResults2/moment.moment.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@/src/test/moment/create.js","version":387},"contentChanges":[{"range":{"start":{"line":223,"character":4},"end":{"line":223,"character":5}},"text":""}]}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/test/moment/create.js"},"position":{"line":230,"character":26}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/test/moment/create.js","version":388},"contentChanges":[{"range":{"start":{"line":238,"character":3},"end":{"line":238,"character":3}},"text":"@"}]}}
    {"kind":"request","method":"textDocument/typeDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/test/moment/create.js"},"position":{"line":238,"character":9}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/moment/moment --recurse-submodules
    git -C "./moment" reset --hard c2a703a4d84aa57ee2722ff8fb4a8016279fb3c4
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults2.zip "$downloadUrl"
    unzip -p RepoResults2.zip RepoResults2/moment.moment.replay.txt > moment.moment.replay.txt
    npm install --no-save @typescript/server-replay
    # Install the repro project's packages
    npx tsreplay install ./moment

    To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.

  5. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request custom/textDocument/sourceDefinition: path must not contain a URL query or fragment

    custom/textDocument/sourceDefinition
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x3d0a14dea008, 0x3d0a3084c7b0)
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedPath({0x3d0a313bcbc6, 0x1da1}, {0x3d0a30687600, 0x32})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedFilePath(...)
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ResolveFile({0x3d0a30687600, 0x32}, {0x3d0a313bcbc6, 0x1da1})
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromEncodedPaths({0x3d0a30687600, 0x32}, {0x3d0a313bcbc6, 0x1da1}, {0x3d0a313bcbc6, 0x1da1}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromDirectoryPath({0x3d0a30687600, 0x32}, {0x3d0a313bcbc6, 0x1da1})
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromSpecificNodeModulesDirectory(...)
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromImmediateNodeModulesDirectory(0x3d0a309a1e60, 0x4, {0x3d0a14d62de0?, 0x1da1?}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).tryResolveFromTypingsLocation(0x3d0a2f7a7500, {0x3d0a313bcbc6, 0x1da1}, {0x3d0a28055ef7, 0x32}, 0x3d0a30d180b0, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).resolveModuleName(0x3d0a2f7a7500, {0x3d0a313bcbc6, 0x1da1}, {0x3d0a28055ef7, 0x3c}, {0x3d0a28055ef7, 0x32}, 0x63, {0x0, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).ResolveModuleName(0x3d0a2f7a7500, {0x3d0a313bcbc6, 0x1da1}, {0x3d0a28055ef7, 0x3c}, 0x63, {0x0, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*sourceDefResolver).resolveImplementationFrom(0x3d0a30b9aaa0, {0x3d0a313bcbc6, 0x1da1}, {0x3d0a28055ef7, 0x3c}, 0x344f1310?)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*sourceDefResolver).resolveImplementation(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSourceDefinitionAtPosition(0x3d0a30d16200, {0x1cd4620, 0x3d0a30cc39b0}, 0x3d0a2f485c08, 0x3d0a307fe388, 0x6e5)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideSourceDefinition(0x3d0a30d16200, {0x1cd4620, 0x3d0a30cc39b0}, {0x3d0a30b39090?, 0x43?}, {0x34?, 0x2?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleSourceDefinition(0x3d0a2693c770?, {0x1cd4620, 0x3d0a30cc39b0}, 0x3d0a30d16200, 0x3d0a30bf34e8)
    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 7
    

    Affected repos

    gorhill/uBlock Raw error text: RepoResults1/gorhill.uBlock.rawError.txt in the artifact folder
    Replay commands: RepoResults1/gorhill.uBlock.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@/src/js/ublock.js","version":3319},"contentChanges":[{"range":{"start":{"line":45,"character":6},"end":{"line":45,"character":6}},"text":"."}]}}
    {"kind":"request","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/js/ublock.js"},"position":{"line":46,"character":46}}}
    {"kind":"request","method":"textDocument/implementation","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/js/ublock.js"},"position":{"line":46,"character":72}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/js/ublock.js"},"position":{"line":52,"character":2}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/gorhill/uBlock --recurse-submodules
    git -C "./uBlock" reset --hard 141c3192559c86270462a580e91480a4aa70b7d8
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults1.zip "$downloadUrl"
    unzip -p RepoResults1.zip RepoResults1/gorhill.uBlock.replay.txt > gorhill.uBlock.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.

  6. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/documentHighlight: did not expect KindBinaryExpression to have KindIdentifier in its trivia

    textDocument/documentHighlight
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x3dc012fac008, 0x3dc01e0ceab0)
    github.com/microsoft/TypeScript/tsc/internal/astnav.getTokenAtPosition(0x3dc01716c008, 0x83f67, 0x0, 0x1cd7c18)
    github.com/microsoft/TypeScript/tsc/internal/astnav.GetTouchingPropertyName(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideDocumentHighlightsAtPosition(0x3dc024da2400, {0x1cd4620, 0x3dc0204e8a50}, {0x3dc012e27c00, 0x74}, 0x83f67, 0x3dc0220c7408, 0x3dc01716c008, {0x0, 0x0, ...})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideDocumentHighlightsWorker(0x3dc024da2400, {0x1cd4620, 0x3dc0204e8a50}, {0x3dc012e27c00, 0x74}, {0x17580000?, 0x3dc0?}, {0x0, 0x0, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideDocumentHighlights(0x0?, {0x1cd4620?, 0x3dc0204e8a50?}, {0x3dc012e27c00, 0x74}, {0xcc1295?, 0x0?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentHighlight(0x3dc017580000?, {0x1cd4620?, 0x3dc0204e8a50?}, 0x3dc01a8a45a0?, 0x0?)
    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 34
    

    Affected repos

    nwjs/nw.js Raw error text: RepoResults3/nwjs.nw.js.rawError.txt in the artifact folder
    Replay commands: RepoResults3/nwjs.nw.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/references","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/test/sanity/react-devtools-extension/react-devtools/build/panel.js"},"position":{"line":15636,"character":4},"context":{"includeDeclaration":true}}}
    {"kind":"request","method":"textDocument/typeDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/test/sanity/react-devtools-extension/react-devtools/build/panel.js"},"position":{"line":15636,"character":4}}}
    {"kind":"request","method":"textDocument/selectionRange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/test/sanity/react-devtools-extension/react-devtools/build/panel.js"},"positions":[{"line":15636,"character":4}]}}
    {"kind":"request","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/test/sanity/react-devtools-extension/react-devtools/build/panel.js"},"position":{"line":15636,"character":5}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/nwjs/nw.js --recurse-submodules
    git -C "./nw.js" reset --hard c79ad894f0bebf772ae62288bb730d04d2ea51bd
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults3.zip "$downloadUrl"
    unzip -p RepoResults3.zip RepoResults3/nwjs.nw.js.replay.txt > nwjs.nw.js.replay.txt
    npm install --no-save @typescript/server-replay
    # Install the repro project's packages
    npx tsreplay install ./nw.js

    To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.

  7. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    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/references","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":20925,"character":245},"context":{"includeDeclaration":true}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":20925,"character":251}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js","version":1225},"contentChanges":[{"range":{"start":{"line":20925,"character":253},"end":{"line":20925,"character":253}},"text":"t"}]}}
    {"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":20925,"character":281},"verbosityLevel":4}}
    

    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/170482/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.

  8. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request custom/textDocument/sourceDefinition: did not expect KindBinaryExpression to have KindIdentifier in its trivia

    custom/textDocument/sourceDefinition
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0xd1d076ac008, 0xd1d12070d50)
    github.com/microsoft/TypeScript/tsc/internal/astnav.getTokenAtPosition(0xd1d1155b888, 0x6d29, 0x0, 0x1cd7c18)
    github.com/microsoft/TypeScript/tsc/internal/astnav.GetTouchingPropertyName(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSourceDefinitionAtPosition(0xd1d11af8400, {0x1cd4620, 0xd1d11ad14d0}, 0xd1d1160bc08, 0xd1d1155b888, 0x6d29)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideSourceDefinition(0xd1d11af8400, {0x1cd4620, 0xd1d11ad14d0}, {0xd1d28e50a20?, 0x4f?}, {0x44c?, 0x4?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleSourceDefinition(0xd1d11d58c00?, {0x1cd4620, 0xd1d11ad14d0}, 0xd1d11af8400, 0xd1d11aaceb8)
    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 34
    

    Affected repos

    mrdoob/three.js Raw error text: RepoResults1/mrdoob.three.js.rawError.txt in the artifact folder
    Replay commands: RepoResults1/mrdoob.three.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/typeDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/math/MathNode.js"},"position":{"line":1100,"character":3}}}
    {"kind":"request","method":"textDocument/prepareCallHierarchy","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/math/MathNode.js"},"position":{"line":1100,"character":3}}}
    {"kind":"request","method":"textDocument/codeAction","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/math/MathNode.js"},"range":{"start":{"line":1100,"character":3},"end":{"line":1100,"character":3}},"context":{"diagnostics":[],"only":["refactor"]}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/math/MathNode.js"},"position":{"line":1100,"character":4}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/mrdoob/three.js --recurse-submodules
    git -C "./three.js" reset --hard 964dce8ad33612b0f3b700da0d12b46420508301
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults1.zip "$downloadUrl"
    unzip -p RepoResults1.zip RepoResults1/mrdoob.three.js.replay.txt > mrdoob.three.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.

  9. typescript-automation commented on Nov 27, 2026

    @typescript-automation
    ContributorAuthor

    panic handling request textDocument/implementation: Panics occurred during cross-project handling: [panic handling request: runtime error: slice bounds out of range [1:0]

    textDocument/implementation
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).handleCrossProject[...].func2.1.1()
    github.com/microsoft/TypeScript/tsc/internal/ast.TryGetAmbientModuleNameFromSymbolName({0x3ec9e671b3fd?, 0x490100?})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*refState).createSearch(0x3ec9e15a75c0, 0x3ec9e275cf18, 0x3ec9e3135b48, 0x0, {0x0?, 0x3ec9ebe92d50?}, {0x3ec9f3ae5948, 0x1, 0x1})
    github.com/microsoft/TypeScript/tsc/internal/ls.getReferencedSymbolsForSymbol({0x1cd4620, 0x3ec9ebe92d50}, 0x3ec9f9571008, 0x3ec9e3135b48, 0x3ec9e275cf18, {0x3ec9df6bca08, 0x34f, 0x34f}, 0x3ec9f3ae5938, 0x3ec9e6169808, ...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getReferencedSymbolsForNode(0x3ec9e1457000, {0x1cd4620, 0x3ec9ebe92d50}, 0xb3fc, 0x3ec9e275cf18, 0x3ec9f9571008, {0x3ec9df6bca08, 0x34f, 0x34f}, {0x0, ...})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getSymbolAndEntries(0x3ec9e8eb5188?, {0x1cd4620?, 0x3ec9ebe92d50?}, 0x1cd7c18?, 0x3ec9f74786b0?, 0x3ec9f3870d30?, 0x48?, 0x5c?)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSymbolsAndEntriesAtPosition(0x3ec9e1457000, {0x1cd4620, 0x3ec9ebe92d50}, 0x3ec9f9571008, 0x3ec9e8eb5188, 0xb3fc, 0x0, 0x1)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSymbolsAndEntries(0x3ec9e1457000, {0x1cd4620, 0x3ec9ebe92d50}, {0x3ec9e1c96460?, 0x0?}, {0x0?, 0x0?}, 0x0, 0x1)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).handleCrossProject[...].func2.1()
    github.com/microsoft/TypeScript/tsc/internal/core.(*parallelWorkGroup).Queue.func1()
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x3ec9ddf14008, 0x3ec9e38f1290)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).handleCrossProject[...](0xfd5f60, {0x1cd4620, 0x3ec9ebe92d50}, 0x3ec9ebe92db0, {0x1cd4c08, 0x3ec9ebe92e40}, 0x1cd9138, 0x1cd9190, 0x0, 0x1, ...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideImplementationsEx(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideImplementations(0x4c8a99?, {0x1cd4620?, 0x3ec9ebe92d50?}, 0x3ec9de1fbe48?, {0x1cd4c08?, 0x3ec9ebe92e40?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerMultiProjectReferenceRequestHandler[...].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 6
    

    Affected repos

    impress/impress.js Raw error text: RepoResults3/impress.impress.js.rawError.txt in the artifact folder
    Replay commands: RepoResults3/impress.impress.js.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@/extras/mathjax/config/TeX-MML-AM_CHTML-full.js","version":7882},"contentChanges":[{"range":{"start":{"line":55,"character":2208},"end":{"line":55,"character":2209}},"text":""}]}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/extras/mathjax/config/TeX-MML-AM_CHTML-full.js"},"position":{"line":55,"character":2291},"context":{"triggerKind":1}}}
    {"kind":"request","method":"completionItem/resolve","params":{"label":"d","kind":6,"sortText":"11","textEdit":{"newText":"d","insert":{"start":{"line":55,"character":2290},"end":{"line":55,"character":2291}},"replace":{"start":{"line":55,"character":2290},"end":{"line":55,"character":2291}}},"commitCharacters":[".",",",";"],"data":{"fileName":"@PROJECT_ROOT@/extras/mathjax/config/TeX-MML-AM_CHTML-full.js","position":45614,"name":"d"}}}
    {"kind":"request","method":"textDocument/implementation","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/extras/mathjax/config/TeX-MML-AM_CHTML-full.js"},"position":{"line":55,"character":2753}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/impress/impress.js --recurse-submodules
    git -C "./impress.js" reset --hard b44b9694b41fd2c076c3d1ad7a0c3e0cea9eb262
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170482/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults3.zip "$downloadUrl"
    unzip -p RepoResults3.zip RepoResults3/impress.impress.js.replay.txt > impress.impress.js.replay.txt
    npm install --no-save @typescript/server-replay
    # Install the repro project's packages
    npx tsreplay install ./impress.js

    To run the repro, use the "Launch replay test" launch configuration in your local copy of native TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions