Skip to content

[ServerErrors][TypeScript] main #65068

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 139 of 300 visited repos
Outcome Count
Detected interesting changes 4
Detected no interesting changes 135
Git clone failed 5
Timeout 131
Unknown failure 25

Seed: `m{Z}dDL*Y|}+;R|,Fz<``

Activity

  1. typescript-automation commented on Oct 31, 2026

    @typescript-automation
    ContributorAuthor

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

    textDocument/completion
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x2ee2ebd32008, 0x2ee303968db0)
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedPath({0x2ee2ffca9300, 0x1811}, {0x2ee301ccc2a7, 0x48})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedDirectoryPath(...)
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ResolveDirectory({0x2ee301ccc2a7, 0x48}, {0x2ee2ffca9300, 0x1811})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForDirectoryFragment(0x2ee303d67000, {0x2ee2fe924d3e?, 0x1?}, {0x2ee301ccc2a7, 0x48}, 0x2ee303f7c9c0, 0x2ee3082bec08, 0x1, {0x2ee301ccc2a7, 0x5c}, ...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForRelativeModules(0x2ee303d67000, {0x2ee2fe924d3e, 0x1863}, {0x2ee301ccc2a7, 0x48}, 0x2ee3082bec08, {0x2ee301ccc2a7, 0x5c}, 0x2ee303f7c9c0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionsFromModuleNamesWorker(0x2ee303d67000, 0x2ee300367888, 0x2ee3038cd860, 0x2ee3082bec08, 0x2ee2efc34008)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionsFromModuleNames(0x2ee303d67000, 0x2ee300367888, 0x2ee3038cd860, 0x2ee3082bec08, 0x2ee2efc34008)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionEntries(0x2ee303d67000, {0x7b2?, 0x2ee3038cd860?}, 0x2ee300367888, 0x2ee3038cd860, 0x7b2, 0x2ee2efc34008)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletions(0x2ee303d67000, {0x1c8dc88, 0x2ee303dfa030}, 0x2ee300367888, 0x7b2, 0x2ee3038cd860, 0x2ee2efc34008, 0x2ee2ec090c08, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionsAtPosition(0x2ee303d67000, {0x1c8dc88, 0x2ee303dfa030}, 0x2ee300367888, 0x7b2, 0x0, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideCompletion(0x2ee303d67000, {0x1c8dc88, 0x2ee3038dbad0}, {0x2ee303b84460?, 0x405985?}, {0x4221bc?, 0x0?}, 0x2ee3038ff5d0)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleCompletion(0x8?, {0x1c8dc88?, 0x2ee3038dbad0?}, 0x465f7f?, 0x2ee2fee2dda8?)
    github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerLanguageServiceWithAutoImportsRequestHandler[...].1.1.1()
    github.com/microsoft/TypeScript/tsc/internal/project.(*Session).WithLanguageServiceAndSnapshot.func1()
    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

    tashfeenahmed/freellmapi Raw error text: RepoResults3/tashfeenahmed.freellmapi.rawError.txt in the artifact folder
    Replay commands: RepoResults3/tashfeenahmed.freellmapi.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@/server/src/__tests__/lib/gemini-wire.test.ts","version":8087},"contentChanges":[{"range":{"start":{"line":6,"character":18},"end":{"line":6,"character":18}},"text":"`"}]}}
    {"kind":"request","method":"textDocument/onTypeFormatting","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/server/src/__tests__/lib/gemini-wire.test.ts"},"position":{"line":10,"character":33},"ch":";","options":{"tabSize":4,"insertSpaces":true}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/server/src/__tests__/lib/gemini-wire.test.ts","version":8088},"contentChanges":[{"range":{"start":{"line":56,"character":22},"end":{"line":56,"character":23}},"text":""}]}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/server/src/__tests__/lib/gemini-wire.test.ts"},"position":{"line":64,"character":75},"context":{"triggerKind":1}}}
    

    Repro steps

    #!/bin/bash
    
    git clone https://github.com/tashfeenahmed/freellmapi --recurse-submodules
    git -C "./freellmapi" reset --hard 6bf17754912f280a57b6e24e520f432f62ed10d0
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169790/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
    wget -O RepoResults3.zip "$downloadUrl"
    unzip -p RepoResults3.zip RepoResults3/tashfeenahmed.freellmapi.replay.txt > tashfeenahmed.freellmapi.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 Oct 31, 2026

    @typescript-automation
    ContributorAuthor

    panic: path must not contain a URL query or fragment [recovered, repanicked]

    unknown
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedPath({0x21bd87821274, 0x1e}, {0x21bd7f3a5500, 0x32})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedDirectoryPath(...)
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ResolveDirectory(...)
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromEncodedPaths({0x21bd7f3a5500, 0x32}, {0x21bd87821274, 0x1e}, {0x21bd87821274, 0x1e}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.resolutionCandidateFromDirectoryPath({0x21bd7f3a5500, 0x32}, {0x21bd87821274, 0x1e})
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromSpecificNodeModulesDirectory(...)
    github.com/microsoft/TypeScript/tsc/internal/module.(*resolutionState).loadModuleFromImmediateNodeModulesDirectory(0x21bd876e5050, 0x4, {0x21bd74eed8c0?, 0x1e?}, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).tryResolveFromTypingsLocation(0x21bd86f60e40, {0x21bd87821274, 0x1e}, {0x21bd83ab1ea7, 0x52}, 0x21bd87c6ab00, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).resolveModuleName(0x21bd86f60e40, {0x21bd87821274, 0x1e}, {0x21bd83ab1ea7, 0x5e}, {0x21bd83ab1ea7, 0x52}, 0x63, {0x1c8d230, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/module.(*DefaultResolver).ResolveModuleName(0x21bd86f60e40, {0x21bd87821274, 0x1e}, {0x21bd83ab1ea7, 0x5e}, 0x63, {0x1c8d230, 0x0})
    github.com/microsoft/TypeScript/tsc/internal/compiler.(*fileLoader).resolveImportsAndModuleAugmentations(0x21bd87795108, 0x21bd87a4a780)
    github.com/microsoft/TypeScript/tsc/internal/compiler.(*parseTask).load(0x21bd87a4a780, 0x21bd87795108)
    github.com/microsoft/TypeScript/tsc/internal/compiler.(*filesParser).start.func1()
    github.com/microsoft/TypeScript/tsc/internal/core.(*parallelWorkGroup).Queue.func1()
    

    Affected repos

    vitejs/vite Raw error text: RepoResults2/vitejs.vite.rawError.txt in the artifact folder
    Replay commands: RepoResults2/vitejs.vite.replay.txt in the artifact folder

    Old server result

    The old server completed successfully for this repo.

    Last few requests

    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/vite/src/node/__tests__/plugins/css.spec.ts"},"position":{"line":172,"character":33},"context":{"triggerKind":1}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/vite/src/node/__tests__/plugins/css.spec.ts","version":3661},"contentChanges":[{"range":{"start":{"line":172,"character":66},"end":{"line":172,"character":76}},"text":""}]}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/vite/src/node/__tests__/plugins/css.spec.ts","version":3662},"contentChanges":[{"range":{"start":{"line":174,"character":17},"end":{"line":174,"character":24}},"text":""}]}}
    {"kind":"request","method":"textDocument/definition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/vite/src/node/__tests__/plugins/css.spec.ts"},"position":{"line":175,"character":7}}}
    

    Repro steps

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

  3. typescript-automation commented on Oct 31, 2026

    @typescript-automation
    ContributorAuthor

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

    textDocument/completion
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x16a0ec51e008, 0x16a10f5391a0)
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedPath({0x16a0ecf76451, 0x162e}, {0x16a10b38ef00, 0x37})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ToRootedDirectoryPath(...)
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ResolveDirectory({0x16a10b38ef00, 0x37}, {0x16a0ecf76451, 0x162e})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForDirectoryFragment(0x16a10ed4d800, {0x16a0ecf76451?, 0x0?}, {0x16a10b38ef00, 0x37}, 0x16a0f3b55d80, 0x16a114ae0808, 0x0, {0x0, 0x0}, ...)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForNonRelativeModules.func3({0x16a0febdd810, 0x2a})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForNonRelativeModules.func4({0x16a0febdd810, 0x2a})
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForNonRelativeModules.func5({0x16a0febdd810?, 0x16a0febdd810?})
    github.com/microsoft/TypeScript/tsc/internal/tspath.ForEachAncestorDirectoryPathStoppingAtGlobalCache[...].func1()
    github.com/microsoft/TypeScript/tsc/internal/tspath.RootedDirectoryPath.ForEachAncestorDirectory[...](0x16a0fc7d3b08?, 0x16a0fc732d18?)
    github.com/microsoft/TypeScript/tsc/internal/tspath.ForEachAncestorDirectoryPathStoppingAtGlobalCache[...]({0x0?, 0x16a0febdd810?}, {0x16a0febdd810?, 0x16a0ecf76451?}, 0x162e?)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionEntriesForNonRelativeModules(0x16a10ed4d800, {0x16a0ecf76451, 0x191d}, {0x16a0febdd810, 0x44}, 0x1, 0x16a114ae0808, 0x16a0fd059808, 0x16a0f3b55d80)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionsFromModuleNamesWorker(0x16a10ed4d800, 0x16a0fc7c8a88, 0x16a10f62f800, 0x16a114ae0808, 0x16a0fd059808)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionsFromModuleNames(0x16a10ed4d800, 0x16a0fc7c8a88, 0x16a10f62f800, 0x16a114ae0808, 0x16a0fd059808)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletionEntries(0x16a10ed4d800, {0x13e9?, 0x16a10f62f800?}, 0x16a0fc7c8a88, 0x16a10f62f800, 0x13e9, 0x16a0fd059808)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getStringLiteralCompletions(0x16a10ed4d800, {0x1c8dc88, 0x16a0f8872cc0}, 0x16a0fc7c8a88, 0x13e9, 0x16a10f62f800, 0x16a0fd059808, 0x16a0fc7d3b08, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).getCompletionsAtPosition(0x16a10ed4d800, {0x1c8dc88, 0x16a0f8872cc0}, 0x16a0fc7c8a88, 0x13e9, 0x0, 0x0)
    github.com/microsoft/TypeScript/tsc/internal/ls.(*LanguageService).ProvideCompletion(0x16a10ed4d800, {0x1c8dc88, 0x16a1117915f0}, {0x16a11324c420?, 0xd0000000c?}, {0x4221bc?, 0x0?}, 0x16a1117b0d60)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleCompletion(0x77087071ab68?, {0x1c8dc88?, 0x16a1117915f0?}, 0x465f7f?, 0x16a0ecc6ada8?)
    github.com/microsoft/TypeScript/tsc/internal/lsp.handlerMap.registerLanguageServiceWithAutoImportsRequestHandler[...].1.1.1()
    github.com/microsoft/TypeScript/tsc/internal/project.(*Session).WithLanguageServiceAndSnapshot.func1()
    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

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

    Old server result

    The old server completed successfully for this repo.

    Last few requests

    {"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/libs/commands/version/src/index.ts"},"position":{"line":149,"character":22},"verbosityLevel":3}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/libs/commands/version/src/index.ts","version":1847},"contentChanges":[{"range":{"start":{"line":151,"character":4},"end":{"line":151,"character":4}},"text":"{"}]}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/libs/commands/version/src/index.ts","version":1848},"contentChanges":[{"range":{"start":{"line":156,"character":7},"end":{"line":156,"character":8}},"text":""}]}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/libs/commands/version/src/index.ts"},"position":{"line":166,"character":6},"context":{"triggerKind":1}}}
    

    Repro steps

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

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

  4. typescript-automation commented on Oct 31, 2026

    @typescript-automation
    ContributorAuthor

    Server connection closed prematurely: undefined

    unknown
    Server connection closed prematurely: undefined
    

    Affected repos

    floating-ui/floating-ui Raw error text: RepoResults5/floating-ui.floating-ui.rawError.txt in the artifact folder
    Replay commands: RepoResults5/floating-ui.floating-ui.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@/packages/react/test/visual/components/EmojiPicker.tsx","version":617},"contentChanges":[{"range":{"start":{"line":3,"character":5},"end":{"line":3,"character":5}},"text":"1"}]}}
    {"kind":"request","method":"textDocument/signatureHelp","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/react/test/visual/components/EmojiPicker.tsx"},"position":{"line":7,"character":15},"context":{"triggerKind":1,"isRetrigger":false}}}
    {"kind":"request","method":"textDocument/references","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/react/test/visual/components/EmojiPicker.tsx"},"position":{"line":16,"character":8},"context":{"includeDeclaration":true}}}
    {"kind":"request","method":"textDocument/rangeFormatting","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/react/test/visual/components/EmojiPicker.tsx"},"range":{"start":{"line":16,"character":0},"end":{"line":26,"character":0}},"options":{"tabSize":1,"insertSpaces":false}}}
    

    Repro steps

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

    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