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.20240414 #58192

Closed typescript-bot closed 6 months ago

typescript-bot commented 6 months ago

The following errors were reported by 5.5.0-dev.20240414 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 293 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 12 | | Detected no interesting changes | 281 | | Unknown failure | 7 |

Investigation Status

Repo Errors Outcome
!a5ceda94dd64bfe54478499591ba1bde 1
05dc022b77792efd84491358bf4bf0af 1
1986ebfe667e8f8b1e1132ae69f7b895 1
3c9c4e6a3b825a23df6a67da5abb0832 1
3d8126ec104f6efe5d0cc86fa5bc749a 1
4830a93ec9b2a4b515dba131bd73b07a 1
4830a93ec9b2a4b515dba131bd73b07a 1
4830a93ec9b2a4b515dba131bd73b07a 1
9638ed6e7a552f99adf9a1f3eefd4268 1
9a0cf25756d845d84377095805fb325e 1
cedcfedc6c9ce298a010945c0e534378 1
fea45cd49f352a9aa86cd02f8f9ab3b0 1
typescript-bot commented 6 months ago
Error: Debug Failure. False expression. ``` Req #2516 - 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 /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 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":21665,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13981,"offset":15,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":21666,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13996,"offset":11}} {"seq":21667,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14023,"offset":30}} {"seq":21668,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14080,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/tastejs/todomvc --recurse-submodules
  2. In dir todomvc, run git reset --hard feccc2de4bf7a6a7829e0520e4c015ce84a2e6d5
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir todomvc, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir todomvc/tooling, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    3. In dir todomvc/tests, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir todomvc/tasks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    5. In dir todomvc/examples/web-components, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    6. In dir todomvc/examples/vue, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    7. In dir todomvc/examples/typescript-react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    8. In dir todomvc/examples/typescript-backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    9. In dir todomvc/examples/typescript-angular, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    10. In dir todomvc/examples/svelte, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    11. In dir todomvc/examples/riotjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    12. In dir todomvc/examples/reagent, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    13. In dir todomvc/examples/react-redux, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    14. In dir todomvc/examples/react, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    15. In dir todomvc/examples/ractive, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    16. In dir todomvc/examples/preact, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    17. In dir todomvc/examples/polymer, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    18. In dir todomvc/examples/mithril, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    19. In dir todomvc/examples/lit, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    20. In dir todomvc/examples/lavaca_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    21. In dir todomvc/examples/knockoutjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    22. In dir todomvc/examples/knockoutjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    23. In dir todomvc/examples/knockback, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    24. In dir todomvc/examples/jsblocks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    25. In dir todomvc/examples/js_of_ocaml, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    26. In dir todomvc/examples/jquery, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    27. In dir todomvc/examples/javascript-es6, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    28. In dir todomvc/examples/javascript-es5, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    29. In dir todomvc/examples/gwt, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    30. In dir todomvc/examples/exoskeleton, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    31. In dir todomvc/examples/enyo_backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    32. In dir todomvc/examples/emberjs/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    33. In dir todomvc/examples/elm, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    34. In dir todomvc/examples/duel, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    35. In dir todomvc/examples/dojo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    36. In dir todomvc/examples/dijon, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    37. In dir todomvc/examples/cujo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    38. In dir todomvc/examples/closure, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    39. In dir todomvc/examples/canjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    40. In dir todomvc/examples/canjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    41. In dir todomvc/examples/binding-scala, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    42. In dir todomvc/examples/backbone_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    43. In dir todomvc/examples/backbone_marionette, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    44. In dir todomvc/examples/backbone, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    45. In dir todomvc/examples/aurelia, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    46. In dir todomvc/examples/angularjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    47. In dir todomvc/examples/angularjs_require/test, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    48. In dir todomvc/examples/angular-dart, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    49. In dir todomvc/examples/angular, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    50. In dir todomvc/bower_components/webcomponentsjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    51. In dir todomvc/bower_components/bootstrap, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults3/tastejs.todomvc.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./todomvc ./tastejs.todomvc.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 4 < 4.

Req #23223 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170364:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170381:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:170354:16)
    at getContextualType (/typescript-5.5.0-dev.20240414/lib/typescript.js:161958:48)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162197:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

jgraph/drawio-desktop Raw error text: RepoResults2/jgraph.drawio-desktop.rawError.txt in the artifact folder

Last few requests

```json {"seq":23220,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-mml-chtml.js","line":1,"offset":1120949,"entryNames":["_"]}} {"seq":23221,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-mml-chtml.js","line":1,"offset":1121288,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":23222,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-mml-chtml.js","line":1,"offset":1121728,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"\""}} {"seq":23223,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-mml-chtml.js","line":1,"offset":1121787,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/jgraph/drawio-desktop --recurse-submodules
  2. In dir drawio-desktop, run git reset --hard c7fbd591b6b64e88a017bb76406eeb25e9c668af
  3. Back in the initial folder, download RepoResults2/jgraph.drawio-desktop.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./drawio-desktop ./jgraph.drawio-desktop.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. Did not expect ObjectLiteralExpression to have an Identifier in its trivia

Req #1646 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:146322:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240414/lib/typescript.js:146337:5)
    at processNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:146302:19)
    at visitNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:30726:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240414/lib/typescript.js:30878:12)
    at forEachChild (/typescript-5.5.0-dev.20240414/lib/typescript.js:31242:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240414/lib/typescript.js:146279:12)
    at createChildren (/typescript-5.5.0-dev.20240414/lib/typescript.js:146307:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240414/lib/typescript.js:146258:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240414/lib/typescript.js:134327:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240414/lib/typescript.js:134300:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240414/lib/typescript.js:134297:10)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:166510:33
    at mapDefined (/typescript-5.5.0-dev.20240414/lib/typescript.js:2687:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:166509:12)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:167043:25
    at flatMap (/typescript-5.5.0-dev.20240414/lib/typescript.js:2616:17)
    at getReferencesForStringLiteral (/typescript-5.5.0-dev.20240414/lib/typescript.js:167041:24)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:165899:16)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240414/lib/typescript.js:165501:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240414/lib/typescript.js:147577:41)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:185972:43
    at searchPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:186122:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240414/lib/typescript.js:186099:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240414/lib/typescript.js:185964:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240414/lib/typescript.js:187886:24)
    at references (/typescript-5.5.0-dev.20240414/lib/typescript.js:186403:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/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":1643,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":642068}} {"seq":1644,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":642344}} {"seq":1645,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":643019,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1646,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":643415}} ```

Repro steps

  1. git clone https://github.com/HumanSignal/label-studio --recurse-submodules
  2. In dir label-studio, run git reset --hard efa1e7b7ac04f7a6b3c989732667fd5e930af8f2
  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

typescript-bot commented 6 months ago

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

Req #2016 - completionInfo
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:136755:13
    at firstDefined (/typescript-5.5.0-dev.20240414/lib/typescript.js:2392:20)
    at getNameForExportDefault (/typescript-5.5.0-dev.20240414/lib/typescript.js:136750:33)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240414/lib/typescript.js:136735:16)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240414/lib/typescript.js:136741:14)
    at getDefaultLikeExportInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:136717:16)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:136676:29
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:136577:119
    at forEachExternalModule (/typescript-5.5.0-dev.20240414/lib/typescript.js:136638:7)
    at forEachExternalModuleToImportFrom (/typescript-5.5.0-dev.20240414/lib/typescript.js:136577:3)
    at getExportInfoMap (/typescript-5.5.0-dev.20240414/lib/typescript.js:136665:5)
    at collectAutoImports (/typescript-5.5.0-dev.20240414/lib/typescript.js:162581:24)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:162516:5)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240414/lib/typescript.js:162444:397)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162192:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/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":2013,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/history.js"}} {"seq":2014,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/history.js","line":37,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2015,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/history.js","line":37,"offset":25,"entryNames":["$"]}} {"seq":2016,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/history.js","line":51,"offset":33,"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. Expected 1 < 1.

Req #7602 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170364:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170381:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:170354:16)
    at getContextualType (/typescript-5.5.0-dev.20240414/lib/typescript.js:161958:48)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162197:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":7599,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/sqlite3/schema/internal/parser.js","line":9,"offset":35,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7600,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/sqlite3/schema/internal/parser.js","line":11,"offset":21,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7601,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/sqlite3/schema/internal/parser.js","line":62,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7602,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/dialects/sqlite3/schema/internal/parser.js","line":90,"offset":30,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/knex/knex --recurse-submodules
  2. In dir knex, run git reset --hard 9659a20753e22939ffb547e3b10d5bfa6a3fd941
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir knex, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir knex/test/unit/migrations/util/test/module, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    3. In dir knex/test/unit/migrations/util/test/commonjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir knex/test/jake-util/knexfile-esm-package, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    5. In dir knex/test/jake-util/knexfile-esm-module, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    6. In dir knex/docs, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults6/knex.knex.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./knex ./knex.knex.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 1 < 1.

Req #7477 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170364:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170381:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:170354:16)
    at getContextualType (/typescript-5.5.0-dev.20240414/lib/typescript.js:161958:48)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162197:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

caolan/async Raw error text: RepoResults3/caolan.async.rawError.txt in the artifact folder

Last few requests

```json {"seq":7474,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/docs/v3/scripts/async.js","line":4643,"offset":29,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7475,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/docs/v3/scripts/async.js","line":4643,"offset":29,"entryNames":["callee"]}} {"seq":7476,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/docs/v3/scripts/async.js","line":4646,"offset":1}} {"seq":7477,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/docs/v3/scripts/async.js","line":4666,"offset":34,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/caolan/async --recurse-submodules
  2. In dir async, run git reset --hard 92ea2182de27d3e6a02d79562ba562e3c6d59b88
  3. In dir async, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults3/caolan.async.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./async ./caolan.async.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 1 < 1.

Req #4323 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170364:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170381:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:170354:16)
    at getContextualType (/typescript-5.5.0-dev.20240414/lib/typescript.js:161958:48)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162197:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":4320,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/lib/view.runtime.esm.js","line":1078,"offset":10}} {"seq":4321,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/lib/view.runtime.esm.js","line":1090,"offset":9,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":4322,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/lib/view.runtime.esm.js","line":1101,"offset":25}} {"seq":4323,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-app-vue/lib/view.runtime.esm.js","line":1259,"offset":4,"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 3ffdca2614b857df8840ea7e939b72b163f4782a
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir uni-app, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    2. In dir uni-app/packages/playground/uts/uni_modules/test-uniplugin, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults2/dcloudio.uni-app.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./uni-app ./dcloudio.uni-app.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 declaration to have at least one class-like declaration

Req #3584 - definitionAndBoundSpan
    at getConstructSignatureDefinition (/typescript-5.5.0-dev.20240414/lib/typescript.js:167708:68)
    at getDefinitionFromSymbol (/typescript-5.5.0-dev.20240414/lib/typescript.js:167697:10)
    at getDefinitionAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:167424:20)
    at Object.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240414/lib/typescript.js:167641:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147526:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240414/lib/typescript.js:187379:73)
    at definitionAndBoundSpan (/typescript-5.5.0-dev.20240414/lib/typescript.js:186366:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

lutzroeder/netron Raw error text: RepoResults4/lutzroeder.netron.rawError.txt in the artifact folder

Last few requests

```json {"seq":3581,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":6093,"offset":46,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3582,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":6093,"offset":46,"entryNames":["arguments"]}} {"seq":3583,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":6103,"offset":14,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":3584,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":6172,"offset":36}} ```

Repro steps

  1. git clone https://github.com/lutzroeder/netron --recurse-submodules
  2. In dir netron, run git reset --hard c153259dbd1d5d634617df31db437b3043422166
  3. Back in the initial folder, download RepoResults4/lutzroeder.netron.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./netron ./lutzroeder.netron.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 3 < 3.

Req #1260 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170364:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:170381:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:170354:16)
    at getContextualType (/typescript-5.5.0-dev.20240414/lib/typescript.js:161958:48)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162197:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

OpenZeppelin/openzeppelin-contracts Raw error text: RepoResults4/OpenZeppelin.openzeppelin-contracts.rawError.txt in the artifact folder

Last few requests

```json {"seq":1257,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test/token/ERC721/ERC721.behavior.js","line":143,"offset":105}} {"seq":1258,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/token/ERC721/ERC721.behavior.js","line":177,"offset":66,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":1259,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test/token/ERC721/ERC721.behavior.js","line":244,"offset":51}} {"seq":1260,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/test/token/ERC721/ERC721.behavior.js","line":268,"offset":71,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/OpenZeppelin/openzeppelin-contracts --recurse-submodules
  2. In dir openzeppelin-contracts, run git reset --hard 11dc5e3809ebe07d5405fe524385cbe4f890a08b
  3. Back in the initial folder, download RepoResults4/OpenZeppelin.openzeppelin-contracts.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./openzeppelin-contracts ./OpenZeppelin.openzeppelin-contracts.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: Token end is child end

Req #2982 - completionInfo
    at processChildNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174676:17)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:174607:9
    at visitNode2 (/typescript-5.5.0-dev.20240414/lib/typescript.js:30721:18)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240414/lib/typescript.js:30827:12)
    at forEachChild (/typescript-5.5.0-dev.20240414/lib/typescript.js:31242:35)
    at processNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174604:5)
    at processChildNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174683:7)
    at processChildNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:174726:32)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:174620:9
    at visitNodes (/typescript-5.5.0-dev.20240414/lib/typescript.js:30726:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240414/lib/typescript.js:31186:10)
    at forEachChild (/typescript-5.5.0-dev.20240414/lib/typescript.js:31242:35)
    at processNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174604:5)
    at processChildNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174683:7)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:174607:9
    at visitNode2 (/typescript-5.5.0-dev.20240414/lib/typescript.js:30721:18)
    at forEachChildInPropertyDeclaration (/typescript-5.5.0-dev.20240414/lib/typescript.js:30774:179)
    at forEachChild (/typescript-5.5.0-dev.20240414/lib/typescript.js:31242:35)
    at processNode (/typescript-5.5.0-dev.20240414/lib/typescript.js:174604:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240414/lib/typescript.js:174406:5)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:174346:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240414/lib/typescript.js:173147:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240414/lib/typescript.js:174346:10)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:161403:36
    at flatMap (/typescript-5.5.0-dev.20240414/lib/typescript.js:2616:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240414/lib/typescript.js:161401:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240414/lib/typescript.js:161159:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240414/lib/typescript.js:160971:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240414/lib/typescript.js:161575:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240414/lib/typescript.js:160626:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160166:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

rollup/rollup Raw error text: RepoResults4/rollup.rollup.rawError.txt in the artifact folder

Last few requests

```json {"seq":2979,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/ast/nodes/shared/FunctionBase.ts","line":67,"offset":25,"entryNames":["0"]}} {"seq":2980,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/ast/nodes/shared/FunctionBase.ts","line":67,"offset":28}} {"seq":2981,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/ast/nodes/shared/FunctionBase.ts","line":85,"offset":6}} {"seq":2982,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/ast/nodes/shared/FunctionBase.ts","line":118,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/rollup/rollup --recurse-submodules
  2. In dir rollup, run git reset --hard 7275328b41b29605142bfdf55d68cb54e895a20c
  3. Back in the initial folder, download RepoResults4/rollup.rollup.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./rollup ./rollup.rollup.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.

Req #5868 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240414/lib/typescript.js:16940:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240414/lib/typescript.js:73293:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240414/lib/typescript.js:49257:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:162502:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240414/lib/typescript.js:162444:397)
    at getCompletionData (/typescript-5.5.0-dev.20240414/lib/typescript.js:162192:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240414/lib/typescript.js:160148:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240414/lib/typescript.js:147420:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240414/lib/typescript.js:188134:54)
    at completionInfo (/typescript-5.5.0-dev.20240414/lib/typescript.js:186522:43)
    at /typescript-5.5.0-dev.20240414/lib/typescript.js:188919:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240414/lib/typescript.js:188911:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240414/lib/typescript.js:188919:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240414/lib/typescript.js:188961:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240414/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":5865,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7}} {"seq":5866,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5867,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7,"entryNames":["@abstract"]}} {"seq":5868,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21070,"offset":15,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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