microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.5.0-dev.20240602 #58738

Closed typescript-bot closed 5 months ago

typescript-bot commented 5 months ago

The following errors were reported by 5.5.0-dev.20240602 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 294 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 11 | | Detected no interesting changes | 283 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
!3704895d407de93a5c02330d879bb440 1
04bbb04470b578327298093c413da1e3 1
05dc022b77792efd84491358bf4bf0af 1
39ccb7280e3aac605a50b4ecf4b0c3b3 1
7078aee4e4e66592f902abca476aefe7 1
7078aee4e4e66592f902abca476aefe7 1
7078aee4e4e66592f902abca476aefe7 1
a16d23007a92966470fb2345546954a2 1
ad37a1d7c02aa49dcb89dd049182fde1 1
ad37a1d7c02aa49dcb89dd049182fde1 1
ae98d0ada5517b2c3cffb1b04de7f4a4 1
typescript-bot commented 5 months ago
Error: Debug Failure. Expected declaration to have at least one class-like declaration ``` Req #3342 - definitionAndBoundSpan at getConstructSignatureDefinition (/typescript-5.4.5/lib/tsserver.js:166491:68) at getDefinitionFromSymbol (/typescript-5.4.5/lib/tsserver.js:166480:10) at getDefinitionAtPosition (/typescript-5.4.5/lib/tsserver.js:166207:20) at Object.getDefinitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:166424:23) at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.4.5/lib/tsserver.js:146653:38) at IOSession.getDefinitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:186032:73) at definitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:185019:43) at /typescript-5.4.5/lib/tsserver.js:187569:69 at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14) at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29) at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51) at Interface. (/typescript-5.4.5/lib/tsserver.js:189196:14) ```

Repos no longer reporting the error

typescript-bot commented 5 months ago

RangeError: Maximum call stack size exceeded

Req #23101 - references
    at getRelationKey (/typescript-5.5.0-dev.20240602/lib/typescript.js:70004:26)
    at recursiveTypeRelatedTo (/typescript-5.5.0-dev.20240602/lib/typescript.js:68350:18)
    at isRelatedTo (/typescript-5.5.0-dev.20240602/lib/typescript.js:67863:122)
    at checkTypeRelatedTo (/typescript-5.5.0-dev.20240602/lib/typescript.js:67486:20)
    at isTypeRelatedTo (/typescript-5.5.0-dev.20240602/lib/typescript.js:67419:14)
    at isTypeAssignableTo (/typescript-5.5.0-dev.20240602/lib/typescript.js:66544:12)
    at isTypeAssignableToKind (/typescript-5.5.0-dev.20240602/lib/typescript.js:81822:433)
    at allTypesAssignableToKind (/typescript-5.5.0-dev.20240602/lib/typescript.js:81825:133)
    at getPromisedTypeOfPromise (/typescript-5.5.0-dev.20240602/lib/typescript.js:84373:9)
    at reportNonexistentProperty (/typescript-5.5.0-dev.20240602/lib/typescript.js:77812:28)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.5.0-dev.20240602/lib/typescript.js:77646:11)
    at checkPropertyAccessExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77427:94)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83193:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkNonNullExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77348:29)
    at checkPropertyAccessExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77427:162)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83193:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionWithContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:82763:18)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78593:25)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkConditionalExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:82713:19)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83239:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79969:24)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionWithContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:82763:18)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78593:25)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at serializeReturnTypeForSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:56091:26)
    at signatureToSignatureDeclarationHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:55192:30)
    at addPropertyToElementList (/typescript-5.5.0-dev.20240602/lib/typescript.js:55017:37)
    at createTypeNodesFromResolvedType (/typescript-5.5.0-dev.20240602/lib/typescript.js:54942:11)
    at createTypeNodeFromObjectType (/typescript-5.5.0-dev.20240602/lib/typescript.js:54745:25)
    at visitAndTransformType (/typescript-5.5.0-dev.20240602/lib/typescript.js:54668:24)
    at createAnonymousTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54608:20)
    at typeToTypeNodeWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:54401:16)
    at typeToTypeNodeHelper (/typescript-5.5.0-dev.20240602/lib/typescript.js:54182:24)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:54023:135
    at withContext2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:54170:29)
    at Object.typeToTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:54023:71)
    at typeToString (/typescript-5.5.0-dev.20240602/lib/typescript.js:53974:34)
    at reportNonexistentProperty (/typescript-5.5.0-dev.20240602/lib/typescript.js:77818:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.5.0-dev.20240602/lib/typescript.js:77646:11)
    at checkPropertyAccessExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77427:94)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83193:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkNonNullExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77348:29)
    at checkPropertyAccessExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:77427:162)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83193:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionWithContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:82763:18)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78593:25)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20

Affected repos

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

Last few requests

```json {"seq":23098,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/cli/test/fixtures/unused-javascript.js","line":9,"offset":100871,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":23099,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/cli/test/fixtures/unused-javascript.js","line":9,"offset":101032,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":23100,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/cli/test/fixtures/unused-javascript.js","line":9,"offset":101032,"entryNames":["a"]}} {"seq":23101,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/cli/test/fixtures/unused-javascript.js","line":9,"offset":101255}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/GoogleChrome/lighthouse --recurse-submodules git -C "./lighthouse" reset --hard a1d424eef4c8ab1d0ef6c7c71dd7e212316e9ba9 downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/GoogleChrome.lighthouse.replay.txt > GoogleChrome.lighthouse.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 ./lighthouse ./GoogleChrome.lighthouse.replay.txt ```
typescript-bot commented 5 months 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":21827,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13806,"offset":64}} {"seq":21828,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13811,"offset":96}} {"seq":21829,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13859,"offset":23}} {"seq":21830,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13873,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

Error: Debug Failure. False expression.

Req #2585 - references
    at getSourceFileLikeForImportDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:167714:9)
    at handleDirectImports (/typescript-5.5.0-dev.20240602/lib/typescript.js:167277:31)
    at getImportersForExport (/typescript-5.5.0-dev.20240602/lib/typescript.js:167212:3)
    at State.importTracker (/typescript-5.5.0-dev.20240602/lib/typescript.js:167191:46)
    at State.getImportSearches (/typescript-5.5.0-dev.20240602/lib/typescript.js:168604:19)
    at searchForImportsOfExport (/typescript-5.5.0-dev.20240602/lib/typescript.js:168648:71)
    at getImportOrExportReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:169039:7)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:168966:5)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240602/lib/typescript.js:168912:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168905:12)
    at searchForImportedSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:168714:7)
    at getImportOrExportReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:169036:9)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:168966:5)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240602/lib/typescript.js:168912:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240602/lib/typescript.js:168509:7)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:168502:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168252:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":2582,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3524,"offset":6}} {"seq":2583,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3524,"offset":6}} {"seq":2584,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3524,"offset":12}} {"seq":2585,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3531,"offset":6}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/videojs/video.js --recurse-submodules git -C "./video.js" reset --hard a10d25861daec1132dce5805615346d6d0c0ef87 npm --prefix "/mnt/ts_downloads/base/video.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/162053/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/videojs.video.js.replay.txt > videojs.video.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 ./video.js ./videojs.video.js.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 1 < 1.

Req #2172 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":2169,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":668,"offset":23,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":2170,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":676,"offset":30,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2171,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":676,"offset":30,"entryNames":["_logFunc"]}} {"seq":2172,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":676,"offset":39,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/nodemailer/nodemailer --recurse-submodules git -C "./nodemailer" reset --hard e9e9ecc99b352948a912868c7912b280a05178c6 npm --prefix "/mnt/ts_downloads/base/nodemailer" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults8.zip "$downloadUrl" unzip -p RepoResults8.zip RepoResults8/nodemailer.nodemailer.replay.txt > nodemailer.nodemailer.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 ./nodemailer ./nodemailer.nodemailer.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 1 < 1.

Req #397 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":394,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/test.js","line":77,"offset":20,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":395,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/test.js","line":114,"offset":11,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":396,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/test.js","line":114,"offset":11,"entryNames":["args"]}} {"seq":397,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/test.js","line":124,"offset":172,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/avajs/ava --recurse-submodules git -C "./ava" reset --hard f8bf00cd988b5e981b6c7d87523a1e0c5dc947c0 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/ava" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/typescript-context" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/typescript-basic" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/timeouts" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/tap-reporter" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/specific-line-numbers" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/matching-titles" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/macros" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/ava/examples/endpoint-testing" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/avajs.ava.replay.txt > avajs.ava.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 ./ava ./avajs.ava.replay.txt ```
typescript-bot commented 5 months ago

Error: Debug Failure. Expected 1 < 1.

Req #2591 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172826:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:172843:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:172817:16)
    at getContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:164364:48)
    at getCompletionData (/typescript-5.5.0-dev.20240602/lib/typescript.js:164602:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162553:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

dcloudio/uni-app Raw error text: RepoResults2/dcloudio.uni-app.rawError.txt in the artifact folder
Replay commands: RepoResults2/dcloudio.uni-app.replay.txt in the artifact folder

Last few requests

```json {"seq":2588,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-mp-baidu/dist/uni.api.esm.js","line":541,"offset":23,"includeExternalModuleExports":true,"triggerKind":1}} {"seq":2589,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/uni-mp-baidu/dist/uni.api.esm.js","line":541,"offset":23,"entryNames":["$emit"]}} {"seq":2590,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-mp-baidu/dist/uni.api.esm.js","line":577,"offset":24,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"'"}} {"seq":2591,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-mp-baidu/dist/uni.api.esm.js","line":618,"offset":23,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/dcloudio/uni-app --recurse-submodules git -C "./uni-app" reset --hard 16fe3fb874f5db3205310a991a44b2bbc833ce50 # Install packages (exact steps are below, but it might be easier to follow the repo readme) pnpm --dir "/mnt/ts_downloads/base/uni-app" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "/mnt/ts_downloads/base/uni-app/packages/playground/uts/uni_modules/test-uniplugin" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/dcloudio.uni-app.replay.txt > dcloudio.uni-app.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 ./uni-app ./dcloudio.uni-app.replay.txt ```
typescript-bot commented 5 months ago

RangeError: Maximum call stack size exceeded

Req #17109 - completionInfo
    at getJSDocParameterTags (/typescript-5.5.0-dev.20240602/lib/typescript.js:15108:31)
    at isJSDocOptionalParameter (/typescript-5.5.0-dev.20240602/lib/typescript.js:22968:67)
    at isOptionalDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:22976:45)
    at getTypeOfParameter (/typescript-5.5.0-dev.20240602/lib/typescript.js:80427:56)
    at tryGetTypeAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:80515:14)
    at getTypeAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:80510:12)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78592:27)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at getContextFreeTypeOfExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83103:42)
    at addEvolvingArrayElementType (/typescript-5.5.0-dev.20240602/lib/typescript.js:72610:80)
    at getTypeAtFlowArrayMutation (/typescript-5.5.0-dev.20240602/lib/typescript.js:73127:32)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72993:18)
    at getTypeAtFlowBranchLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73191:26)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:48)
    at getTypeAtFlowBranchLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73191:26)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:48)
    at getTypeAtFlowCondition (/typescript-5.5.0-dev.20240602/lib/typescript.js:73143:24)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72983:18)
    at getTypeAtFlowCondition (/typescript-5.5.0-dev.20240602/lib/typescript.js:73143:24)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72983:18)
    at getTypeAtFlowBranchLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73191:26)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:48)
    at getTypeAtFlowLoopLabel (/typescript-5.5.0-dev.20240602/lib/typescript.js:73256:22)
    at getTypeAtFlowNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:72991:81)
    at getFlowTypeOfReference (/typescript-5.5.0-dev.20240602/lib/typescript.js:72934:45)
    at checkIdentifier (/typescript-5.5.0-dev.20240602/lib/typescript.js:74684:134)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83159:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionWithContextualType (/typescript-5.5.0-dev.20240602/lib/typescript.js:82763:18)
    at getSignatureApplicabilityError (/typescript-5.5.0-dev.20240602/lib/typescript.js:78593:25)
    at chooseOverload (/typescript-5.5.0-dev.20240602/lib/typescript.js:79130:13)
    at resolveCall (/typescript-5.5.0-dev.20240602/lib/typescript.js:78977:16)
    at resolveCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79414:12)
    at resolveSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79807:16)
    at getResolvedSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:79833:18)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79944:23)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79969:24)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInIfStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31961:51)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNode2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:31728:18)
    at forEachChildInIfStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:31961:51)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:32206:10)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at forEachReturnStatement (/typescript-5.5.0-dev.20240602/lib/typescript.js:17718:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.5.0-dev.20240602/lib/typescript.js:81243:5)
    at getReturnTypeFromBody (/typescript-5.5.0-dev.20240602/lib/typescript.js:81056:21)
    at getReturnTypeOfSignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:62543:426)
    at checkCallExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:79969:24)
    at checkExpressionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:83203:16)
    at checkExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:83113:32)
    at checkExpressionCached (/typescript-5.5.0-dev.20240602/lib/typescript.js:82787:28)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:81262:20
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17722:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInCaseClause (/typescript-5.5.0-dev.20240602/lib/typescript.js:31993:51)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31736:22)
    at forEachChildInCaseBlock (/typescript-5.5.0-dev.20240602/lib/typescript.js:31990:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at traverse (/typescript-5.5.0-dev.20240602/lib/typescript.js:17738:16)

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":17106,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50748,"offset":47,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":17107,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50804,"offset":11}} {"seq":17108,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50815,"offset":54}} {"seq":17109,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":50818,"offset":27,"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 c49fdf9f0c131909ca1b661ca3ff4113c42f1c09 # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/monaco-editor" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q yarn --cwd "/mnt/ts_downloads/base/monaco-editor/website" install --ignore-engines --ignore-scripts --silent npm --prefix "/mnt/ts_downloads/base/monaco-editor/webpack-plugin" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/test/smoke/parcel" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/electron-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/electron-amd-nodeIntegration" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/electron-amd" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-webpack-typescript-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-webpack-typescript" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-webpack-small" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-webpack-monaco-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-vite-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/monaco-editor/samples/browser-esm-parcel" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/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/162053/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 5 months ago

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

Req #681 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148063:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148078:5)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31885:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:168919:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240602/lib/typescript.js:168912:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168905:12)
    at searchForName (/typescript-5.5.0-dev.20240602/lib/typescript.js:168719:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240602/lib/typescript.js:168520:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:168502:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168252:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":678,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127309,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":679,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127421}} {"seq":680,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127881}} {"seq":681,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127930}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/HumanSignal/label-studio --recurse-submodules git -C "./label-studio" reset --hard b59fb98c35b73b36b111e004639807a637f3f74b downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults8.zip "$downloadUrl" unzip -p RepoResults8.zip RepoResults8/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 5 months ago

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

Req #1092 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148063:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240602/lib/typescript.js:148078:5)
    at processNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:148043:19)
    at visitNodes (/typescript-5.5.0-dev.20240602/lib/typescript.js:31733:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240602/lib/typescript.js:31885:12)
    at forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:32249:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:148023:12)
    at createChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148048:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240602/lib/typescript.js:148002:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:136380:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240602/lib/typescript.js:136353:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240602/lib/typescript.js:136350:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240602/lib/typescript.js:168919:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240602/lib/typescript.js:168912:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240602/lib/typescript.js:168905:12)
    at searchForName (/typescript-5.5.0-dev.20240602/lib/typescript.js:168719:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240602/lib/typescript.js:168520:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:168502:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:168252:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:167837:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:149324:41)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:188521:43
    at searchPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:188663:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:188642:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:188513:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240602/lib/typescript.js:190435:24)
    at references (/typescript-5.5.0-dev.20240602/lib/typescript.js:188940:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":1089,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":6997,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1090,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":6997,"entryNames":["a"]}} {"seq":1091,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":7852}} {"seq":1092,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":8852}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/HeyPuter/puter --recurse-submodules git -C "./puter" reset --hard cf8a07286af620d215e9d6635083f6cac630088f # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/puter" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/puter/src/lib/jquery-ui-1.13.2" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162053/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/HeyPuter.puter.replay.txt > HeyPuter.puter.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 ./puter ./HeyPuter.puter.replay.txt ```
typescript-bot commented 5 months ago

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

Req #3283 - completionInfo
    at needsNameFromDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:138124:19)
    at getNameForExportedSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:138118:7)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161295:20)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at visitEachChildOfPropertySignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:92675:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitArrayWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:92439:49)
    at visitNodes2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:92410:19)
    at visitEachChildOfTypeLiteralNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92815:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitArrayWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:92439:49)
    at visitNodes2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:92410:19)
    at visitEachChildOfIntersectionTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92851:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at visitEachChildOfParameterDeclaration (/typescript-5.5.0-dev.20240602/lib/typescript.js:92658:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitArrayWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:92439:49)
    at visitNodes2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:92410:19)
    at visitEachChildOfFunctionTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92792:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at visitEachChildOfParenthesizedType (/typescript-5.5.0-dev.20240602/lib/typescript.js:92898:26)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at visitEachChildOfArrayTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92821:26)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitArrayWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:92439:49)
    at visitNodes2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:92410:19)
    at visitEachChildOfUnionTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92845:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at visitEachChildOfPropertySignature (/typescript-5.5.0-dev.20240602/lib/typescript.js:92675:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitArrayWorker (/typescript-5.5.0-dev.20240602/lib/typescript.js:92439:49)
    at visitNodes2 (/typescript-5.5.0-dev.20240602/lib/typescript.js:92410:19)
    at visitEachChildOfTypeLiteralNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92815:7)
    at visitEachChild (/typescript-5.5.0-dev.20240602/lib/typescript.js:92625:33)
    at visit (/typescript-5.5.0-dev.20240602/lib/typescript.js:161301:12)
    at visitNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:92377:19)
    at tryGetAutoImportableReferenceFromTypeNode (/typescript-5.5.0-dev.20240602/lib/typescript.js:161288:20)
    at Object.addNewNodeForMemberSymbol (/typescript-5.5.0-dev.20240602/lib/typescript.js:160732:37)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240602/lib/typescript.js:163504:22)
    at createCompletionEntry (/typescript-5.5.0-dev.20240602/lib/typescript.js:163376:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240602/lib/typescript.js:163980:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240602/lib/typescript.js:163027:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240602/lib/typescript.js:162571:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240602/lib/typescript.js:149155:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240602/lib/typescript.js:190680:54)
    at completionInfo (/typescript-5.5.0-dev.20240602/lib/typescript.js:189059:43)
    at /typescript-5.5.0-dev.20240602/lib/typescript.js:191478:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240602/lib/typescript.js:191470:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240602/lib/typescript.js:191478:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240602/lib/typescript.js:191520:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240602/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":3280,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/types/photoswipe.d.ts","line":383,"offset":8,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3281,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/types/photoswipe.d.ts","line":383,"offset":8,"entryNames":["@abstract"]}} {"seq":3282,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/types/photoswipe.d.ts","line":391,"offset":8}} {"seq":3283,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/types/photoswipe.d.ts","line":394,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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