microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.6.0-dev.20240609 #58812

Closed typescript-bot closed 2 months ago

typescript-bot commented 2 months ago

The following errors were reported by 5.6.0-dev.20240609 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 | 15 | | Detected no interesting changes | 279 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
!22bdcd0b9836bea22e5243795e0be850 1
!3704895d407de93a5c02330d879bb440 1
!5fd69350215986dae340ef603d834ce8 1
05dc022b77792efd84491358bf4bf0af 1
28d083323ad3e0615753ae3c7d81b0eb 1
28d083323ad3e0615753ae3c7d81b0eb 1
2a375d25b779d88c59a507988644269e 1
46ad2a8cc0af7f0304424451dece5997 1
71a988c5fd4beefa147c97192aac3f22 1
8be2b21706ae291a2819e8339a031550 1
d996c40401aba2b055f86b19d29d28e6 1
dc8107089e012afe7444b796ba601795 1
dd4a4060d97decd38b2b08ea4abc87c0 1
edaa239b61836fceba505a6552d98ea2 1
typescript-bot commented 2 months ago
Error: Debug Failure. False expression: Expected the specifier to be a default export ``` Req #2362 - completionInfo at /typescript-5.4.5/lib/tsserver.js:135929:13 at firstDefined (/typescript-5.4.5/lib/tsserver.js:2385:20) at getNameForExportDefault (/typescript-5.4.5/lib/tsserver.js:135924:33) at getDefaultExportInfoWorker (/typescript-5.4.5/lib/tsserver.js:135909:16) at getDefaultExportInfoWorker (/typescript-5.4.5/lib/tsserver.js:135915:14) at getDefaultLikeExportInfo (/typescript-5.4.5/lib/tsserver.js:135891:16) at /typescript-5.4.5/lib/tsserver.js:135850:29 at /typescript-5.4.5/lib/tsserver.js:135751:119 at forEachExternalModule (/typescript-5.4.5/lib/tsserver.js:135812:7) at forEachExternalModuleToImportFrom (/typescript-5.4.5/lib/tsserver.js:135751:3) at getExportInfoMap (/typescript-5.4.5/lib/tsserver.js:135839:5) at collectAutoImports (/typescript-5.4.5/lib/tsserver.js:161383:24) at getGlobalCompletions (/typescript-5.4.5/lib/tsserver.js:161318:5) at tryGetGlobalSymbols (/typescript-5.4.5/lib/tsserver.js:161246:397) at getCompletionData (/typescript-5.4.5/lib/tsserver.js:160994:10) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158975:26) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175: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 2 months ago
Error: Debug Failure. Expected declaration to have at least one class-like declaration ``` Req #367 - 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 2 months ago
Error: Debug Failure. False expression. ``` Req #4043 - completionInfo at consumeTokenAndAdvanceScanner (/typescript-5.4.5/lib/tsserver.js:173529:13) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173438:9) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:92) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeReference (/typescript-5.4.5/lib/tsserver.js:30585:49) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:134) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at /typescript-5.4.5/lib/tsserver.js:173377:9 at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18) at forEachChildInParameter (/typescript-5.4.5/lib/tsserver.js:30529:177) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7) at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32) at /typescript-5.4.5/lib/tsserver.js:173390:9 at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14) at forEachChildInMethodDeclaration (/typescript-5.4.5/lib/tsserver.js:30558:273) at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35) at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5) at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5) at /typescript-5.4.5/lib/tsserver.js:173116:105 at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15) at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10) at /typescript-5.4.5/lib/tsserver.js:160210:36 at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17) at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21) at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28) at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35) at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19) at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23) at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35) at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54) at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175: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 2 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":21949,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16464,"offset":43,"entryNames":["__delete__"]}} {"seq":21950,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16474,"offset":23}} {"seq":21951,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16543,"offset":15}} {"seq":21952,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16551,"offset":95,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"<"}} ```

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/162146/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 2 months ago

Error: Debug Failure. Expected 1 < 1.

Req #4883 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:173133:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:173150:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.6.0-dev.20240609/lib/typescript.js:173124:16)
    at getContextualType (/typescript-5.6.0-dev.20240609/lib/typescript.js:164653:48)
    at getCompletionData (/typescript-5.6.0-dev.20240609/lib/typescript.js:164891:43)
    at Object.getCompletionsAtPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:162817:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.6.0-dev.20240609/lib/typescript.js:149416:35)
    at IOSession.getCompletions (/typescript-5.6.0-dev.20240609/lib/typescript.js:190991:54)
    at completionInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:189370:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":4880,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/lib/dialects/redshift/index.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":12},"end":{"line":1,"offset":12}}]}],"closedFiles":[],"openFiles":[]}} {"seq":4881,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/redshift/index.js","line":4,"offset":10,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4882,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/redshift/index.js","line":19,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4883,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/redshift/index.js","line":28,"offset":37,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/knex/knex --recurse-submodules git -C "./knex" reset --hard 176151d8048b2a7feeb89a3d649a5580786d4f4e # Install packages (exact steps are below, but it might be easier to follow the repo readme) npm --prefix "/mnt/ts_downloads/base/knex" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/knex/test/unit/migrations/util/test/module" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/knex/test/unit/migrations/util/test/commonjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/knex/test/jake-util/knexfile-esm-package" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/knex/test/jake-util/knexfile-esm-module" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q npm --prefix "/mnt/ts_downloads/base/knex/docs" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/knex.knex.replay.txt > knex.knex.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 ./knex ./knex.knex.replay.txt ```
typescript-bot commented 2 months ago

Error: Debug Failure. Expected 1 < 1.

Req #3248 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:173133:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:173150:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.6.0-dev.20240609/lib/typescript.js:173124:16)
    at getContextualType (/typescript-5.6.0-dev.20240609/lib/typescript.js:164653:48)
    at getCompletionData (/typescript-5.6.0-dev.20240609/lib/typescript.js:164891:43)
    at Object.getCompletionsAtPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:162817:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.6.0-dev.20240609/lib/typescript.js:149416:35)
    at IOSession.getCompletions (/typescript-5.6.0-dev.20240609/lib/typescript.js:190991:54)
    at completionInfo (/typescript-5.6.0-dev.20240609/lib/typescript.js:189370:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":3245,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ghost/members-api/lib/repositories/EventRepository.js","line":636,"offset":30,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3246,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/ghost/members-api/lib/repositories/EventRepository.js","line":636,"offset":30,"entryNames":["arguments"]}} {"seq":3247,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/ghost/members-api/lib/repositories/EventRepository.js","line":651,"offset":16}} {"seq":3248,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ghost/members-api/lib/repositories/EventRepository.js","line":659,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/TryGhost/Ghost --recurse-submodules git -C "./Ghost" reset --hard fefb9ec395df8695d06442b6ecd3130dae374d94 yarn --cwd "/mnt/ts_downloads/base/Ghost" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/TryGhost.Ghost.replay.txt > TryGhost.Ghost.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 ./Ghost ./TryGhost.Ghost.replay.txt ```
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":2572,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist-x/vue.runtime.esm.js","line":7,"offset":70,"entryNames":["server-renderer"]}} {"seq":2573,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist-x/vue.runtime.esm.js","line":8,"offset":124}} {"seq":2574,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist-x/vue.runtime.esm.js","line":8,"offset":124}} {"seq":2575,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist-x/vue.runtime.esm.js","line":12,"offset":36,"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 501c6f98ccba16cd85d6dafcf961b16509094082 # 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/162146/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 2 months ago

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

Req #1071 - definitionAndBoundSpan
    at addSyntheticNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148324:15)
    at createSyntaxList (/typescript-5.6.0-dev.20240609/lib/typescript.js:148339:5)
    at processNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148304:19)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31761:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:31913:12)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at NodeObject.forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:148284:12)
    at createChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148309:8)
    at NodeObject.getChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148263:59)
    at getTokenAtPositionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:136641:32)
    at getTouchingToken (/typescript-5.6.0-dev.20240609/lib/typescript.js:136614:10)
    at getTouchingPropertyName (/typescript-5.6.0-dev.20240609/lib/typescript.js:136611:10)
    at getDefinitionAtPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:169924:16)
    at Object.getDefinitionAndBoundSpan (/typescript-5.6.0-dev.20240609/lib/typescript.js:170237:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.6.0-dev.20240609/lib/typescript.js:149535:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.6.0-dev.20240609/lib/typescript.js:190232:73)
    at definitionAndBoundSpan (/typescript-5.6.0-dev.20240609/lib/typescript.js:189214:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/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":1068,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":7235,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1069,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":8911,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1070,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":9053,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1071,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":9613}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/HeyPuter/puter --recurse-submodules git -C "./puter" reset --hard 8d22276f13106f7642d11da30b1500817a20ad43 # 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/162146/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 2 months ago

RangeError: Maximum call stack size exceeded

Req #17074 - completionInfo
    at getResolvedSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:72019:29)
    at checkIdentifier (/typescript-5.6.0-dev.20240609/lib/typescript.js:74727:20)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83262:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at checkNonNullExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:77451:29)
    at getQuickTypeOfExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83187:139)
    at checkDeclarationInitializer (/typescript-5.6.0-dev.20240609/lib/typescript.js:82912:18)
    at getTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240609/lib/typescript.js:59002:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.6.0-dev.20240609/lib/typescript.js:59449:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:59597:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.6.0-dev.20240609/lib/typescript.js:59530:20)
    at getTypeOfSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:59859:14)
    at getNarrowedTypeOfSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:74604:18)
    at checkIdentifier (/typescript-5.6.0-dev.20240609/lib/typescript.js:74743:16)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83262:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240609/lib/typescript.js:82890:28)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:81365:20
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17744:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32234:10)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNode2 (/typescript-5.6.0-dev.20240609/lib/typescript.js:31756:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:31989:51)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32234:10)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNode2 (/typescript-5.6.0-dev.20240609/lib/typescript.js:31756:18)
    at forEachChildInIfStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:31989:51)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32234:10)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:17740:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240609/lib/typescript.js:81346:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240609/lib/typescript.js:81159:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240609/lib/typescript.js:62642:426)
    at checkCallExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:80072:24)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83306:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240609/lib/typescript.js:82890:28)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:81365:20
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17744:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInCaseClause (/typescript-5.6.0-dev.20240609/lib/typescript.js:32021:51)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInCaseBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32018:12)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNode2 (/typescript-5.6.0-dev.20240609/lib/typescript.js:31756:18)
    at forEachChildInSwitchStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:32015:51)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32234:10)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:17740:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240609/lib/typescript.js:81346:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240609/lib/typescript.js:81159:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240609/lib/typescript.js:62642:426)
    at checkCallExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:80072:24)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83306:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at checkExpressionWithContextualType (/typescript-5.6.0-dev.20240609/lib/typescript.js:82866:18)
    at getSignatureApplicabilityError (/typescript-5.6.0-dev.20240609/lib/typescript.js:78696:25)
    at chooseOverload (/typescript-5.6.0-dev.20240609/lib/typescript.js:79233:13)
    at resolveCall (/typescript-5.6.0-dev.20240609/lib/typescript.js:79080:16)
    at resolveCallExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:79517:12)
    at resolveSignature (/typescript-5.6.0-dev.20240609/lib/typescript.js:79910:16)
    at getResolvedSignature (/typescript-5.6.0-dev.20240609/lib/typescript.js:79936:18)
    at checkCallExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:80047:23)
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83306:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at maybeCheckExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:82305:28)
    at BinaryExpressionStateMachine.onRight (/typescript-5.6.0-dev.20240609/lib/typescript.js:82269:16)
    at Array.right (/typescript-5.6.0-dev.20240609/lib/typescript.js:31451:30)
    at trampoline (/typescript-5.6.0-dev.20240609/lib/typescript.js:31535:42)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:82199:22
    at checkExpressionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:83340:16)
    at checkExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:83216:32)
    at checkExpressionCached (/typescript-5.6.0-dev.20240609/lib/typescript.js:82890:28)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:81365:20
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17744:16)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31764:22)
    at forEachChildInBlock (/typescript-5.6.0-dev.20240609/lib/typescript.js:32234:10)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at traverse (/typescript-5.6.0-dev.20240609/lib/typescript.js:17760:16)
    at forEachReturnStatement (/typescript-5.6.0-dev.20240609/lib/typescript.js:17740:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.6.0-dev.20240609/lib/typescript.js:81346:5)
    at getReturnTypeFromBody (/typescript-5.6.0-dev.20240609/lib/typescript.js:81159:21)
    at getReturnTypeOfSignature (/typescript-5.6.0-dev.20240609/lib/typescript.js:62642:426)

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":17071,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51627,"offset":15,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":17072,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51627,"offset":15,"entryNames":["__commonJS"]}} {"seq":17073,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51634,"offset":9}} {"seq":17074,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51680,"offset":31,"includeExternalModuleExports":true,"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/162146/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 2 months ago

Verbose Debug Information: {"pos":74020,"end":77774} and {"pos":74020,"end":77774}

Req #200 - organizeImports
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:175225:15
    at mapDefined (/typescript-5.6.0-dev.20240609/lib/typescript.js:2708:22)
    at Object.getTextChangesFromChanges (/typescript-5.6.0-dev.20240609/lib/typescript.js:175221:12)
    at _ChangeTracker.getChanges (/typescript-5.6.0-dev.20240609/lib/typescript.js:175118:35)
    at Object.organizeImports (/typescript-5.6.0-dev.20240609/lib/typescript.js:171875:24)
    at Object.organizeImports2 [as organizeImports] (/typescript-5.6.0-dev.20240609/lib/typescript.js:149756:39)
    at IOSession.organizeImports (/typescript-5.6.0-dev.20240609/lib/typescript.js:191438:50)
    at organizeImports (/typescript-5.6.0-dev.20240609/lib/typescript.js:189623:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":197,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/core/core/index.d.ts","line":14,"offset":30}} {"seq":198,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/dev/babel-register/index.js"],"openFiles":[]}} {"seq":199,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/flow-typed/npm/@swc/core_v1.x.x.js","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":200,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/flow-typed/npm/@swc/core_v1.x.x.js"}},"skipDestructiveCodeActions":false}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/parcel-bundler/parcel --recurse-submodules git -C "./parcel" reset --hard 4933651b11bbfab7f7e4bf727be8cc52819aa7a0 yarn --cwd "/mnt/ts_downloads/base/parcel" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/parcel-bundler.parcel.replay.txt > parcel-bundler.parcel.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 ./parcel ./parcel-bundler.parcel.replay.txt ```
typescript-bot commented 2 months ago

Error: Debug Failure. False expression.

Req #1608 - references
    at Object.resetTokenState (/typescript-5.6.0-dev.20240609/lib/typescript.js:14620:11)
    at addSyntheticNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148315:11)
    at createSyntaxList (/typescript-5.6.0-dev.20240609/lib/typescript.js:148343:3)
    at processNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148304:19)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31761:14)
    at forEachChildInFunctionType (/typescript-5.6.0-dev.20240609/lib/typescript.js:31830:111)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at NodeObject.forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:148284:12)
    at createChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148309:8)
    at NodeObject.getChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148263:59)
    at getTokenAtPositionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:136641:32)
    at getTouchingToken (/typescript-5.6.0-dev.20240609/lib/typescript.js:136614:10)
    at getTouchingPropertyName (/typescript-5.6.0-dev.20240609/lib/typescript.js:136611:10)
    at getReferencesAtLocation (/typescript-5.6.0-dev.20240609/lib/typescript.js:169226:31)
    at getReferencesInContainer (/typescript-5.6.0-dev.20240609/lib/typescript.js:169219:7)
    at getReferencesInContainerOrFiles (/typescript-5.6.0-dev.20240609/lib/typescript.js:168816:7)
    at getReferencedSymbolsForSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:168809:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:168559:24)
    at Object.findReferencedSymbols (/typescript-5.6.0-dev.20240609/lib/typescript.js:168144:34)
    at Object.findReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:149585:41)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:188832:43
    at searchPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:188974:28)
    at getPerProjectReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:188953:32)
    at getReferencesWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:188824:29)
    at IOSession.getReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:190746:24)
    at references (/typescript-5.6.0-dev.20240609/lib/typescript.js:189251:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":1605,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/@vue/cli-service/__tests__/serve.spec.js","line":6,"offset":25}} {"seq":1606,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/@vue/cli-service/__tests__/serve.spec.js","line":6,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1607,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/@vue/cli-service/__tests__/serve.spec.js","line":6,"offset":25,"entryNames":["assertPromptModule"]}} {"seq":1608,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/@vue/cli-service/__tests__/serve.spec.js","line":7,"offset":24}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/vuejs/vue-cli --recurse-submodules git -C "./vue-cli" reset --hard f0f254e4bc81ed322eeb9f7de346e987e845068e yarn --cwd "/mnt/ts_downloads/base/vue-cli" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/vuejs.vue-cli.replay.txt > vuejs.vue-cli.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 ./vue-cli ./vuejs.vue-cli.replay.txt ```
typescript-bot commented 2 months ago

Error: Debug Failure. False expression.

Req #2610 - references
    at getSourceFileLikeForImportDeclaration (/typescript-5.6.0-dev.20240609/lib/typescript.js:168021:9)
    at handleDirectImports (/typescript-5.6.0-dev.20240609/lib/typescript.js:167584:31)
    at getImportersForExport (/typescript-5.6.0-dev.20240609/lib/typescript.js:167519:3)
    at State.importTracker (/typescript-5.6.0-dev.20240609/lib/typescript.js:167498:46)
    at State.getImportSearches (/typescript-5.6.0-dev.20240609/lib/typescript.js:168911:19)
    at searchForImportsOfExport (/typescript-5.6.0-dev.20240609/lib/typescript.js:168955:71)
    at getImportOrExportReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:169346:7)
    at getReferencesAtLocation (/typescript-5.6.0-dev.20240609/lib/typescript.js:169273:5)
    at getReferencesInContainer (/typescript-5.6.0-dev.20240609/lib/typescript.js:169219:7)
    at getReferencesInSourceFile (/typescript-5.6.0-dev.20240609/lib/typescript.js:169212:12)
    at searchForImportedSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:169021:7)
    at getImportOrExportReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:169343:9)
    at getReferencesAtLocation (/typescript-5.6.0-dev.20240609/lib/typescript.js:169273:5)
    at getReferencesInContainer (/typescript-5.6.0-dev.20240609/lib/typescript.js:169219:7)
    at getReferencesInContainerOrFiles (/typescript-5.6.0-dev.20240609/lib/typescript.js:168816:7)
    at getReferencedSymbolsForSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:168809:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:168559:24)
    at Object.findReferencedSymbols (/typescript-5.6.0-dev.20240609/lib/typescript.js:168144:34)
    at Object.findReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:149585:41)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:188832:43
    at searchPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:188974:28)
    at getPerProjectReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:188953:32)
    at getReferencesWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:188824:29)
    at IOSession.getReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:190746:24)
    at references (/typescript-5.6.0-dev.20240609/lib/typescript.js:189251:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/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":2607,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3459,"offset":6,"entryNames":["@abstract"]}} {"seq":2608,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3524,"offset":6}} {"seq":2609,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/js/player.js","line":3531,"offset":6}} {"seq":2610,"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 fc1f7a6f82ba42fb593ea070fa50eff07a7bbe8c downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/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 2 months ago

RangeError: Maximum call stack size exceeded

Req #5476 - references
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73047:31)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73082:18)
    at getTypeAtFlowBranchLabel (/typescript-5.6.0-dev.20240609/lib/typescript.js:73290:26)
    at getTypeAtFlowNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:73090:48)
    at getTypeAtFlowCondition (/typescript-5.6.0-dev.20240609/lib/typescript.js:73242:24)

Affected repos

Meituan-Dianping/mpvue Raw error text: RepoResults6/Meituan-Dianping.mpvue.rawError.txt in the artifact folder
Replay commands: RepoResults6/Meituan-Dianping.mpvue.replay.txt in the artifact folder

Last few requests

```json {"seq":5473,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/test/e2e/specs/tree.js","line":6,"offset":15,"entryNames":["assert"]}} {"seq":5474,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/e2e/specs/tree.js","line":27,"offset":69,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":5475,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test/e2e/specs/tree.js","line":35,"offset":8}} {"seq":5476,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/test/e2e/specs/tree.js","line":51,"offset":69}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/Meituan-Dianping/mpvue --recurse-submodules git -C "./mpvue" reset --hard 6c5d78ee04f58c6d782c456dfcf0fe63c0b7f89b # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "/mnt/ts_downloads/base/mpvue" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/weex-vue-framework" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/weex-template-compiler" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/vue-template-compiler" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/vue-server-renderer" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/mpvue-template-compiler" install --ignore-engines --ignore-scripts --silent yarn --cwd "/mnt/ts_downloads/base/mpvue/packages/mpvue" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/Meituan-Dianping.mpvue.replay.txt > Meituan-Dianping.mpvue.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 ./mpvue ./Meituan-Dianping.mpvue.replay.txt ```
typescript-bot commented 2 months ago

Error: Debug Failure. False expression.

Req #4990 - references
    at Object.resetTokenState (/typescript-5.6.0-dev.20240609/lib/typescript.js:14620:11)
    at addSyntheticNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148315:11)
    at createSyntaxList (/typescript-5.6.0-dev.20240609/lib/typescript.js:148343:3)
    at processNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148304:19)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31761:14)
    at forEachChildInFunctionType (/typescript-5.6.0-dev.20240609/lib/typescript.js:31830:111)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at NodeObject.forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:148284:12)
    at createChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148309:8)
    at NodeObject.getChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148263:59)
    at getTokenAtPositionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:136641:32)
    at getTouchingToken (/typescript-5.6.0-dev.20240609/lib/typescript.js:136614:10)
    at getTouchingPropertyName (/typescript-5.6.0-dev.20240609/lib/typescript.js:136611:10)
    at getReferencesAtLocation (/typescript-5.6.0-dev.20240609/lib/typescript.js:169226:31)
    at getReferencesInContainer (/typescript-5.6.0-dev.20240609/lib/typescript.js:169219:7)
    at getReferencesInSourceFile (/typescript-5.6.0-dev.20240609/lib/typescript.js:169212:12)
    at searchForName (/typescript-5.6.0-dev.20240609/lib/typescript.js:169026:7)
    at getReferencesInContainerOrFiles (/typescript-5.6.0-dev.20240609/lib/typescript.js:168827:9)
    at getReferencedSymbolsForSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:168809:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:168559:24)
    at Object.findReferencedSymbols (/typescript-5.6.0-dev.20240609/lib/typescript.js:168144:34)
    at Object.findReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:149585:41)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:188832:43
    at searchPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:188974:28)
    at getPerProjectReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:188953:32)
    at getReferencesWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:188824:29)
    at IOSession.getReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:190746:24)
    at references (/typescript-5.6.0-dev.20240609/lib/typescript.js:189251:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/lib/tsserver.js:499:14)

Affected repos

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

Last few requests

```json {"seq":4987,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/compat/test/browser/suspense-utils.js","line":12,"offset":4}} {"seq":4988,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/compat/test/browser/suspense-utils.js","line":30,"offset":4}} {"seq":4989,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/compat/test/browser/suspense-utils.js","line":31,"offset":4}} {"seq":4990,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/compat/test/browser/suspense-utils.js","line":31,"offset":55}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/preactjs/preact --recurse-submodules git -C "./preact" reset --hard 4c20c23c16dd60f380ce9fe98afc93041a7e1562 downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults2.zip "$downloadUrl" unzip -p RepoResults2.zip RepoResults2/preactjs.preact.replay.txt > preactjs.preact.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 ./preact ./preactjs.preact.replay.txt ```
typescript-bot commented 2 months ago

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

Req #692 - references
    at addSyntheticNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148324:15)
    at createSyntaxList (/typescript-5.6.0-dev.20240609/lib/typescript.js:148339:5)
    at processNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:148304:19)
    at visitNodes (/typescript-5.6.0-dev.20240609/lib/typescript.js:31761:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.6.0-dev.20240609/lib/typescript.js:31913:12)
    at forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:32277:35)
    at NodeObject.forEachChild (/typescript-5.6.0-dev.20240609/lib/typescript.js:148284:12)
    at createChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148309:8)
    at NodeObject.getChildren (/typescript-5.6.0-dev.20240609/lib/typescript.js:148263:59)
    at getTokenAtPositionWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:136641:32)
    at getTouchingToken (/typescript-5.6.0-dev.20240609/lib/typescript.js:136614:10)
    at getTouchingPropertyName (/typescript-5.6.0-dev.20240609/lib/typescript.js:136611:10)
    at getReferencesAtLocation (/typescript-5.6.0-dev.20240609/lib/typescript.js:169226:31)
    at getReferencesInContainer (/typescript-5.6.0-dev.20240609/lib/typescript.js:169219:7)
    at getReferencesInSourceFile (/typescript-5.6.0-dev.20240609/lib/typescript.js:169212:12)
    at searchForName (/typescript-5.6.0-dev.20240609/lib/typescript.js:169026:7)
    at getReferencesInContainerOrFiles (/typescript-5.6.0-dev.20240609/lib/typescript.js:168827:9)
    at getReferencedSymbolsForSymbol (/typescript-5.6.0-dev.20240609/lib/typescript.js:168809:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.6.0-dev.20240609/lib/typescript.js:168559:24)
    at Object.findReferencedSymbols (/typescript-5.6.0-dev.20240609/lib/typescript.js:168144:34)
    at Object.findReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:149585:41)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:188832:43
    at searchPosition (/typescript-5.6.0-dev.20240609/lib/typescript.js:188974:28)
    at getPerProjectReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:188953:32)
    at getReferencesWorker (/typescript-5.6.0-dev.20240609/lib/typescript.js:188824:29)
    at IOSession.getReferences (/typescript-5.6.0-dev.20240609/lib/typescript.js:190746:24)
    at references (/typescript-5.6.0-dev.20240609/lib/typescript.js:189251:43)
    at /typescript-5.6.0-dev.20240609/lib/typescript.js:191789:69
    at IOSession.executeWithRequestId (/typescript-5.6.0-dev.20240609/lib/typescript.js:191781:14)
    at IOSession.executeCommand (/typescript-5.6.0-dev.20240609/lib/typescript.js:191789:29)
    at IOSession.onMessage (/typescript-5.6.0-dev.20240609/lib/typescript.js:191831:51)
    at Interface.<anonymous> (/typescript-5.6.0-dev.20240609/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":689,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127265}} {"seq":690,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127278}} {"seq":691,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127930}} {"seq":692,"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 9378135b2c7a6f96464beb985e930de9c3da5607 downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162146/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 ```