← 输入框|github.com|刷新
Skip to content

[ServerErrors][JavaScript] main #65488

Open

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 242 of 300 visited repos
Outcome Count
Detected interesting changes 4
Detected no interesting changes 238
Timeout 28
Unknown failure 30

Seed: __^hMFWFNqZy'^0,iFS&

Activity

  1. typescript-automation commented on Nov 13, 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(0x3df03e3a0e08, 0x3df0423c4cf0)
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedPath({0x3df041bac395, 0x340}, {0x3df041c47cc0, 0x32})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedFilePath(...)
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ResolveFile({0x3df041c47cc0, 0x32}, {0x3df041bac395, 0x340})
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromEncodedPaths({0x3df041c47cc0, 0x32}, {0x3df041bac395, 0x340}, {0x3df041bac395, 0x340}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromDirectoryPath({0x3df041c47cc0, 0x32}, {0x3df041bac395, 0x340})
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromSpecificNodeModulesDirectory(...)
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromImmediateNodeModulesDirectory(0x3df042c04bd0, 0x4, {0x3df03e2b8b70?, 0x340?}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).tryResolveFromTypingsLocation(0x3df04fab3d40, {0x3df041bac395, 0x340}, {0x3df0938c6687, 0x46}, 0x3df042b76a50, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).resolveModuleName(0x3df04fab3d40, {0x3df041bac395, 0x340}, {0x3df0938c6687, 0x6b}, {0x3df0938c6687, 0x46}, 0x63, {0x0, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).ResolveModuleName(0x3df04fab3d40, {0x3df041bac395, 0x340}, {0x3df0938c6687, 0x6b}, 0x63, {0x0, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*sourceDefResolver).resolveImplementationFrom(0x3df0428135e0, {0x3df041bac395, 0x340}, {0x3df0938c6687, 0x6b}, 0x0?)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*sourceDefResolver).resolveImplementation(...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSourceDefinitionAtPosition(0x3df046c4b200, {0x1cac718, 0x3df042c46d80}, 0x3df046f52008, 0x3df041ab7c08, 0x1bd)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideSourceDefinition(0x3df046c4b200, {0x1cac718, 0x3df042c46d80}, {0x3df062d4e080?, 0x72?}, {0x8?, 0x29?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleSourceDefinition(0x3df059e42708?, {0x1cac718, 0x3df042c46d80}, 0x3df046c4b200, 0x3df042b09e60)
    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 24
    

    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/definition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js"},"position":{"line":6,"character":54}}}
    {"kind":"request","method":"textDocument/signatureHelp","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js"},"position":{"line":6,"character":79},"context":{"triggerCharacter":",","triggerKind":2,"isRetrigger":false}}}
    {"kind":"request","method":"textDocument/typeDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js"},"position":{"line":8,"character":17}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js"},"position":{"line":8,"character":41}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/mrdoob/three.js --recurse-submodules
    git -C "./three.js" reset --hard acf77e4c7ea413a0a9638baacef3d78e254b2cac
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170131/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
    # Install the repro project's packages
    npx tsreplay install ./three.js

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

  2. typescript-automation commented on Nov 13, 2026

    @typescript-automation
    ContributorAuthor

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

    textDocument/diagnostic
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x2804124d2008, 0x280412e22de0)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentDiagnostic(0x2804124d2008, {0x1cac718?, 0x28042b4df950?}, 0x28041350ac00, 0x28042b4df980)
    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

    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":169,"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 71d44219e79e3ac41e6f9dc907022eebf574868d
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/170131/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
    # Install the repro project's packages
    npx tsreplay install ./Chart.js

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

  3. typescript-automation commented on Nov 13, 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/implementation","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":21812,"character":0}}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"position":{"line":21812,"character":39},"context":{"triggerKind":1}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js","version":1352},"contentChanges":[{"range":{"start":{"line":21822,"character":55},"end":{"line":21822,"character":55}},"text":"."}]}}
    {"kind":"request","method":"textDocument/rangeFormatting","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/examples/typescript-react/js/bundle.js"},"range":{"start":{"line":21822,"character":0},"end":{"line":21832,"character":0}},"options":{"tabSize":2,"insertSpaces":true}}}
    

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

  4. typescript-automation commented on Nov 13, 2026

    @typescript-automation
    ContributorAuthor

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

    unknown
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).handleCrossProject[...].func2.1.1()
    	github.com/microsoft/TypeScript/tsc/internal/ast.TryGetAmbientModuleNameFromSymbolName({0x3d3f086f0824?, 0x490001?})
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*refState).createSearch(0x3d3efafd32c0, 0x3d3f090f1400, 0x3d3f09619070, 0x0, {0x0?, 0x3d3f08d42de0?}, {0x3d3f08bfa898, 0x1, 0x1})
    	github.com/microsoft/TypeScript/tsc/internal/ls.getReferencedSymbolsForSymbol({0x1cac718, 0x3d3f08d42de0}, 0x3d3f062d6c08, 0x3d3f09619070, 0x3d3f090f1400, {0x3d3f09662008, 0x306, 0x32f}, 0x3d3f08bfa888, 0x3d3f09121008, ...)
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getReferencedSymbolsForNode(0x3d3f08d34a00, {0x1cac718, 0x3d3f08d42de0}, 0x8825, 0x3d3f090f1400, 0x3d3f062d6c08, {0x3d3f09662008, 0x306, 0x32f}, {0x0, ...})
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getSymbolAndEntries(0x3d3f090f1400?, {0x1cac718?, 0x3d3f08d42de0?}, 0x1cafcd8?, 0x3d3f08c6fc50?, 0x3d3efe9f51d0?, 0x48?, 0x1c?)
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSymbolsAndEntriesAtPosition(0x3d3f08d34a00, {0x1cac718, 0x3d3f08d42de0}, 0x3d3f062d6c08, 0x3d3f08330708, 0x8825, 0x1, 0x0)
    	github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).provideSymbolsAndEntries(0x3d3f08d34a00, {0x1cac718, 0x3d3f08d42de0}, {0x3d3ef7adad70?, 0x6?}, {0x84f5188?, 0x3d3f?}, 0x1, 0x0)
    	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/ls.(*LanguageService).handleCrossProject[...](0xfc1420, {0x1cac718, 0x3d3f08d42de0}, 0x3d3f08d42e10, {0x1caccf8, 0x3d3f08d42ea0}, 0x1cafe78, 0x1cafe88, 0x1, 0x0, ...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideRename(...)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleRename(0x3d3ef59c8008, {0x1cac718, 0x3d3f08d42de0}, 0x3d3f08d42e10, 0x3d3f0878fc20)
    github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerRequestHandler[...].1({0x1cac718, 0x3d3f08d42de0}, 0x3d3f0878fc20)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleRequestOrNotification(0x3d3ef59c8008, {0x1cac750?, 0x3d3f08c7eb40?}, 0x3d3f0878fc20)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).dispatchLoop(0x3d3ef59c8008, {0x1cac750?, 0x3d3ef59cc000?})
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).Run.func1()
    

    Affected repos

    jashkenas/underscore Raw error text: RepoResults5/jashkenas.underscore.rawError.txt in the artifact folder
    Replay commands: RepoResults5/jashkenas.underscore.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@/underscore-umd.js"},"position":{"line":937,"character":39}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/underscore-umd.js"},"position":{"line":954,"character":27}}}
    {"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/underscore-umd.js"},"position":{"line":965,"character":14},"verbosityLevel":3}}
    {"kind":"request","method":"textDocument/rename","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/underscore-umd.js"},"position":{"line":967,"character":6},"newName":"renamedSymbol"}}
    

    Repro steps

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

    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