Skip to content

[ServerErrors][JavaScript] main #64710

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 243 of 300 visited repos
Outcome Count
Detected interesting changes 3
Detected no interesting changes 240
Timeout 34
Unknown failure 23

Seed: 4'=o:s:phyI\LY?$VJd8

Activity

  1. typescript-automation commented on Oct 9, 2026

    @typescript-automation
    ContributorAuthor

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

    textDocument/diagnostic
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).recover(0x3714c074a008, 0x3714d2f70bd0)
    github.com/microsoft/TypeScript/tsc/internal/lsp.(*Server).handleDocumentDiagnostic(0x3714c074a008, {0x1bf8ec8?, 0x3714d2f70c90?}, 0x3714c8eff400, 0x3714d2f70cc0)
    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 4
    

    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 7169e65147a47f3720957a6f156a33c838ab9f57
    downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/169297/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 Oct 9, 2026

    @typescript-automation
    ContributorAuthor

    Server connection closed prematurely: undefined

    unknown
    Server connection closed prematurely: undefined
    

    Affected repos

    apache/pouchdb Raw error text: RepoResults8/apache.pouchdb.rawError.txt in the artifact folder
    Replay commands: RepoResults8/apache.pouchdb.replay.txt in the artifact folder

    Old server result

    The old server completed successfully for this repo.

    Last few requests

    {"kind":"request","method":"textDocument/onTypeFormatting","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/integration/deps/pouchdb-2.2.0-postfixed.js"},"position":{"line":5153,"character":31},"ch":";","options":{"tabSize":4,"insertSpaces":true}}}
    {"kind":"request","method":"custom/textDocument/sourceDefinition","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/integration/deps/pouchdb-2.2.0-postfixed.js"},"position":{"line":5154,"character":0}}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/integration/deps/pouchdb-2.2.0-postfixed.js","version":2206},"contentChanges":[{"range":{"start":{"line":5157,"character":10},"end":{"line":5157,"character":42}},"text":""}]}}
    {"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/tests/integration/deps/pouchdb-2.2.0-postfixed.js"},"position":{"line":5158,"character":19}}}
    

    Repro steps

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

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

  3. typescript-automation commented on Oct 9, 2026

    @typescript-automation
    ContributorAuthor

    Server connection closed prematurely: undefined

    unknown
    Server connection closed prematurely: undefined
    

    Affected repos

    vuejs/vue-cli Raw error text: RepoResults4/vuejs.vue-cli.rawError.txt in the artifact folder
    Replay commands: RepoResults4/vuejs.vue-cli.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@/packages/@vue/cli-plugin-e2e-nightwatch/index.js"},"position":{"line":39,"character":78},"verbosityLevel":3}}
    {"kind":"notification","method":"textDocument/didChange","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/@vue/cli-plugin-e2e-nightwatch/index.js","version":1519},"contentChanges":[{"range":{"start":{"line":46,"character":83},"end":{"line":46,"character":84}},"text":""}]}}
    {"kind":"request","method":"textDocument/hover","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/@vue/cli-plugin-e2e-nightwatch/index.js"},"position":{"line":48,"character":19}}}
    {"kind":"request","method":"textDocument/completion","params":{"textDocument":{"uri":"@PROJECT_ROOT_URI@/packages/@vue/cli-plugin-e2e-nightwatch/index.js"},"position":{"line":49,"character":0},"context":{"triggerKind":1}}}
    

    Repro steps

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

    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