Skip to content

[ServerErrors][TypeScript] 5.6.0-dev.20240818 vs 5.5.4 #59678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
typescript-bot opened this issue Aug 18, 2024 · 15 comments
Closed

[ServerErrors][TypeScript] 5.6.0-dev.20240818 vs 5.5.4 #59678

typescript-bot opened this issue Aug 18, 2024 · 15 comments
Assignees

Comments

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 18, 2024

The following errors were reported by 5.6.0-dev.20240818 vs 5.5.4
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 284 of 300 visited repos
Outcome Count
Detected interesting changes 17
Detected no interesting changes 267
Git clone failed 3
Language service disabled in new TS 1
Unknown failure 12

Investigation Status

Repo Errors Outcome
Error: Debug Failure. False expression: Token end is child end jhipster/generator-jhipster Continues to report NoTruncation. Fixed in #59332
RangeError: Maximum call stack size exceeded wandb/openui
angular/angular-cli
I checked for an infinite loop and found nothing evident, the issue seems to be on a huge file as well, so we might be just trying services with a huge call stack. Visual Studio Code doesn't throw the exception, so I wonder if the stack size is configured differently. Increasing stack-size=2048 causes the issue to go away. Fixed in PR: microsoft/typescript-server-replay#10
@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: Debug Failure. Expected 1 < 1.
Req #4031 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.4/lib/typescript.js:172840:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.4/lib/typescript.js:172857:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.4/lib/typescript.js:172831:16)
    at getContextualType (/typescript-5.5.4/lib/typescript.js:164393:48)
    at getCompletionData (/typescript-5.5.4/lib/typescript.js:164631:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162588:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

facebook/lexical Raw error text: RepoResults6/facebook.lexical.rawError.txt in the artifact folder
Replay commands: RepoResults6/facebook.lexical.replay.txt in the artifact folder

Last few requests

{"seq":11008,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/src/components/plugins/ToolbarPlugin.tsx","line":9,"offset":30,"entryNames":["clipboard"]}}
{"seq":11009,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/src/components/plugins/ToolbarPlugin.tsx","line":121,"offset":15}}
{"seq":11010,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/src/components/plugins/ToolbarPlugin.tsx","line":132,"offset":34,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":11011,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/src/components/plugins/ToolbarPlugin.tsx","line":132,"offset":34,"entryNames":["$getSelection"]}}

Repro steps

#!/bin/bash

git clone https://github.com/facebook/lexical --recurse-submodules
git -C "./lexical" reset --hard 510720e727a6bdd86a10ebc2da03fa916746bbd4
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./lexical" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/vanilla-js-plugin" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/vanilla-js" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/react-table" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/react-rich-collab" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/react-rich" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/examples/react-plain-text" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./lexical/eslint-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/facebook.lexical.replay.txt > facebook.lexical.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./lexical ./facebook.lexical.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: Debug Failure. Expected 1 < 1.
Req #5672 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.4/lib/typescript.js:172840:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.4/lib/typescript.js:172857:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.4/lib/typescript.js:172831:16)
    at getContextualType (/typescript-5.5.4/lib/typescript.js:164393:48)
    at getCompletionData (/typescript-5.5.4/lib/typescript.js:164631:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162588:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

{"seq":5967,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/core/src/browser/extensions/engines/helpers/sse.ts","line":69,"offset":29}}
{"seq":5968,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/core/src/browser/extensions/engines/helpers/sse.ts","line":76,"offset":56}}
{"seq":5969,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/core/src/browser/extensions/engines/helpers/sse.ts","line":86,"offset":28,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":5970,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/core/src/browser/extensions/engines/helpers/sse.ts","line":91,"offset":28,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/janhq/jan --recurse-submodules
git -C "./jan" reset --hard 76b2e587799d73ac1d7018b111b6d0560fa8b6ed
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/janhq.jan.replay.txt > janhq.jan.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./jan ./janhq.jan.replay.txt <PATH_TO_tsserver.js>
pubkey/rxdb Raw error text: RepoResults5/pubkey.rxdb.rawError.txt in the artifact folder
Replay commands: RepoResults5/pubkey.rxdb.replay.txt in the artifact folder

Last few requests

{"seq":19129,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular/src/app/components/hero-insert/hero-insert.component.ts","line":29,"offset":16}}
{"seq":19130,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/angular/src/app/components/hero-insert/hero-insert.component.ts","line":77,"offset":4}}
{"seq":19131,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular/src/app/components/hero-insert/hero-insert.component.ts","line":77,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":19132,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular/src/app/components/hero-insert/hero-insert.component.ts","line":77,"offset":4,"entryNames":["@abstract"]}}

Repro steps

#!/bin/bash

git clone https://github.com/pubkey/rxdb --recurse-submodules
git -C "./rxdb" reset --hard 1689571ee466a310f08f9980297e558e258a6bcb
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./rxdb" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/test/tutorials" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/validate-z-schema" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/validate-is-my-json-valid" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/validate-ajv" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/utils" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/update" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/test-utils" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-remote-websocket" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-remote" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-mongodb" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-memory" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-lokijs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-foundationdb" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-dexie" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/storage-denokv" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/state" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-websocket" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-webrtc" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-nats" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-graphql" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-firestore" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication-couchdb" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/replication" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/query-builder" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/pipeline" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/migration-storage" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/migration-schema" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/local-documents" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/leader-election" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/key-compression" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/json-dump" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/flutter" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/encryption-crypto-js" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/electron" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/dev-mode" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/crdt" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/core" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/cleanup" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/backup" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/attachments-compression" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/plugins/attachments" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/vue" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/vite-vanilla-ts" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/svelte" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/supabase" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/react-native" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/react" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/node" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/ionic2" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/graphql" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/flutter/javascript" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/electron" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/examples/angular" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/docs-src" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/docs-src/static/files/logo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/docs-src/docusaurus-lunr-search-main" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/docs/files/logo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./rxdb/dist/esm" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/pubkey.rxdb.replay.txt > pubkey.rxdb.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./rxdb ./pubkey.rxdb.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: Debug Failure. Expected 1 < 1.
Req #1192 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.4/lib/typescript.js:172840:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.4/lib/typescript.js:172857:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.4/lib/typescript.js:172831:16)
    at getContextualType (/typescript-5.5.4/lib/typescript.js:164393:48)
    at getCompletionData (/typescript-5.5.4/lib/typescript.js:164631:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162588:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

conwnet/github1s Raw error text: RepoResults4/conwnet.github1s.rawError.txt in the artifact folder
Replay commands: RepoResults4/conwnet.github1s.replay.txt in the artifact folder

Last few requests

{"seq":2699,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vscode-web/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts","line":440,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":2700,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/vscode-web/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts","line":440,"offset":25,"entryNames":["AbstractTextResourceEditorInput"]}}
{"seq":2701,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vscode-web/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts","line":483,"offset":9,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":2702,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/vscode-web/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts","line":483,"offset":9,"entryNames":["AbstractTextResourceEditorInput"]}}

Repro steps

#!/bin/bash

git clone https://github.com/conwnet/github1s --recurse-submodules
git -C "./github1s" reset --hard 3c57ec48a0650d159e254824130c361f82f51074
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./github1s" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/vscode-web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/tests" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/extensions/vlang-web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/extensions/ocaml-web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/extensions/nim-web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/extensions/github1s" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/extensions/elm-web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/api/vscode-unpkg" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/api/gitlab-auth-callback" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./github1s/api/github-auth-callback" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults4.zip "$downloadUrl"
unzip -p RepoResults4.zip RepoResults4/conwnet.github1s.replay.txt > conwnet.github1s.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./github1s ./conwnet.github1s.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: Debug Failure. Expected 1 < 1.
Req #6583 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.4/lib/typescript.js:172840:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.4/lib/typescript.js:172857:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.4/lib/typescript.js:172831:16)
    at getContextualType (/typescript-5.5.4/lib/typescript.js:164393:48)
    at getCompletionData (/typescript-5.5.4/lib/typescript.js:164631:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162588:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

puppeteer/puppeteer Raw error text: RepoResults1/puppeteer.puppeteer.rawError.txt in the artifact folder
Replay commands: RepoResults1/puppeteer.puppeteer.replay.txt in the artifact folder

Last few requests

{"seq":10804,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/ng-schematics/src/schematics/ng-add/files/jest/e2e/jest.config.js"}}
{"seq":10805,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/ng-schematics/src/schematics/ng-add/files/jest/e2e/jest.config.js"}}
{"seq":10806,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/ng-schematics/src/schematics/ng-add/files/jest/e2e/jest.config.js"}}
{"seq":10807,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/ng-schematics/src/schematics/ng-add/files/jest/e2e/jest.config.js","line":6,"offset":5}}

Repro steps

#!/bin/bash

git clone https://github.com/puppeteer/puppeteer --recurse-submodules
git -C "./puppeteer" reset --hard 7116e314b87f27959a54d6ba317bfcbdf1c0e091
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./puppeteer" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./puppeteer/website" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./puppeteer/examples/puppeteer-in-extension" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./puppeteer/examples/puppeteer-in-browser" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults1.zip "$downloadUrl"
unzip -p RepoResults1.zip RepoResults1/puppeteer.puppeteer.replay.txt > puppeteer.puppeteer.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./puppeteer ./puppeteer.puppeteer.replay.txt <PATH_TO_tsserver.js>
microsoft/playwright Raw error text: RepoResults1/microsoft.playwright.rawError.txt in the artifact folder
Replay commands: RepoResults1/microsoft.playwright.replay.txt in the artifact folder

Last few requests

{"seq":30670,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/bundles/utils/src/third_party/lockfile.js","line":325,"offset":47,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":30671,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/bundles/utils/src/third_party/lockfile.js","line":356,"offset":34,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":30672,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/bundles/utils/src/third_party/lockfile.js","line":356,"offset":34,"entryNames":["acquireLock"]}}
{"seq":30673,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/bundles/utils/src/third_party/lockfile.js","line":363,"offset":49,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}

Repro steps

#!/bin/bash

git clone https://github.com/microsoft/playwright --recurse-submodules
git -C "./playwright" reset --hard 570e05699e3b70b942e902bd93cfc783b73930a4
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./playwright" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/utils/flakiness-dashboard" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/utils/eslint-plugin-internal-playwright" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/playwright-test/stable-test-runner" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/installation/playwright-test-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/electron" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-vue2-cli" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-vue-vite" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-vue-cli" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-svelte-vite" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-svelte" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-solid" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-react17" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/tests/components/ct-react-vite" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/examples/todomvc" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/examples/svgomg" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/examples/mock-filesystem" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/examples/mock-battery" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./playwright/examples/github-api" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults1&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults1.zip "$downloadUrl"
unzip -p RepoResults1.zip RepoResults1/microsoft.playwright.replay.txt > microsoft.playwright.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./playwright ./microsoft.playwright.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: TypeError: Cannot read properties of undefined (reading 'kind')
Req #29682 - completionInfo
    at isDeclaration (/typescript-5.5.4/lib/typescript.js:16030:12)
    at isDeclarationName (/typescript-5.5.4/lib/typescript.js:19139:60)
    at literalIsName (/typescript-5.5.4/lib/typescript.js:150099:10)
    at walk (/typescript-5.5.4/lib/typescript.js:150083:109)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInBinaryExpression (/typescript-5.5.4/lib/typescript.js:31941:87)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInParenthesizedExpression (/typescript-5.5.4/lib/typescript.js:31917:12)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInJSDocImportTag (/typescript-5.5.4/lib/typescript.js:32254:87)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNodes (/typescript-5.5.4/lib/typescript.js:31751:22)
    at forEachChildInJSDoc (/typescript-5.5.4/lib/typescript.js:32146:103)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150093:9)
    at visitNodes (/typescript-5.5.4/lib/typescript.js:31751:22)
    at forEachChildInBlock (/typescript-5.5.4/lib/typescript.js:32221:10)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInFunctionExpression (/typescript-5.5.4/lib/typescript.js:31840:267)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInParenthesizedExpression (/typescript-5.5.4/lib/typescript.js:31917:12)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInCallOrNewExpression (/typescript-5.5.4/lib/typescript.js:32217:10)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNode2 (/typescript-5.5.4/lib/typescript.js:31743:18)
    at forEachChildInExpressionStatement (/typescript-5.5.4/lib/typescript.js:31973:12)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at walk (/typescript-5.5.4/lib/typescript.js:150090:5)
    at visitNodes (/typescript-5.5.4/lib/typescript.js:31751:22)
    at forEachChildInSourceFile (/typescript-5.5.4/lib/typescript.js:31964:12)
    at forEachChild (/typescript-5.5.4/lib/typescript.js:32264:35)
    at SourceFileObject.forEachChild (/typescript-5.5.4/lib/typescript.js:148054:12)
    at initializeNameTable (/typescript-5.5.4/lib/typescript.js:150082:14)
    at getNameTable (/typescript-5.5.4/lib/typescript.js:150076:5)
    at getJSCompletionEntries (/typescript-5.5.4/lib/typescript.js:163319:3)
    at completionInfoFromData (/typescript-5.5.4/lib/typescript.js:163133:5)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162606:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

angular-ui/ui-router Raw error text: RepoResults8/angular-ui.ui-router.rawError.txt in the artifact folder
Replay commands: RepoResults8/angular-ui.ui-router.replay.txt in the artifact folder

Last few requests

{"seq":51449,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.2/angular-animate.js","line":1631,"offset":26,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":51450,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.2/angular-animate.js","line":1645,"offset":12}}
{"seq":51451,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.2/angular-animate.js","line":1648,"offset":11,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":51452,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/test/angular/1.2/angular-animate.js","line":1648,"offset":11,"entryNames":["$$animateReflow"]}}

Repro steps

#!/bin/bash

git clone https://github.com/angular-ui/ui-router --recurse-submodules
git -C "./ui-router" reset --hard 08b7d0633ccf9bc6d453ddd90ee6cf4b64699155
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/angular-ui.ui-router.replay.txt > angular-ui.ui-router.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./ui-router ./angular-ui.ui-router.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: Debug Failure. Expected 2 < 2.
Req #1444 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.4/lib/typescript.js:172840:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.4/lib/typescript.js:172857:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.4/lib/typescript.js:172831:16)
    at getContextualType (/typescript-5.5.4/lib/typescript.js:164393:48)
    at getCompletionData (/typescript-5.5.4/lib/typescript.js:164631:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.4/lib/typescript.js:162588:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.4/lib/typescript.js:149186:35)
    at IOSession.getCompletions (/typescript-5.5.4/lib/typescript.js:190693:54)
    at completionInfo (/typescript-5.5.4/lib/typescript.js:189072:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

electron-userland/electron-builder Raw error text: RepoResults8/electron-userland.electron-builder.rawError.txt in the artifact folder
Replay commands: RepoResults8/electron-userland.electron-builder.replay.txt in the artifact folder

Last few requests

{"seq":3899,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/test/fixtures/test-app-build-sub/build/app/main.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3900,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/test/fixtures/test-app-build-sub/build/app/main.js"}}
{"seq":3901,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/test/fixtures/test-app-build-sub/build/app/main.js"}}
{"seq":3902,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/test/fixtures/test-app-build-sub/build/app/main.js"}}

Repro steps

#!/bin/bash

git clone https://github.com/electron-userland/electron-builder --recurse-submodules
git -C "./electron-builder" reset --hard b3068954d946be5fe2568183819a26c36d54878b
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/electron-userland.electron-builder.replay.txt > electron-userland.electron-builder.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./electron-builder ./electron-userland.electron-builder.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

New server no longer reports this error: Error: start < 0
Req #781 - references
    at createTextSpan (/typescript-5.5.4/lib/typescript.js:14740:11)
    at createTextSpanFromBounds (/typescript-5.5.4/lib/typescript.js:14748:10)
    at getErrorSpanForNode (/typescript-5.5.4/lib/typescript.js:17559:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.5.4/lib/typescript.js:17369:16)
    at resolveExternalModule (/typescript-5.5.4/lib/typescript.js:52916:31)
    at resolveExternalModuleNameWorker (/typescript-5.5.4/lib/typescript.js:52810:61)
    at resolveExternalModuleName (/typescript-5.5.4/lib/typescript.js:52807:12)
    at getSymbolAtLocation (/typescript-5.5.4/lib/typescript.js:89445:18)
    at Object.getSymbolAtLocation (/typescript-5.5.4/lib/typescript.js:50063:21)
    at /typescript-5.5.4/lib/typescript.js:167504:36
    at forEachImport (/typescript-5.5.4/lib/typescript.js:167539:7)
    at findModuleReferences (/typescript-5.5.4/lib/typescript.js:167503:5)
    at getReferencedSymbolsForModule (/typescript-5.5.4/lib/typescript.js:168387:35)
    at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.5.4/lib/typescript.js:168329:30)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.4/lib/typescript.js:168260:30)
    at Object.findReferencedSymbols (/typescript-5.5.4/lib/typescript.js:167851:34)
    at Object.findReferences (/typescript-5.5.4/lib/typescript.js:149355:41)
    at /typescript-5.5.4/lib/typescript.js:188534:43
    at searchPosition (/typescript-5.5.4/lib/typescript.js:188676:28)
    at getPerProjectReferences (/typescript-5.5.4/lib/typescript.js:188655:32)
    at getReferencesWorker (/typescript-5.5.4/lib/typescript.js:188526:29)
    at IOSession.getReferences (/typescript-5.5.4/lib/typescript.js:190448:24)
    at references (/typescript-5.5.4/lib/typescript.js:188953:43)
    at /typescript-5.5.4/lib/typescript.js:191491:69
    at IOSession.executeWithRequestId (/typescript-5.5.4/lib/typescript.js:191483:14)
    at IOSession.executeCommand (/typescript-5.5.4/lib/typescript.js:191491:29)
    at IOSession.onMessage (/typescript-5.5.4/lib/typescript.js:191533:51)
    at Interface.<anonymous> (/typescript-5.5.4/lib/tsserver.js:499:14)

Affected repos

statelyai/xstate Raw error text: RepoResults3/statelyai.xstate.rawError.txt in the artifact folder
Replay commands: RepoResults3/statelyai.xstate.replay.txt in the artifact folder

Last few requests

{"seq":6116,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/examples/trivia-game-example/src/components/game/CharacterPicture.tsx"}}
{"seq":6117,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/examples/trivia-game-example/src/components/game/CharacterPicture.tsx"}}
{"seq":6118,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/examples/trivia-game-example/src/components/game/CharacterPicture.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":55},"end":{"line":1,"offset":55}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":6119,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/trivia-game-example/src/components/game/CharacterPicture.tsx","line":14,"offset":27}}

Repro steps

#!/bin/bash

git clone https://github.com/statelyai/xstate --recurse-submodules
git -C "./xstate" reset --hard b740aafdb12ed6577ba31d0e07653bf99ebaca76
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./xstate" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/templates/vue-ts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/templates/vanilla-ts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/templates/svelte-ts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/templates/react-ts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-send-cloudevent" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-reusing-functions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-purchase-order-deadline" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-provision-orders" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-parallel" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-new-patient-onboarding" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-monitor-patient" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-monitor-job" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-media-scanner" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-math-problem" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-hello" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-greeting" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-finalize-college-app" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-filling-water" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-event-greeting" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-event-based-service" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-event-based" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-credit-check" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-check-inbox" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-car-vitals" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-car-auction-bids" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-book-lending" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-async-subflow" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-async-function" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-applicant-request" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/workflow-accumulate-room-readings" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/trivia-game-example" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/toggle" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/todomvc-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/timer" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/tiles" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/tic-tac-toe-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/store-counter-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/stopwatch" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/snake-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/persisted-donut-maker" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/mongodb-persisted-state" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/mongodb-credit-check-api" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/friends-list-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/fetch" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/express-workflow" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/counter" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/7guis-temperature-react" install --ignore-engines --ignore-scripts --silent
pnpm --dir "./xstate/examples/7guis-flight-booker-react" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
yarn --cwd "./xstate/examples/7guis-counter-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/7guis-2-temperature-vue" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/examples/7guis-1-counter-vue" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/docs" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/docs/zh/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/docs/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./xstate/docs/fr/sandboxes/todomvc" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/statelyai.xstate.replay.txt > statelyai.xstate.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./xstate ./statelyai.xstate.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

{"seq":754,"type":"request","command":"navto","arguments":{"searchValue":"A_F","maxResultCount":256}}
{"seq":755,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/x-pack/plugins/serverless/public/mocks.ts","line":12,"offset":23,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}
{"seq":756,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/x-pack/test/apm_api_integration/common/config.ts"],"openFiles":[]}}
{"seq":757,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/x-pack/plugins/security_solution/public/jest.config.js","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/elastic/kibana --recurse-submodules
git -C "./kibana" reset --hard 598b55a724f976736c737fc90cad5fcce43f4fe4
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/elastic.kibana.replay.txt > elastic.kibana.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./kibana ./elastic.kibana.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

backstage/backstage Raw error text: RepoResults3/backstage.backstage.rawError.txt in the artifact folder
Replay commands: RepoResults3/backstage.backstage.replay.txt in the artifact folder

Last few requests

{"seq":55,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/scripts/build-plugins-report.js","line":88,"offset":54,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":56,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/scripts/build-plugins-report.js","line":88,"offset":54,"entryNames":["arguments"]}}
{"seq":57,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/scripts/build-plugins-report.js","line":160,"offset":16,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":58,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/plugins/techdocs-backend/config.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/backstage/backstage --recurse-submodules
git -C "./backstage" reset --hard 3c196411e3a46c65884074c3c1f623a137ceac54
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./backstage" install --no-immutable --mode=skip-build
yarn --cwd "./backstage/storybook" install --no-immutable --mode=skip-build
yarn --cwd "./backstage/microsite" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/backstage.backstage.replay.txt > backstage.backstage.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./backstage ./backstage.backstage.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

{"seq":255,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-transform-react-jsx/src/create-plugin.ts","line":780,"offset":15}}
{"seq":256,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-transform-react-jsx/src/create-plugin.ts","line":789,"offset":46}}
{"seq":257,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-transform-react-jsx/src/create-plugin.ts","line":854,"offset":16,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":258,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-transform-react-jsx/src/create-plugin.ts","line":855,"offset":10}}

Repro steps

#!/bin/bash

git clone https://github.com/babel/babel --recurse-submodules
git -C "./babel" reset --hard 440fe413330f19fdb2c5fa63ffab87e67383d12d
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/babel.babel.replay.txt > babel.babel.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./babel ./babel.babel.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Error: Debug Failure. False expression: Token end is child end

Req #3637 - completionInfo
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178344:17)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178275:9
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInPropertySignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:31841:59)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInTypeLiteral (/typescript-5.6.0-dev.20240818/lib/typescript.js:31900:12)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.6.0-dev.20240818/lib/typescript.js:32250:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178275:9
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.6.0-dev.20240818/lib/typescript.js:32253:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.6.0-dev.20240818/lib/typescript.js:32250:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInTypeReference (/typescript-5.6.0-dev.20240818/lib/typescript.js:31891:49)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.6.0-dev.20240818/lib/typescript.js:32250:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInTypeReference (/typescript-5.6.0-dev.20240818/lib/typescript.js:31891:49)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.6.0-dev.20240818/lib/typescript.js:32250:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at processChildNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:178394:32)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178288:9
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31790:14)
    at forEachChildInTypeReference (/typescript-5.6.0-dev.20240818/lib/typescript.js:31891:49)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at processChildNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178351:7)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178275:9
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInGetAccessor (/typescript-5.6.0-dev.20240818/lib/typescript.js:31873:192)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at processNode (/typescript-5.6.0-dev.20240818/lib/typescript.js:178272:5)
    at formatSpanWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:178075:5)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:178015:105
    at getFormattingScanner (/typescript-5.6.0-dev.20240818/lib/typescript.js:176816:15)
    at Object.formatNodeGivenIndentation (/typescript-5.6.0-dev.20240818/lib/typescript.js:178015:10)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:164950:36
    at flatMap (/typescript-5.6.0-dev.20240818/lib/typescript.js:2514:17)
    at Object.printAndFormatSnippetList (/typescript-5.6.0-dev.20240818/lib/typescript.js:164948:21)
    at getEntryForMemberCompletion (/typescript-5.6.0-dev.20240818/lib/typescript.js:164699:28)
    at createCompletionEntry (/typescript-5.6.0-dev.20240818/lib/typescript.js:164483:35)
    at getCompletionEntriesFromSymbols (/typescript-5.6.0-dev.20240818/lib/typescript.js:165122:19)
    at completionInfoFromData (/typescript-5.6.0-dev.20240818/lib/typescript.js:164116:23)
    at Object.getCompletionsAtPosition (/typescript-5.6.0-dev.20240818/lib/typescript.js:163650:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.6.0-dev.20240818/lib/typescript.js:150148:35)
    at IOSession.getCompletions (/typescript-5.6.0-dev.20240818/lib/typescript.js:191864:54)
    at completionInfo (/typescript-5.6.0-dev.20240818/lib/typescript.js:190187:43)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:192638:15
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240818/lib/typescript.js:192627:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240818/lib/typescript.js:192636:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240818/lib/typescript.js:192684:68)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240818/lib/tsserver.js:501:14)

Affected repos

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

Last few requests

{"seq":3634,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-neo4j/generator.ts"}}
{"seq":3635,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-neo4j/generator.ts","line":7,"offset":55,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":3636,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-neo4j/generator.ts","line":15,"offset":40,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":3637,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-neo4j/generator.ts","line":52,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/jhipster/generator-jhipster --recurse-submodules
git -C "./generator-jhipster" reset --hard 51c98696b8cb036f00d6e78ce7534581e0ff630e
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/jhipster.generator-jhipster.replay.txt > jhipster.generator-jhipster.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./generator-jhipster ./jhipster.generator-jhipster.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

RangeError: Maximum call stack size exceeded

Req #3635 - references
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62762:22)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInCallOrNewExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:32259:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInBinaryExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:31983:87)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:12)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:62778:89)
    at containsArgumentsReference (/typescript-5.6.0-dev.20240818/lib/typescript.js:62758:44)
    at maybeAddJsSyntheticRestParameter (/typescript-5.6.0-dev.20240818/lib/typescript.js:62716:43)
    at getSignatureFromDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:62694:71)
    at getSignaturesOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:62808:118)
    at resolveAnonymousTypeMembers (/typescript-5.6.0-dev.20240818/lib/typescript.js:61453:29)
    at resolveStructuredTypeMembers (/typescript-5.6.0-dev.20240818/lib/typescript.js:61764:11)
    at getSingleSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:78671:24)
    at getSingleCallSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:78649:12)
    at getReturnTypeOfSingleNonGenericCallSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:83567:23)
    at getQuickTypeOfExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83620:94)
    at checkDeclarationInitializer (/typescript-5.6.0-dev.20240818/lib/typescript.js:83298:18)
    at getTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59210:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59660:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:59805:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.6.0-dev.20240818/lib/typescript.js:59741:20)
    at getTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:60064:14)
    at getNarrowedTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:74904:18)
    at checkIdentifier (/typescript-5.6.0-dev.20240818/lib/typescript.js:75046:16)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83705:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240818/lib/typescript.js:83276:28)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:81680:20
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17668:16)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:17664:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240818/lib/typescript.js:81661:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240818/lib/typescript.js:81489:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:62878:426)
    at getReturnTypeOfSingleNonGenericCallSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:83569:14)
    at getQuickTypeOfExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83620:94)
    at getTypeOfExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83579:23)
    at getAssignedTypeOfBinaryExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:72771:103)

Affected repos

wandb/openui Raw error text: RepoResults6/wandb.openui.rawError.txt in the artifact folder
Replay commands: RepoResults6/wandb.openui.replay.txt in the artifact folder

Last few requests

{"seq":3632,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/backend/openui/dist/monacoeditorwork/ts.worker.bundle.js","line":38596,"offset":8,"entryNames":["__commonJS"]}}
{"seq":3633,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/backend/openui/dist/monacoeditorwork/ts.worker.bundle.js","line":38597,"offset":33,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":3634,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/backend/openui/dist/monacoeditorwork/ts.worker.bundle.js","line":38597,"offset":33,"entryNames":["__commonJS"]}}
{"seq":3635,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/backend/openui/dist/monacoeditorwork/ts.worker.bundle.js","line":38617,"offset":30}}

Repro steps

#!/bin/bash

git clone https://github.com/wandb/openui --recurse-submodules
git -C "./openui" reset --hard c945bb859979659add5f490a874140ad17c56a5d
pnpm --dir "./openui/frontend" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/wandb.openui.replay.txt > wandb.openui.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./openui ./wandb.openui.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

RangeError: Maximum call stack size exceeded

Req #18909 - completionInfo
    at isDeprecatedDeclaration2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:51229:36)
    at every (/typescript-5.6.0-dev.20240818/lib/typescript.js:2356:12)
    at isDeprecatedSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:51227:125)
    at checkIdentifierCalculateNodeCheckFlags (/typescript-5.6.0-dev.20240818/lib/typescript.js:74992:9)
    at checkIdentifier (/typescript-5.6.0-dev.20240818/lib/typescript.js:75031:5)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83705:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at maybeCheckExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:82622:28)
    at BinaryExpressionStateMachine.onLeft (/typescript-5.6.0-dev.20240818/lib/typescript.js:82556:16)
    at Array.left (/typescript-5.6.0-dev.20240818/lib/typescript.js:31464:30)
    at trampoline (/typescript-5.6.0-dev.20240818/lib/typescript.js:31568:42)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:82514:22
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83783:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240818/lib/typescript.js:83276:28)
    at checkDeclarationInitializer (/typescript-5.6.0-dev.20240818/lib/typescript.js:83304:9)
    at getTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59210:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59660:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:59805:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.6.0-dev.20240818/lib/typescript.js:59741:20)
    at getTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:60064:14)
    at getNarrowedTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:74904:18)
    at checkIdentifier (/typescript-5.6.0-dev.20240818/lib/typescript.js:75046:16)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83705:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at maybeCheckExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:82622:28)
    at BinaryExpressionStateMachine.onLeft (/typescript-5.6.0-dev.20240818/lib/typescript.js:82556:16)
    at Array.left (/typescript-5.6.0-dev.20240818/lib/typescript.js:31464:30)
    at trampoline (/typescript-5.6.0-dev.20240818/lib/typescript.js:31568:42)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:82514:22
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83783:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240818/lib/typescript.js:83276:28)
    at checkDeclarationInitializer (/typescript-5.6.0-dev.20240818/lib/typescript.js:83304:9)
    at getTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59210:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59660:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:59805:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.6.0-dev.20240818/lib/typescript.js:59741:20)
    at getTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:60064:14)
    at getNarrowedTypeOfSymbol (/typescript-5.6.0-dev.20240818/lib/typescript.js:74904:18)
    at checkIdentifier (/typescript-5.6.0-dev.20240818/lib/typescript.js:75046:16)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83705:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkNonNullExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:77748:29)
    at checkIndexedAccess (/typescript-5.6.0-dev.20240818/lib/typescript.js:78486:128)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83743:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkNonNullExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:77748:29)
    at checkPropertyAccessExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:77827:162)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83739:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240818/lib/typescript.js:83276:28)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:81680:20
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17668:16)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:93)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at visitNode2 (/typescript-5.6.0-dev.20240818/lib/typescript.js:31785:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:32018:51)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:17664:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240818/lib/typescript.js:81661:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240818/lib/typescript.js:81489:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:62878:426)
    at checkCallExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:80369:24)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240818/lib/typescript.js:83749:16)
    at checkExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83649:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240818/lib/typescript.js:83276:28)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:81680:20
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17668:16)
    at visitNodes (/typescript-5.6.0-dev.20240818/lib/typescript.js:31793:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240818/lib/typescript.js:32263:10)
    at forEachChild (/typescript-5.6.0-dev.20240818/lib/typescript.js:32306:35)
    at traverse (/typescript-5.6.0-dev.20240818/lib/typescript.js:17684:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240818/lib/typescript.js:17664:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240818/lib/typescript.js:81661:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240818/lib/typescript.js:81489:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:62878:426)
    at getReturnTypeOfSingleNonGenericCallSignature (/typescript-5.6.0-dev.20240818/lib/typescript.js:83569:14)
    at getQuickTypeOfExpression (/typescript-5.6.0-dev.20240818/lib/typescript.js:83620:94)
    at checkDeclarationInitializer (/typescript-5.6.0-dev.20240818/lib/typescript.js:83298:18)
    at getTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240818/lib/typescript.js:59210:66)

Affected repos

angular/angular-cli Raw error text: RepoResults3/angular.angular-cli.rawError.txt in the artifact folder
Replay commands: RepoResults3/angular.angular-cli.replay.txt in the artifact folder

Last few requests

{"seq":18906,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":52948,"offset":89,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":18907,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":52972,"offset":78}}
{"seq":18908,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":52979,"offset":48,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":18909,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":53027,"offset":18,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/angular/angular-cli --recurse-submodules
git -C "./angular-cli" reset --hard 71c06c69f6f472e5ea86f2e5adbd5062a8cc5f2a
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./angular-cli" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-1" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-package-group-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-package-group-1" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-migrations-external" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-migrations" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-base" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/ng-snapshot" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/schematic-allow-scripts" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-main" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-dependency" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-good" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-bad" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/15.0-project" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/angular.angular-cli.replay.txt > angular.angular-cli.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./angular-cli ./angular.angular-cli.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

TypeError: Cannot read properties of undefined (reading 'sourceFile')

Req #54 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.6.0-dev.20240818/lib/typescript.js:140901:18)
    at getDocumentRegistryEntry (/typescript-5.6.0-dev.20240818/lib/typescript.js:140977:19)
    at Object.releaseDocumentWithKey (/typescript-5.6.0-dev.20240818/lib/typescript.js:141072:19)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:150008:65
    at forEach (/typescript-5.6.0-dev.20240818/lib/typescript.js:2283:22)
    at cleanupSemanticCache (/typescript-5.6.0-dev.20240818/lib/typescript.js:150008:7)
    at Object.dispose (/typescript-5.6.0-dev.20240818/lib/typescript.js:150013:5)
    at ConfiguredProject2.close (/typescript-5.6.0-dev.20240818/lib/typescript.js:183906:26)
    at ConfiguredProject2.close (/typescript-5.6.0-dev.20240818/lib/typescript.js:185509:11)
    at _ProjectService.removeProject (/typescript-5.6.0-dev.20240818/lib/typescript.js:186737:13)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:188537:33
    at _ProjectService.cleanupConfiguredProjects (/typescript-5.6.0-dev.20240818/lib/typescript.js:188537:7)
    at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.6.0-dev.20240818/lib/typescript.js:188540:10)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.6.0-dev.20240818/lib/typescript.js:188779:12)
    at updateOpen (/typescript-5.6.0-dev.20240818/lib/typescript.js:189970:29)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:192638:15
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240818/lib/typescript.js:192627:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240818/lib/typescript.js:192636:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240818/lib/typescript.js:192684:68)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240818/lib/tsserver.js:501:14)

Affected repos

pnpm/pnpm Raw error text: RepoResults3/pnpm.pnpm.rawError.txt in the artifact folder
Replay commands: RepoResults3/pnpm.pnpm.replay.txt in the artifact folder

Last few requests

{"seq":51,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/pnpm/bundle.ts"}}
{"seq":52,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/pnpm/bundle.ts","line":4,"offset":46,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":53,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/jest.globalSetup.js"],"openFiles":[]}}
{"seq":54,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/__typings__/local.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/pnpm/pnpm --recurse-submodules
git -C "./pnpm" reset --hard 202edf84bd313d1915d65021ad9c89984355d798
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
pnpm --dir "./pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/spec-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/sort-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/resolve-workspace-range" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/read-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/pkgs-graph" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/find-workspace-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/filter-workspace-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/workspace/filter-packages-from-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/worker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/text/comments-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/store-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/store-controller-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/store-connection-manager" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/plugin-commands-store-inspecting" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/plugin-commands-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/plugin-commands-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/package-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/create-cafs-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/cafs-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/store/cafs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/plugin-commands-outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/plugin-commands-listing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/plugin-commands-licenses" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/list" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/list/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/license-scanner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/dependencies-hierarchy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/reviewing/dependencies-hierarchy/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/tarball-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/resolver-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/npm-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/local-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/local-resolver/example-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/git-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/resolving/default-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/releasing/plugin-commands-publishing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/releasing/plugin-commands-deploy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/dev" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/win-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/win-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/macos-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/macos-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/linux-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/linux-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pnpm/artifacts/exe" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manifest/write-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manifest/read-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manifest/read-package-json" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manifest/manifest-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manifest/exportable-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/resolve-dependencies" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/remove-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/real-hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/read-projects-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/plugin-commands-installation" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/package-requester" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/package-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/modules-yaml" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/modules-cleaner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/link-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/headless" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/get-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/direct-dep-linker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/core" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/pkg-manager/client" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/patching/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/patching/plugin-commands-patching" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/patching/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/patching/apply-patch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/which-version-is-pinned" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/render-peer-issues" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/plugin-commands-setup" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/plugin-commands-init" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/plugin-commands-doctor" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/parse-wanted-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/make-dedicated-lockfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/logger" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/git-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/error" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/dependency-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/crypto.base32-hash" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/core-loggers" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/constants" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/packages/calc-dep-state" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/network/fetching-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/network/fetch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/network/auth-header" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/modules-mounter/daemon" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/walker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/verification" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/pruner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/preferred-versions" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/plugin-commands-audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/merger" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/lockfile-to-pnp" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/fs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/filtering" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/detect-dep-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/lockfile/audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/hooks/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/hooks/read-package-hook" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/hooks/pnpmfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/symlink-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/read-modules-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/packlist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/is-empty-dir-or-nothing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/indexed-pkg-importer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/hard-link-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/graceful-fs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fs/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fetching/tarball-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fetching/pick-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fetching/git-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fetching/fetcher-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/fetching/directory-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/run-npm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/prepare-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/plugin-commands-script-runners" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/plugin-commands-rebuild" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/pkg-requires-build" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/lifecycle" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/exec/build-modules" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/env/plugin-commands-env" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/env/path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/env/node.resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/env/node.fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/deps/graph-sequencer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/deps/graph-builder" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/dedupe/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/dedupe/issues-renderer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/dedupe/check" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/crypto/object-hasher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/plugin-commands-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/pick-registry-for-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/parse-overrides" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/package-is-installable" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/normalize-registries" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/matcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/config/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/completion/plugin-commands-completion" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/parse-cli-args" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/default-reporter" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/common-cli-options-help" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/command" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/cli-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/cli/cli-meta" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/catalogs/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/catalogs/resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/catalogs/protocol-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/catalogs/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/tsconfig" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/test-ipc-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/scripts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/prepare" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/get-release-text" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/eslint-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/build-artifacts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/assert-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__utils__/assert-project" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__typings__" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./pnpm/__typecheck__" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/pnpm.pnpm.replay.txt > pnpm.pnpm.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./pnpm ./pnpm.pnpm.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

TypeError: Cannot read properties of undefined (reading 'sourceFile')

Req #148 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.6.0-dev.20240818/lib/typescript.js:140901:18)
    at getDocumentRegistryEntry (/typescript-5.6.0-dev.20240818/lib/typescript.js:140977:19)
    at Object.releaseDocumentWithKey (/typescript-5.6.0-dev.20240818/lib/typescript.js:141072:19)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:150008:65
    at forEach (/typescript-5.6.0-dev.20240818/lib/typescript.js:2283:22)
    at cleanupSemanticCache (/typescript-5.6.0-dev.20240818/lib/typescript.js:150008:7)
    at Object.dispose (/typescript-5.6.0-dev.20240818/lib/typescript.js:150013:5)
    at ConfiguredProject2.close (/typescript-5.6.0-dev.20240818/lib/typescript.js:183906:26)
    at ConfiguredProject2.close (/typescript-5.6.0-dev.20240818/lib/typescript.js:185509:11)
    at _ProjectService.removeProject (/typescript-5.6.0-dev.20240818/lib/typescript.js:186737:13)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:188537:33
    at _ProjectService.cleanupConfiguredProjects (/typescript-5.6.0-dev.20240818/lib/typescript.js:188537:7)
    at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.6.0-dev.20240818/lib/typescript.js:188540:10)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.6.0-dev.20240818/lib/typescript.js:188779:12)
    at updateOpen (/typescript-5.6.0-dev.20240818/lib/typescript.js:189970:29)
    at /typescript-5.6.0-dev.20240818/lib/typescript.js:192638:15
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240818/lib/typescript.js:192627:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240818/lib/typescript.js:192636:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240818/lib/typescript.js:192684:68)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240818/lib/tsserver.js:501:14)

Affected repos

calcom/cal.com Raw error text: RepoResults2/calcom.cal.com.rawError.txt in the artifact folder
Replay commands: RepoResults2/calcom.cal.com.replay.txt in the artifact folder

Last few requests

{"seq":145,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/types/Credential.d.ts","line":9,"offset":26}}
{"seq":146,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/types/Credential.d.ts","line":9,"offset":26}}
{"seq":147,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/ui/index.tsx"],"openFiles":[]}}
{"seq":148,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/types/Calendar.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/calcom/cal.com --recurse-submodules
git -C "./cal.com" reset --hard fc592a17ac6df2a7b486935b6eaae8164df228b7
yarn --cwd "./cal.com" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163340/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/calcom.cal.com.replay.txt > calcom.cal.com.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./cal.com ./calcom.cal.com.replay.txt <PATH_TO_tsserver.js>

@RyanCavanaugh RyanCavanaugh closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
@armanio123 armanio123 self-assigned this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants