microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.7.0-dev.20241006 vs 5.6.2 #60158

Closed typescript-bot closed 4 weeks ago

typescript-bot commented 1 month ago

The following errors were reported by 5.7.0-dev.20241006 vs 5.6.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 291 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 5 | | Detected no interesting changes | 286 | | Git clone failed | 2 | | Unknown failure | 7 |

Investigation Status

Repo Errors Outcome
typescript-bot commented 1 month ago

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

Req #475 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.7.0-dev.20241006/lib/typescript.js:142329:18)
    at getDocumentRegistryEntry (/typescript-5.7.0-dev.20241006/lib/typescript.js:142405:19)
    at Object.releaseDocumentWithKey (/typescript-5.7.0-dev.20241006/lib/typescript.js:142500:19)
    at releaseOldSourceFile (/typescript-5.7.0-dev.20241006/lib/typescript.js:151364:24)
    at Object.onReleaseOldSourceFile (/typescript-5.7.0-dev.20241006/lib/typescript.js:151368:7)
    at createProgram (/typescript-5.7.0-dev.20241006/lib/typescript.js:125632:14)
    at synchronizeHostDataWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:151324:15)
    at synchronizeHostData (/typescript-5.7.0-dev.20241006/lib/typescript.js:151219:7)
    at Object.getProgram (/typescript-5.7.0-dev.20241006/lib/typescript.js:151401:5)
    at InferredProject2.updateGraphWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:186189:41)
    at InferredProject2.updateGraph (/typescript-5.7.0-dev.20241006/lib/typescript.js:186024:32)
    at updateProjectIfDirty (/typescript-5.7.0-dev.20241006/lib/typescript.js:187852:36)
    at _ProjectService.assignProjectToOpenedScriptInfo (/typescript-5.7.0-dev.20241006/lib/typescript.js:190414:29)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:190954:27
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.7.0-dev.20241006/lib/typescript.js:190951:56)
    at updateOpen (/typescript-5.7.0-dev.20241006/lib/typescript.js:192183:29)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:194902:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241006/lib/typescript.js:194891:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241006/lib/typescript.js:194900:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241006/lib/typescript.js:194948:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241006/lib/_tsserver.js:501: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":472,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tools/eslint-fuzzer.js","line":203,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":473,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tools/eslint-fuzzer.js","line":203,"offset":17,"entryNames":["arguments"]}} {"seq":474,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/Makefile.js"],"openFiles":[]}} {"seq":475,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/tools/config-rule.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/eslint/eslint --recurse-submodules git -C "./eslint" reset --hard 1ee87ca1c50018947e76c29e78da9aaf711f53a2 # 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/163832/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 ```
typescript-bot commented 1 month 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":21945,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13267,"offset":67}} {"seq":21946,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13267,"offset":67,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":21947,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13267,"offset":72}} {"seq":21948,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13267,"offset":77,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/tastejs/todomvc --recurse-submodules git -C "./todomvc" reset --hard 6b217afbf549c7fbb138e6bad3d40309cc000ae8 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "./todomvc" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/tooling" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/tests" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/tasks" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/web-components" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/vue" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/typescript-react" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/typescript-backbone" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/typescript-angular" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/svelte" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/riotjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/reagent" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/react-redux" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/ractive" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/preact" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/polymer" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/mithril" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/lit" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/lavaca_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/knockoutjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/knockoutjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/knockback" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/jsblocks" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/js_of_ocaml" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/jquery" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/javascript-es6" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/javascript-es5" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/gwt" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/exoskeleton" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/enyo_backbone" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q pnpm --dir "./todomvc/examples/emberjs/todomvc" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent npm --prefix "./todomvc/examples/elm" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/duel" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/dojo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/dijon" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/cujo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/closure" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/canjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/canjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/binding-scala" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/backbone_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/backbone_marionette" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/backbone" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/aurelia" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/angularjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/angularjs_require/test" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/angular-dart" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/examples/angular" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/bower_components/webcomponentsjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./todomvc/bower_components/bootstrap" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163832/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 1 month ago

RangeError: Maximum call stack size exceeded

Req #1281 - references
    at addPropertyToElementList (/typescript-5.7.0-dev.20241006/lib/typescript.js:55854:38)
    at createTypeNodesFromResolvedType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55820:11)
    at createTypeNodeFromObjectType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55587:25)
    at visitAndTransformType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55510:24)
    at createAnonymousTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:55450:20)
    at typeToTypeNodeWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:55243:16)
    at typeToTypeNodeHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:55024:24)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:54892:165
    at withContext2 (/typescript-5.7.0-dev.20241006/lib/typescript.js:54990:29)
    at Object.typeToTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:54892:86)
    at typeToString (/typescript-5.7.0-dev.20241006/lib/typescript.js:54658:34)
    at reportNonexistentProperty (/typescript-5.7.0-dev.20241006/lib/typescript.js:78633:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.7.0-dev.20241006/lib/typescript.js:78461:11)
    at checkPropertyAccessExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:78242:94)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84218:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionForMutableLocation (/typescript-5.7.0-dev.20241006/lib/typescript.js:83887:18)
    at checkPropertyAssignment (/typescript-5.7.0-dev.20241006/lib/typescript.js:83903:12)
    at checkObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:77344:71)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84216:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at getTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84069:18)
    at getRegularTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:90696:40)
    at Object.serializeTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:54759:53)
    at inferExpressionType (/typescript-5.7.0-dev.20241006/lib/typescript.js:136686:21)
    at typeFromObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:136903:30)
    at typeFromExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:136767:16)
    at typeFromSingleReturnExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:137160:16)
    at createReturnFromSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:137126:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:136546:16)
    at serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:57069:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:56088:30)
    at addPropertyToElementList (/typescript-5.7.0-dev.20241006/lib/typescript.js:55909:37)
    at createTypeNodesFromResolvedType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55817:13)
    at createTypeNodeFromObjectType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55587:25)
    at visitAndTransformType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55510:24)
    at createAnonymousTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:55450:20)
    at typeToTypeNodeWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:55243:16)
    at typeToTypeNodeHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:55024:24)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:54892:165
    at withContext2 (/typescript-5.7.0-dev.20241006/lib/typescript.js:54990:29)
    at Object.typeToTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:54892:86)
    at typeToString (/typescript-5.7.0-dev.20241006/lib/typescript.js:54658:34)
    at reportNonexistentProperty (/typescript-5.7.0-dev.20241006/lib/typescript.js:78633:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.7.0-dev.20241006/lib/typescript.js:78461:11)
    at checkPropertyAccessExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:78242:94)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84218:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionForMutableLocation (/typescript-5.7.0-dev.20241006/lib/typescript.js:83887:18)
    at checkPropertyAssignment (/typescript-5.7.0-dev.20241006/lib/typescript.js:83903:12)
    at checkObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:77344:71)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84216:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at getTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84069:18)
    at getRegularTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:90696:40)
    at Object.serializeTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:54759:53)
    at inferExpressionType (/typescript-5.7.0-dev.20241006/lib/typescript.js:136686:21)
    at typeFromObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:136903:30)
    at typeFromExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:136767:16)
    at typeFromSingleReturnExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:137160:16)
    at createReturnFromSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:137126:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:136546:16)
    at serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:57069:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:56088:30)
    at addPropertyToElementList (/typescript-5.7.0-dev.20241006/lib/typescript.js:55909:37)
    at createTypeNodesFromResolvedType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55817:13)
    at createTypeNodeFromObjectType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55587:25)
    at visitAndTransformType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55510:24)
    at createAnonymousTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:55450:20)
    at typeToTypeNodeWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:55243:16)
    at typeToTypeNodeHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:55024:24)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:54892:165
    at withContext2 (/typescript-5.7.0-dev.20241006/lib/typescript.js:54990:29)
    at Object.typeToTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:54892:86)
    at typeToString (/typescript-5.7.0-dev.20241006/lib/typescript.js:54658:34)
    at reportNonexistentProperty (/typescript-5.7.0-dev.20241006/lib/typescript.js:78633:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.7.0-dev.20241006/lib/typescript.js:78461:11)
    at checkPropertyAccessExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:78242:94)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84218:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionForMutableLocation (/typescript-5.7.0-dev.20241006/lib/typescript.js:83887:18)
    at checkPropertyAssignment (/typescript-5.7.0-dev.20241006/lib/typescript.js:83903:12)
    at checkObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:77344:71)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84216:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at getTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84069:18)
    at getRegularTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:90696:40)
    at Object.serializeTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:54759:53)
    at inferExpressionType (/typescript-5.7.0-dev.20241006/lib/typescript.js:136686:21)
    at typeFromObjectLiteral (/typescript-5.7.0-dev.20241006/lib/typescript.js:136903:30)
    at typeFromExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:136767:16)
    at typeFromSingleReturnExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:137160:16)
    at createReturnFromSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:137126:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:136546:16)
    at serializeReturnTypeForSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:57069:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.7.0-dev.20241006/lib/typescript.js:56088:30)
    at addPropertyToElementList (/typescript-5.7.0-dev.20241006/lib/typescript.js:55909:37)
    at createTypeNodesFromResolvedType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55817:13)
    at createTypeNodeFromObjectType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55587:25)
    at visitAndTransformType (/typescript-5.7.0-dev.20241006/lib/typescript.js:55510: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":1278,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3676,"offset":86,"entryNames":["__assign"]}} {"seq":1279,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3695,"offset":42}} {"seq":1280,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3773,"offset":35}} {"seq":1281,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3783,"offset":60}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/less/less.js --recurse-submodules git -C "./less.js" reset --hard 53f84f02bad6efdc60dc1dd77f4a30aad976c6ba 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/163832/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 1 month ago

RangeError: Maximum call stack size exceeded

Req #17210 - completionInfo
    at getJSDocType (/typescript-5.7.0-dev.20241006/lib/typescript.js:15150:22)
    at getEffectiveTypeAnnotationNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:20382:91)
    at tryGetTypeFromEffectiveTypeNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:59925:22)
    at getTypeForVariableLikeDeclaration (/typescript-5.7.0-dev.20241006/lib/typescript.js:59361:26)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.7.0-dev.20241006/lib/typescript.js:59865:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:60010:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.7.0-dev.20241006/lib/typescript.js:59946:20)
    at getTypeOfSymbol (/typescript-5.7.0-dev.20241006/lib/typescript.js:60269:14)
    at getNarrowedTypeOfSymbol (/typescript-5.7.0-dev.20241006/lib/typescript.js:75236:18)
    at checkIdentifier (/typescript-5.7.0-dev.20241006/lib/typescript.js:75379:16)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84184:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at maybeCheckExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:83097:28)
    at BinaryExpressionStateMachine.onLeft (/typescript-5.7.0-dev.20241006/lib/typescript.js:83031:16)
    at Array.left (/typescript-5.7.0-dev.20241006/lib/typescript.js:31791:30)
    at trampoline (/typescript-5.7.0-dev.20241006/lib/typescript.js:31898:42)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:82989:22
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84263:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionCached (/typescript-5.7.0-dev.20241006/lib/typescript.js:83752:28)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:82149:20
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17792:16)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32123:22)
    at forEachChildInBlock (/typescript-5.7.0-dev.20241006/lib/typescript.js:32593:10)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at forEachReturnStatement (/typescript-5.7.0-dev.20241006/lib/typescript.js:17788:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.7.0-dev.20241006/lib/typescript.js:82130:5)
    at getReturnTypeFromBody (/typescript-5.7.0-dev.20241006/lib/typescript.js:81958:21)
    at getReturnTypeOfSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:63121:426)
    at getReturnTypeOfSingleNonGenericCallSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:84048:14)
    at getQuickTypeOfExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84099:94)
    at checkDeclarationInitializer (/typescript-5.7.0-dev.20241006/lib/typescript.js:83774:18)
    at getTypeForVariableLikeDeclaration (/typescript-5.7.0-dev.20241006/lib/typescript.js:59415:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.7.0-dev.20241006/lib/typescript.js:59865:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:60010:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.7.0-dev.20241006/lib/typescript.js:59946:20)
    at getTypeOfSymbol (/typescript-5.7.0-dev.20241006/lib/typescript.js:60269:14)
    at getNarrowedTypeOfSymbol (/typescript-5.7.0-dev.20241006/lib/typescript.js:75236:18)
    at checkIdentifier (/typescript-5.7.0-dev.20241006/lib/typescript.js:75379:16)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84184:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionWithContextualType (/typescript-5.7.0-dev.20241006/lib/typescript.js:83728:18)
    at getSignatureApplicabilityError (/typescript-5.7.0-dev.20241006/lib/typescript.js:79410:25)
    at chooseOverload (/typescript-5.7.0-dev.20241006/lib/typescript.js:79957:13)
    at resolveCall (/typescript-5.7.0-dev.20241006/lib/typescript.js:79804:16)
    at resolveCallExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:80241:12)
    at resolveSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:80667:16)
    at getResolvedSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:80694:18)
    at checkCallExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:80805:23)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84229:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at maybeCheckExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:83097:28)
    at BinaryExpressionStateMachine.onRight (/typescript-5.7.0-dev.20241006/lib/typescript.js:83061:16)
    at Array.right (/typescript-5.7.0-dev.20241006/lib/typescript.js:31811:30)
    at trampoline (/typescript-5.7.0-dev.20241006/lib/typescript.js:31898:42)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:82989:22
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84263:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionCached (/typescript-5.7.0-dev.20241006/lib/typescript.js:83752:28)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:82149:20
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17792:16)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32123:22)
    at forEachChildInBlock (/typescript-5.7.0-dev.20241006/lib/typescript.js:32593:10)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at forEachReturnStatement (/typescript-5.7.0-dev.20241006/lib/typescript.js:17788:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.7.0-dev.20241006/lib/typescript.js:82130:5)
    at getReturnTypeFromBody (/typescript-5.7.0-dev.20241006/lib/typescript.js:81958:21)
    at getReturnTypeOfSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:63121:426)
    at checkCallExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:80830:24)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84229:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkExpressionCached (/typescript-5.7.0-dev.20241006/lib/typescript.js:83752:28)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:82149:20
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17792:16)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32123:22)
    at forEachChildInCaseClause (/typescript-5.7.0-dev.20241006/lib/typescript.js:32380:51)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32123:22)
    at forEachChildInCaseBlock (/typescript-5.7.0-dev.20241006/lib/typescript.js:32377:12)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at visitNode2 (/typescript-5.7.0-dev.20241006/lib/typescript.js:32115:18)
    at forEachChildInSwitchStatement (/typescript-5.7.0-dev.20241006/lib/typescript.js:32374:51)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32123:22)
    at forEachChildInBlock (/typescript-5.7.0-dev.20241006/lib/typescript.js:32593:10)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at traverse (/typescript-5.7.0-dev.20241006/lib/typescript.js:17808:16)
    at forEachReturnStatement (/typescript-5.7.0-dev.20241006/lib/typescript.js:17788:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.7.0-dev.20241006/lib/typescript.js:82130:5)
    at getReturnTypeFromBody (/typescript-5.7.0-dev.20241006/lib/typescript.js:81958:21)
    at getReturnTypeOfSignature (/typescript-5.7.0-dev.20241006/lib/typescript.js:63121:426)
    at checkCallExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:80830:24)
    at checkExpressionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:84229:16)
    at checkExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:84128:32)
    at checkConditionalExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:83678:19)

Affected repos

microsoft/monaco-editor Raw error text: RepoResults2/microsoft.monaco-editor.rawError.txt in the artifact folder
Replay commands: RepoResults2/microsoft.monaco-editor.replay.txt in the artifact folder

Last few requests

```json {"seq":17207,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50901,"offset":33,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":17208,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50903,"offset":64,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":17209,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50903,"offset":64,"entryNames":["_"]}} {"seq":17210,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50908,"offset":35,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/microsoft/monaco-editor --recurse-submodules git -C "./monaco-editor" reset --hard 4dc7b06d9b65ba5e55620b7c1c40afdcf4f517af # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "./monaco-editor" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q yarn --cwd "./monaco-editor/website" install --ignore-engines --ignore-scripts --silent npm --prefix "./monaco-editor/webpack-plugin" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/test/smoke/parcel" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/electron-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/electron-amd-nodeIntegration" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/electron-amd" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-webpack-typescript-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-webpack-typescript" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-webpack-small" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-webpack-monaco-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-vite-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-parcel" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "./monaco-editor/samples/browser-esm-esbuild" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163832/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/microsoft.monaco-editor.replay.txt > microsoft.monaco-editor.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 ./monaco-editor ./microsoft.monaco-editor.replay.txt ```
typescript-bot commented 1 month ago

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

Req #606 - references
    at addSyntheticNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:150390:15)
    at createSyntaxList (/typescript-5.7.0-dev.20241006/lib/typescript.js:150405:5)
    at processNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:150370:19)
    at visitNodes (/typescript-5.7.0-dev.20241006/lib/typescript.js:32120:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.7.0-dev.20241006/lib/typescript.js:32272:12)
    at forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:32636:35)
    at NodeObject.forEachChild (/typescript-5.7.0-dev.20241006/lib/typescript.js:150350:12)
    at createChildren (/typescript-5.7.0-dev.20241006/lib/typescript.js:150375:8)
    at NodeObject.getChildren (/typescript-5.7.0-dev.20241006/lib/typescript.js:150329:83)
    at getTokenAtPositionWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:138617:32)
    at getTouchingToken (/typescript-5.7.0-dev.20241006/lib/typescript.js:138590:10)
    at getTouchingPropertyName (/typescript-5.7.0-dev.20241006/lib/typescript.js:138587:10)
    at getReferencesAtLocation (/typescript-5.7.0-dev.20241006/lib/typescript.js:171896:31)
    at getReferencesInContainer (/typescript-5.7.0-dev.20241006/lib/typescript.js:171889:7)
    at getReferencesInSourceFile (/typescript-5.7.0-dev.20241006/lib/typescript.js:171882:12)
    at searchForName (/typescript-5.7.0-dev.20241006/lib/typescript.js:171695:7)
    at getReferencesInContainerOrFiles (/typescript-5.7.0-dev.20241006/lib/typescript.js:171495:9)
    at getReferencedSymbolsForSymbol (/typescript-5.7.0-dev.20241006/lib/typescript.js:171477:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.7.0-dev.20241006/lib/typescript.js:171227:24)
    at Object.findReferencedSymbols (/typescript-5.7.0-dev.20241006/lib/typescript.js:170811:34)
    at Object.findReferences (/typescript-5.7.0-dev.20241006/lib/typescript.js:151776:41)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:191851:43
    at searchPosition (/typescript-5.7.0-dev.20241006/lib/typescript.js:191992:28)
    at getPerProjectReferences (/typescript-5.7.0-dev.20241006/lib/typescript.js:191971:32)
    at getReferencesWorker (/typescript-5.7.0-dev.20241006/lib/typescript.js:191838:29)
    at IOSession.getReferences (/typescript-5.7.0-dev.20241006/lib/typescript.js:193873:24)
    at references (/typescript-5.7.0-dev.20241006/lib/typescript.js:192281:43)
    at /typescript-5.7.0-dev.20241006/lib/typescript.js:194902:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241006/lib/typescript.js:194891:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241006/lib/typescript.js:194900:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241006/lib/typescript.js:194948:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241006/lib/_tsserver.js:501:14)

Affected repos

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

Last few requests

```json {"seq":603,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":119599}} {"seq":604,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":119602,"includeExternalModuleExports":true,"triggerKind":1}} {"seq":605,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":119602,"entryNames":["a"]}} {"seq":606,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":119884}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/HumanSignal/label-studio --recurse-submodules git -C "./label-studio" reset --hard 3640c616c95f975d28a657df66afc7fe60f8f435 # 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/frontend-test/src/bin/assets" 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 yarn --cwd "./label-studio/docs" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163832/artifacts?artifactName=RepoResults7&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults7.zip "$downloadUrl" unzip -p RepoResults7.zip RepoResults7/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 ```