microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101.26k stars 12.52k forks source link

[ServerErrors][JavaScript] 5.8.0-dev.20241124 vs 5.7.2 #60578

Closed typescript-bot closed 1 day ago

typescript-bot commented 3 days ago

The following errors were reported by 5.8.0-dev.20241124 vs 5.7.2 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 289 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 4 | | Detected no interesting changes | 285 | | Git clone failed | 3 | | Unknown failure | 8 |

Investigation Status

Repo Errors Outcome
typescript-bot commented 3 days ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

```json {"seq":22192,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14758,"offset":13}} {"seq":22193,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14776,"offset":2,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":22194,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14776,"offset":2,"entryNames":["$"]}} {"seq":22195,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14812,"offset":64,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/tastejs/todomvc --recurse-submodules git -C "./todomvc" reset --hard c8aedce5f512e47991a62b37b9ee3ef38df1a4b6 downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164210/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/tastejs.todomvc.replay.txt > tastejs.todomvc.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./todomvc ./tastejs.todomvc.replay.txt ```
typescript-bot commented 3 days ago

RangeError: Maximum call stack size exceeded

Req #1382 - references
    at recursiveTypeRelatedTo (/typescript-5.8.0-dev.20241124/lib/typescript.js:69261:36)
    at isRelatedTo (/typescript-5.8.0-dev.20241124/lib/typescript.js:68779:122)
    at checkTypeRelatedTo (/typescript-5.8.0-dev.20241124/lib/typescript.js:68402:20)
    at isTypeRelatedTo (/typescript-5.8.0-dev.20241124/lib/typescript.js:68333:14)
    at isTypeAssignableTo (/typescript-5.8.0-dev.20241124/lib/typescript.js:67459:12)
    at isTypeAssignableToKind (/typescript-5.8.0-dev.20241124/lib/typescript.js:82967:433)
    at allTypesAssignableToKind (/typescript-5.8.0-dev.20241124/lib/typescript.js:82970:133)
    at getPromisedTypeOfPromise (/typescript-5.8.0-dev.20241124/lib/typescript.js:85668:9)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241124/lib/typescript.js:78893:28)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241124/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241124/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241124/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241124/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241124/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241124/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:55206:24)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:54952:202
    at withContext2 (/typescript-5.8.0-dev.20241124/lib/typescript.js:55149:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:54952:107)
    at typeToString (/typescript-5.8.0-dev.20241124/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241124/lib/typescript.js:78899:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241124/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241124/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241124/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241124/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241124/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241124/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:55206:24)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:54952:202
    at withContext2 (/typescript-5.8.0-dev.20241124/lib/typescript.js:55149:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:54952:107)
    at typeToString (/typescript-5.8.0-dev.20241124/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241124/lib/typescript.js:78899:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241124/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241124/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241124/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241124/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241124/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241124/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241124/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241124/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241124/lib/typescript.js:55206:24)

Affected repos

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

Last few requests

```json {"seq":1379,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3792,"offset":35}} {"seq":1380,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3792,"offset":35}} {"seq":1381,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3794,"offset":75,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1382,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3802,"offset":60}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/less/less.js --recurse-submodules git -C "./less.js" reset --hard b09ad0f62a502a326de7065a62fd69e29837bcc1 npm --prefix "./less.js" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164210/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults8.zip "$downloadUrl" unzip -p RepoResults8.zip RepoResults8/less.less.js.replay.txt > less.less.js.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./less.js ./less.less.js.replay.txt ```
typescript-bot commented 3 days ago

Error: Debug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia

Req #7822 - references
    at addSyntheticNodes (/typescript-5.8.0-dev.20241124/lib/typescript.js:150990:15)
    at createSyntaxList (/typescript-5.8.0-dev.20241124/lib/typescript.js:151005:5)
    at processNodes (/typescript-5.8.0-dev.20241124/lib/typescript.js:150970:19)
    at visitNodes (/typescript-5.8.0-dev.20241124/lib/typescript.js:32142:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.8.0-dev.20241124/lib/typescript.js:32294:12)
    at forEachChild (/typescript-5.8.0-dev.20241124/lib/typescript.js:32658:35)
    at NodeObject.forEachChild (/typescript-5.8.0-dev.20241124/lib/typescript.js:150950:12)
    at createChildren (/typescript-5.8.0-dev.20241124/lib/typescript.js:150975:8)
    at NodeObject.getChildren (/typescript-5.8.0-dev.20241124/lib/typescript.js:150929:83)
    at getTokenAtPositionWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:139213:32)
    at getTouchingToken (/typescript-5.8.0-dev.20241124/lib/typescript.js:139186:10)
    at getTouchingPropertyName (/typescript-5.8.0-dev.20241124/lib/typescript.js:139183:10)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:172570:33
    at mapDefined (/typescript-5.8.0-dev.20241124/lib/typescript.js:2599:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.8.0-dev.20241124/lib/typescript.js:172569:12)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:173096:25
    at flatMap (/typescript-5.8.0-dev.20241124/lib/typescript.js:2529:17)
    at getReferencesForStringLiteral (/typescript-5.8.0-dev.20241124/lib/typescript.js:173094:24)
    at Object.getReferencedSymbolsForNode (/typescript-5.8.0-dev.20241124/lib/typescript.js:171974:16)
    at Object.findReferencedSymbols (/typescript-5.8.0-dev.20241124/lib/typescript.js:171578:34)
    at Object.findReferences (/typescript-5.8.0-dev.20241124/lib/typescript.js:152397:41)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:192673:43
    at searchPosition (/typescript-5.8.0-dev.20241124/lib/typescript.js:192814:28)
    at getPerProjectReferences (/typescript-5.8.0-dev.20241124/lib/typescript.js:192793:32)
    at getReferencesWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:192660:29)
    at IOSession.getReferences (/typescript-5.8.0-dev.20241124/lib/typescript.js:194694:24)
    at references (/typescript-5.8.0-dev.20241124/lib/typescript.js:193103:43)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:195725:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20241124/lib/typescript.js:195714:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20241124/lib/typescript.js:195723:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20241124/lib/typescript.js:195771:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20241124/lib/_tsserver.js:495:14)

Affected repos

HumanSignal/label-studio Raw error text: RepoResults6/HumanSignal.label-studio.rawError.txt in the artifact folder
Replay commands: RepoResults6/HumanSignal.label-studio.replay.txt in the artifact folder

Last few requests

```json {"seq":7819,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":107069}} {"seq":7820,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":107831}} {"seq":7821,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":108224}} {"seq":7822,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":108224}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/HumanSignal/label-studio --recurse-submodules git -C "./label-studio" reset --hard bdc505caee0bfc8bed981a33d9ed7545ce1058a6 # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "./label-studio/web" install --ignore-engines --ignore-scripts --silent yarn --cwd "./label-studio/web/tools/version" install --ignore-engines --ignore-scripts --silent npm --prefix "./label-studio/web/libs/ui" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./label-studio/web/libs/frontend-test/src/bin/assets" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./label-studio/web/libs/editor" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q yarn --cwd "./label-studio/web/libs/editor/tests/e2e" install --ignore-engines --ignore-scripts --silent npm --prefix "./label-studio/web/libs/datamanager" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q yarn --cwd "./label-studio/docs" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164210/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/HumanSignal.label-studio.replay.txt > HumanSignal.label-studio.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./label-studio ./HumanSignal.label-studio.replay.txt ```
typescript-bot commented 3 days ago

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

Req #484 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.8.0-dev.20241124/lib/typescript.js:142936:18)
    at getDocumentRegistryEntry (/typescript-5.8.0-dev.20241124/lib/typescript.js:143012:19)
    at Object.releaseDocumentWithKey (/typescript-5.8.0-dev.20241124/lib/typescript.js:143107:19)
    at releaseOldSourceFile (/typescript-5.8.0-dev.20241124/lib/typescript.js:151963:24)
    at Object.onReleaseOldSourceFile (/typescript-5.8.0-dev.20241124/lib/typescript.js:151967:7)
    at createProgram (/typescript-5.8.0-dev.20241124/lib/typescript.js:126225:14)
    at synchronizeHostDataWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:151923:15)
    at synchronizeHostData (/typescript-5.8.0-dev.20241124/lib/typescript.js:151818:7)
    at Object.getProgram (/typescript-5.8.0-dev.20241124/lib/typescript.js:152000:5)
    at InferredProject2.updateGraphWorker (/typescript-5.8.0-dev.20241124/lib/typescript.js:187011:41)
    at InferredProject2.updateGraph (/typescript-5.8.0-dev.20241124/lib/typescript.js:186846:32)
    at updateProjectIfDirty (/typescript-5.8.0-dev.20241124/lib/typescript.js:188674:36)
    at _ProjectService.assignProjectToOpenedScriptInfo (/typescript-5.8.0-dev.20241124/lib/typescript.js:191236:29)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:191776:27
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.8.0-dev.20241124/lib/typescript.js:191773:56)
    at updateOpen (/typescript-5.8.0-dev.20241124/lib/typescript.js:193005:29)
    at /typescript-5.8.0-dev.20241124/lib/typescript.js:195725:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20241124/lib/typescript.js:195714:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20241124/lib/typescript.js:195723:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20241124/lib/typescript.js:195771:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20241124/lib/_tsserver.js:495:14)

Affected repos

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

Last few requests

```json {"seq":481,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tools/config-rule.js","line":291,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":482,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tools/config-rule.js","line":291,"offset":4,"entryNames":["@abstract"]}} {"seq":483,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/Makefile.js"],"openFiles":[]}} {"seq":484,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/tools/code-sample-minimizer.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/eslint/eslint --recurse-submodules git -C "./eslint" reset --hard d46059410a0e02b98067aa31975c25fd8d0d1c2b # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "./eslint" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./eslint/packages/js" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./eslint/packages/eslint-config-eslint" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./eslint/docs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./eslint/docs/_examples/integration-tutorial-code" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./eslint/docs/_examples/custom-rule-tutorial-code" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164210/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults4.zip "$downloadUrl" unzip -p RepoResults4.zip RepoResults4/eslint.eslint.replay.txt > eslint.eslint.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./eslint ./eslint.eslint.replay.txt ```