microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.5.0-dev.20240421 #58277

Closed typescript-bot closed 6 months ago

typescript-bot commented 6 months ago

The following errors were reported by 5.5.0-dev.20240421 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 295 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 9 | | Detected no interesting changes | 286 | | Unknown failure | 5 |

Investigation Status

Repo Errors Outcome
!dbb790561e3c6b4b9ed6101fa68b710e 1
05dc022b77792efd84491358bf4bf0af 1
2edea908423ec933baf96a0021596bff 1
3e5c282e5b7303d7a049a3e076c51936 1
661afde773a83064e8583433add63e16 1
661afde773a83064e8583433add63e16 1
889f86415aef7bf97138358829171e9b 1
9be2c173ad13134e305dee87ea3d0566 1
typescript-bot commented 6 months ago
Error: Debug Failure. Expected declaration to have at least one class-like declaration ``` Req #5402 - 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:166233:120) 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 6 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

Last few requests

```json {"seq":21849,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15804,"offset":24,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":21850,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15809,"offset":2}} {"seq":21851,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15844,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":21852,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15844,"offset":17,"entryNames":["$"]}} ```

Repro steps

  1. git clone https://github.com/tastejs/todomvc --recurse-submodules
  2. In dir todomvc, run git reset --hard feccc2de4bf7a6a7829e0520e4c015ce84a2e6d5
  3. Back in the initial folder, download RepoResults3/tastejs.todomvc.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./todomvc ./tastejs.todomvc.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 6 months ago

Error: Debug Failure. Expected 1 < 1.

Req #6153 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172424:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172441:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:172414:16)
    at getContextualType (/typescript-5.5.0-dev.20240421/lib/typescript.js:164013:48)
    at getCompletionData (/typescript-5.5.0-dev.20240421/lib/typescript.js:164252:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:162203:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240421/lib/typescript.js:149464:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:190238:54)
    at completionInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:188626:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

gorhill/uBlock Raw error text: RepoResults2/gorhill.uBlock.rawError.txt in the artifact folder

Last few requests

```json {"seq":6150,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4110,"offset":4}} {"seq":6151,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4135,"offset":9,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6152,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4135,"offset":9,"entryNames":["abortCurrentScript"]}} {"seq":6153,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4177,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/gorhill/uBlock --recurse-submodules
  2. In dir uBlock, run git reset --hard a60a43103c12826a0cfb7213a012efb65173f07d
  3. Back in the initial folder, download RepoResults2/gorhill.uBlock.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./uBlock ./gorhill.uBlock.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
dcloudio/uni-app Raw error text: RepoResults2/dcloudio.uni-app.rawError.txt in the artifact folder

Last few requests

```json {"seq":7460,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/dist/nvue.runtime.esm.prod.js","line":10,"offset":3,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7461,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/dist/nvue.runtime.esm.prod.js","line":10,"offset":3,"entryNames":["@abstract"]}} {"seq":7462,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/dist/nvue.runtime.esm.prod.js","line":19,"offset":69,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":7463,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/dist/nvue.runtime.esm.prod.js","line":37,"offset":27,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/dcloudio/uni-app --recurse-submodules
  2. In dir uni-app, run git reset --hard 9214f822d4ce13cc98559a5bd1fd6404eeea56a4
  3. Back in the initial folder, download RepoResults2/dcloudio.uni-app.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./uni-app ./dcloudio.uni-app.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 6 months ago

Error: Debug Failure. False expression.

Req #4146 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.5.0-dev.20240421/lib/typescript.js:176819:13)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176728:9)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176667:9
    at visitNode2 (/typescript-5.5.0-dev.20240421/lib/typescript.js:31773:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240421/lib/typescript.js:31829:92)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240421/lib/typescript.js:31888:12)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240421/lib/typescript.js:32238:10)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240421/lib/typescript.js:31879:49)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240421/lib/typescript.js:32238:10)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176667:9
    at visitNode2 (/typescript-5.5.0-dev.20240421/lib/typescript.js:31773:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240421/lib/typescript.js:31829:134)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240421/lib/typescript.js:31888:12)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176667:9
    at visitNode2 (/typescript-5.5.0-dev.20240421/lib/typescript.js:31773:18)
    at forEachChildInParameter (/typescript-5.5.0-dev.20240421/lib/typescript.js:31823:177)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at processChildNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176743:7)
    at processChildNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:176786:32)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176680:9
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInMethodDeclaration (/typescript-5.5.0-dev.20240421/lib/typescript.js:31852:273)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at processNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:176664:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240421/lib/typescript.js:176466:5)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:176406:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240421/lib/typescript.js:175207:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240421/lib/typescript.js:176406:10)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:163458:36
    at flatMap (/typescript-5.5.0-dev.20240421/lib/typescript.js:2629:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240421/lib/typescript.js:163456:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240421/lib/typescript.js:163214:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240421/lib/typescript.js:163026:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240421/lib/typescript.js:163630:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240421/lib/typescript.js:162681:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:162221:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240421/lib/typescript.js:149464:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:190238:54)
    at completionInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:188626:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

fabricjs/fabric.js Raw error text: RepoResults4/fabricjs.fabric.js.rawError.txt in the artifact folder

Last few requests

```json {"seq":4143,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":99,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4144,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":99,"offset":6,"entryNames":["@abstract"]}} {"seq":4145,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":110,"offset":70,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4146,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":119,"offset":79,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/fabricjs/fabric.js --recurse-submodules
  2. In dir fabric.js, run git reset --hard c27a21883eda49b7a7bfcc32f49eb59a099a1536
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir fabric.js, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir fabric.js/website, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults4/fabricjs.fabric.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./fabric.js ./fabricjs.fabric.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 6 months ago

Error: Debug Failure. Expected 2 < 2.

Req #2906 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172424:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172441:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:172414:16)
    at getContextualType (/typescript-5.5.0-dev.20240421/lib/typescript.js:164013:48)
    at getCompletionData (/typescript-5.5.0-dev.20240421/lib/typescript.js:164252:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:162203:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240421/lib/typescript.js:149464:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:190238:54)
    at completionInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:188626:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

11ty/eleventy Raw error text: RepoResults8/11ty.eleventy.rawError.txt in the artifact folder

Last few requests

```json {"seq":2903,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/Plugins/RenderPlugin.js","line":379,"offset":17}} {"seq":2904,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/Plugins/RenderPlugin.js","line":389,"offset":7}} {"seq":2905,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/Plugins/RenderPlugin.js","line":417,"offset":12}} {"seq":2906,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/Plugins/RenderPlugin.js","line":423,"offset":37,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/11ty/eleventy --recurse-submodules
  2. In dir eleventy, run git reset --hard d9ae83d28c15ce3c9091d39379962dcd80b21794
  3. In dir eleventy, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults8/11ty.eleventy.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./eleventy ./11ty.eleventy.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 6 months ago

Error: Debug Failure. Expected 2 < 2.

Req #6947 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172424:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:172441:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:172414:16)
    at getContextualType (/typescript-5.5.0-dev.20240421/lib/typescript.js:164013:48)
    at getCompletionData (/typescript-5.5.0-dev.20240421/lib/typescript.js:164252:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:162203:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240421/lib/typescript.js:149464:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:190238:54)
    at completionInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:188626:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

appium/appium Raw error text: RepoResults7/appium.appium.rawError.txt in the artifact folder

Last few requests

```json {"seq":6944,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/appium/lib/appium.js","line":1121,"offset":49,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6945,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/appium/lib/appium.js","line":1121,"offset":49,"entryNames":["_eventHistory"]}} {"seq":6946,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/appium/lib/appium.js","line":1169,"offset":96,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"'"}} {"seq":6947,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/appium/lib/appium.js","line":1175,"offset":50,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/appium/appium --recurse-submodules
  2. In dir appium, run git reset --hard 2c2141c8c3a8ef8bcf7ab2b42f1ba0aa4b249712
  3. In dir appium, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults7/appium.appium.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./appium ./appium.appium.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 6 months ago

Error: Debug Failure. False expression: Expected the specifier to be a default export

Req #2546 - completionInfo
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:138801:13
    at firstDefined (/typescript-5.5.0-dev.20240421/lib/typescript.js:2405:20)
    at getNameForExportDefault (/typescript-5.5.0-dev.20240421/lib/typescript.js:138796:33)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240421/lib/typescript.js:138781:16)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240421/lib/typescript.js:138787:14)
    at getDefaultLikeExportInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:138763:16)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:138722:29
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:138623:119
    at forEachExternalModule (/typescript-5.5.0-dev.20240421/lib/typescript.js:138684:7)
    at forEachExternalModuleToImportFrom (/typescript-5.5.0-dev.20240421/lib/typescript.js:138623:3)
    at getExportInfoMap (/typescript-5.5.0-dev.20240421/lib/typescript.js:138711:5)
    at collectAutoImports (/typescript-5.5.0-dev.20240421/lib/typescript.js:164637:24)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:164571:5)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240421/lib/typescript.js:164499:397)
    at getCompletionData (/typescript-5.5.0-dev.20240421/lib/typescript.js:164247:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:162203:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240421/lib/typescript.js:149464:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240421/lib/typescript.js:190238:54)
    at completionInfo (/typescript-5.5.0-dev.20240421/lib/typescript.js:188626:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

framework7io/framework7 Raw error text: RepoResults7/framework7io.framework7.rawError.txt in the artifact folder

Last few requests

```json {"seq":2543,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/router-class.js","line":1150,"offset":10}} {"seq":2544,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/router-class.js","line":1292,"offset":40}} {"seq":2545,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/router-class.js","line":1300,"offset":36}} {"seq":2546,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/router-class.js","line":1304,"offset":27,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/framework7io/framework7 --recurse-submodules
  2. In dir framework7, run git reset --hard ab379a7f4b466e19a2f1f987354052f4ad19ace6
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir framework7, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir framework7/packages/vue, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    3. In dir framework7/packages/svelte, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir framework7/packages/react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    5. In dir framework7/packages/core, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    6. In dir framework7/build/vue, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    7. In dir framework7/build/svelte, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    8. In dir framework7/build/react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    9. In dir framework7/build/core, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults7/framework7io.framework7.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./framework7 ./framework7io.framework7.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 6 months ago

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

Req #590 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:148365:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240421/lib/typescript.js:148380:5)
    at processNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:148345:19)
    at visitNodes (/typescript-5.5.0-dev.20240421/lib/typescript.js:31778:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240421/lib/typescript.js:31930:12)
    at forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:32294:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240421/lib/typescript.js:148325:12)
    at createChildren (/typescript-5.5.0-dev.20240421/lib/typescript.js:148350:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240421/lib/typescript.js:148304:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240421/lib/typescript.js:136373:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240421/lib/typescript.js:136346:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240421/lib/typescript.js:136343:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240421/lib/typescript.js:168659:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240421/lib/typescript.js:168652:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240421/lib/typescript.js:168645:12)
    at searchForName (/typescript-5.5.0-dev.20240421/lib/typescript.js:168453:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240421/lib/typescript.js:168246:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240421/lib/typescript.js:168228:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240421/lib/typescript.js:167975:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240421/lib/typescript.js:167557:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240421/lib/typescript.js:149621:41)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:188076:43
    at searchPosition (/typescript-5.5.0-dev.20240421/lib/typescript.js:188226:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240421/lib/typescript.js:188203:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240421/lib/typescript.js:188068:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240421/lib/typescript.js:189990:24)
    at references (/typescript-5.5.0-dev.20240421/lib/typescript.js:188507:43)
    at /typescript-5.5.0-dev.20240421/lib/typescript.js:191023:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240421/lib/typescript.js:191015:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240421/lib/typescript.js:191023:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240421/lib/typescript.js:191065:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240421/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":587,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":130734,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":588,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":131531,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":589,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":131531,"entryNames":["_"]}} {"seq":590,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":132234}} ```

Repro steps

  1. git clone https://github.com/HumanSignal/label-studio --recurse-submodules
  2. In dir label-studio, run git reset --hard 2cf810013e61f3b44d7d4d2ca15e5d16cbb732d3
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir label-studio/web, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir label-studio/web/tools/version, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir label-studio/web/libs/frontend-test/src/bin/assets, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir label-studio/web/libs/editor/tests/e2e, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir label-studio/docs, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults8/HumanSignal.label-studio.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./label-studio ./HumanSignal.label-studio.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc