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.20240405 #58107

Closed typescript-bot closed 7 months ago

typescript-bot commented 7 months ago

The following errors were reported by 5.5.0-dev.20240405 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline

This run considered 300 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 294 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 11 | | Detected no interesting changes | 283 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
071de966e32f58baa990833f2d28843e 1
3a0759caebc0b09d1d8531132217994f 1
6266ff1cffd3ba2a241ecd9c02dfb92c 1
7c89ea86d3dc9e5636c7c59749783282 1
856d2dfd874a88a184158c737a434365 1
856d2dfd874a88a184158c737a434365 1
a3e39b94152ff9b16264d4b13b87b7cf 1
af81ad7ec90324723b07c95c9cb8dea0 1
af81ad7ec90324723b07c95c9cb8dea0 1
ea4ab89d879c38349892a63e7cbdd5f5 1
typescript-bot commented 7 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":22009,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14340,"offset":23,"entryNames":["$"]}} {"seq":22010,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14340,"offset":65}} {"seq":22011,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14347,"offset":95,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":22012,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14348,"offset":1,"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 7 months ago

Error: Debug Failure. False expression.

Req #4205 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.5.0-dev.20240405/lib/typescript.js:174055:13)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173964:9)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173903:9
    at visitNode2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:30251:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240405/lib/typescript.js:30307:92)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240405/lib/typescript.js:30366:12)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240405/lib/typescript.js:30716:10)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInTypeReference (/typescript-5.5.0-dev.20240405/lib/typescript.js:30357:49)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.5.0-dev.20240405/lib/typescript.js:30716:10)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173903:9
    at visitNode2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:30251:18)
    at forEachChildInPropertySignature (/typescript-5.5.0-dev.20240405/lib/typescript.js:30307:134)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInTypeLiteral (/typescript-5.5.0-dev.20240405/lib/typescript.js:30366:12)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173903:9
    at visitNode2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:30251:18)
    at forEachChildInParameter (/typescript-5.5.0-dev.20240405/lib/typescript.js:30301:177)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at processChildNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173979:7)
    at processChildNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:174022:32)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173916:9
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInMethodDeclaration (/typescript-5.5.0-dev.20240405/lib/typescript.js:30330:273)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at processNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:173900:5)
    at formatSpanWorker (/typescript-5.5.0-dev.20240405/lib/typescript.js:173702:5)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:173642:105
    at getFormattingScanner (/typescript-5.5.0-dev.20240405/lib/typescript.js:172443:15)
    at Object.formatNodeGivenIndentation (/typescript-5.5.0-dev.20240405/lib/typescript.js:173642:10)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:160714:36
    at flatMap (/typescript-5.5.0-dev.20240405/lib/typescript.js:2604:17)
    at Object.printAndFormatSnippetList (/typescript-5.5.0-dev.20240405/lib/typescript.js:160712:21)
    at getEntryForMemberCompletion (/typescript-5.5.0-dev.20240405/lib/typescript.js:160472:28)
    at createCompletionEntry (/typescript-5.5.0-dev.20240405/lib/typescript.js:160285:35)
    at getCompletionEntriesFromSymbols (/typescript-5.5.0-dev.20240405/lib/typescript.js:160886:19)
    at completionInfoFromData (/typescript-5.5.0-dev.20240405/lib/typescript.js:159941:23)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159483:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":4202,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":205,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4203,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":205,"offset":6,"entryNames":["@abstract"]}} {"seq":4204,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":209,"offset":1}} {"seq":4205,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/shapes/Group.ts","line":214,"offset":1,"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 9ec5a3dd66c3733a4aefca9bf022671dabf87d0a
  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 7 months ago

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

Req #670 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:145919:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240405/lib/typescript.js:145934:5)
    at processNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:145899:19)
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240405/lib/typescript.js:30408:12)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:145876:12)
    at createChildren (/typescript-5.5.0-dev.20240405/lib/typescript.js:145904:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240405/lib/typescript.js:145855:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240405/lib/typescript.js:133959:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240405/lib/typescript.js:133932:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240405/lib/typescript.js:133929:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240405/lib/typescript.js:165899:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240405/lib/typescript.js:165892:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240405/lib/typescript.js:165885:12)
    at searchForName (/typescript-5.5.0-dev.20240405/lib/typescript.js:165693:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240405/lib/typescript.js:165486:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240405/lib/typescript.js:165468:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240405/lib/typescript.js:165215:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240405/lib/typescript.js:164797:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240405/lib/typescript.js:147174:41)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:185112:43
    at searchPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:185262:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240405/lib/typescript.js:185239:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240405/lib/typescript.js:185104:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240405/lib/typescript.js:187024:24)
    at references (/typescript-5.5.0-dev.20240405/lib/typescript.js:185543:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":667,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127736,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":668,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127736,"entryNames":["_"]}} {"seq":669,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127909}} {"seq":670,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127909}} ```

Repro steps

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

Error: Debug Failure. Expected 2 < 2.

Req #2210 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169660:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169677:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:169650:16)
    at getContextualType (/typescript-5.5.0-dev.20240405/lib/typescript.js:161269:48)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161508:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":2207,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":269,"offset":4,"entryNames":["@abstract"]}} {"seq":2208,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":299,"offset":24}} {"seq":2209,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":339,"offset":30}} {"seq":2210,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/shared/index.js","line":363,"offset":35,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

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

Req #3488 - completionInfo
    at addSyntheticNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:145919:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240405/lib/typescript.js:145934:5)
    at processNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:145899:19)
    at visitNodes (/typescript-5.5.0-dev.20240405/lib/typescript.js:30256:14)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240405/lib/typescript.js:30729:10)
    at forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:30772:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240405/lib/typescript.js:145876:12)
    at createChildren (/typescript-5.5.0-dev.20240405/lib/typescript.js:145904:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240405/lib/typescript.js:145855:59)
    at find2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:134061:24)
    at find2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:134097:18)
    at find2 (/typescript-5.5.0-dev.20240405/lib/typescript.js:134097:18)
    at findPrecedingToken (/typescript-5.5.0-dev.20240405/lib/typescript.js:134054:18)
    at getRelevantTokens (/typescript-5.5.0-dev.20240405/lib/typescript.js:162678:25)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159437:29)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/lib/tsserver.js:504:14)

Affected repos

prettier/prettier Raw error text: RepoResults1/prettier.prettier.rawError.txt in the artifact folder

Last few requests

```json {"seq":3485,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-using-binding-non-bmp.js"}} {"seq":3486,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-using-binding-non-bmp.js"}} {"seq":3487,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-using-binding-non-bmp.js"}} {"seq":3488,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-using-binding-non-bmp.js","line":1,"offset":8,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} ```

Repro steps

  1. git clone https://github.com/prettier/prettier --recurse-submodules
  2. In dir prettier, run git reset --hard 063978a5927cf89981b618ba87e7f58e749cb483
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir prettier, run yarn install --no-immutable --mode=skip-build
    2. In dir prettier/website, run yarn install --no-immutable --mode=skip-build
    3. In dir prettier/tests/integration/cli/config-external-config-syntax-error, run yarn install --no-immutable --mode=skip-build
    4. In dir prettier/tests/integration/cli/config/rc-mjs/prettierrc-mjs-in-type-none, run yarn install --no-immutable --mode=skip-build
    5. In dir prettier/tests/integration/cli/config/rc-mjs/prettierrc-mjs-in-type-module, run yarn install --no-immutable --mode=skip-build
    6. In dir prettier/tests/integration/cli/config/rc-mjs/prettierrc-mjs-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    7. In dir prettier/tests/integration/cli/config/rc-mjs/prettier-config-mjs-in-type-none, run yarn install --no-immutable --mode=skip-build
    8. In dir prettier/tests/integration/cli/config/rc-mjs/prettier-config-mjs-in-type-module, run yarn install --no-immutable --mode=skip-build
    9. In dir prettier/tests/integration/cli/config/rc-mjs/prettier-config-mjs-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    10. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettierrc-js-in-type-none, run yarn install --no-immutable --mode=skip-build
    11. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettierrc-js-in-type-module, run yarn install --no-immutable --mode=skip-build
    12. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettierrc-js-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    13. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettier-config-js-in-type-none, run yarn install --no-immutable --mode=skip-build
    14. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettier-config-js-in-type-module, run yarn install --no-immutable --mode=skip-build
    15. In dir prettier/tests/integration/cli/config/rc-js/mjs-prettier-config-js-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    16. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettierrc-js-in-type-none, run yarn install --no-immutable --mode=skip-build
    17. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettierrc-js-in-type-module, run yarn install --no-immutable --mode=skip-build
    18. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettierrc-js-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    19. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettier-config-js-in-type-none, run yarn install --no-immutable --mode=skip-build
    20. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettier-config-js-in-type-module, run yarn install --no-immutable --mode=skip-build
    21. In dir prettier/tests/integration/cli/config/rc-js/cjs-prettier-config-js-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    22. In dir prettier/tests/integration/cli/config/rc-cjs/prettierrc-cjs-in-type-none, run yarn install --no-immutable --mode=skip-build
    23. In dir prettier/tests/integration/cli/config/rc-cjs/prettierrc-cjs-in-type-module, run yarn install --no-immutable --mode=skip-build
    24. In dir prettier/tests/integration/cli/config/rc-cjs/prettierrc-cjs-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    25. In dir prettier/tests/integration/cli/config/rc-cjs/prettier-config-cjs-in-type-none, run yarn install --no-immutable --mode=skip-build
    26. In dir prettier/tests/integration/cli/config/rc-cjs/prettier-config-cjs-in-type-module, run yarn install --no-immutable --mode=skip-build
    27. In dir prettier/tests/integration/cli/config/rc-cjs/prettier-config-cjs-in-type-commonjs, run yarn install --no-immutable --mode=skip-build
    28. In dir prettier/tests/integration/cli/config/package, run yarn install --no-immutable --mode=skip-build
    29. In dir prettier/tests/integration/cli/config/external-config/esm-package-forbids-require, run yarn install --no-immutable --mode=skip-build
    30. In dir prettier/tests/integration/cli/config/external-config/esm-package, run yarn install --no-immutable --mode=skip-build
    31. In dir prettier/tests/integration/cli/config/external-config/esm-file, run yarn install --no-immutable --mode=skip-build
    32. In dir prettier/tests/integration/cli/config/external-config/cjs-package, run yarn install --no-immutable --mode=skip-build
    33. In dir prettier/tests/integration/cli/cache, run yarn install --no-immutable --mode=skip-build
    34. In dir prettier/tests/config/prettier-plugins/prettier-plugin-uppercase-rocks, run yarn install --no-immutable --mode=skip-build
    35. In dir prettier/tests/config/prettier-plugins/prettier-plugin-missing-comments, run yarn install --no-immutable --mode=skip-build
    36. In dir prettier/tests/config/prettier-plugins/prettier-plugin-async-printer, run yarn install --no-immutable --mode=skip-build
    37. In dir prettier/scripts/tools/eslint-plugin-prettier-internal-rules, run yarn install --no-immutable --mode=skip-build
    38. In dir prettier/scripts/tools/bundle-test, run yarn install --no-immutable --mode=skip-build
    39. In dir prettier/scripts/release, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults1/prettier.prettier.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./prettier ./prettier.prettier.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 7 months ago

Error: Debug Failure.

Req #5900 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240405/lib/typescript.js:16867:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240405/lib/typescript.js:73086:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240405/lib/typescript.js:48738:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:161813:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240405/lib/typescript.js:161755:397)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161503:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":5897,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7}} {"seq":5898,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5899,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":7,"entryNames":["@abstract"]}} {"seq":5900,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":21040,"offset":58,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} ```

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

typescript-bot commented 7 months ago

Error: Debug Failure.

Req #6139 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240405/lib/typescript.js:16867:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240405/lib/typescript.js:73086:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240405/lib/typescript.js:48738:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:161813:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240405/lib/typescript.js:161755:397)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161503:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/lib/tsserver.js:504:14)

Affected repos

aosabook/500lines Raw error text: RepoResults3/aosabook.500lines.rawError.txt in the artifact folder

Last few requests

```json {"seq":6136,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24209,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6137,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24209,"offset":4,"entryNames":["@abstract"]}} {"seq":6138,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24227,"offset":7}} {"seq":6139,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24239,"offset":38,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

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

Error: Debug Failure. Expected declaration to have at least one class-like declaration

Req #5849 - definitionAndBoundSpan
    at getConstructSignatureDefinition (/typescript-5.5.0-dev.20240405/lib/typescript.js:167004:68)
    at getDefinitionFromSymbol (/typescript-5.5.0-dev.20240405/lib/typescript.js:166993:10)
    at getDefinitionAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:166746:120)
    at Object.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240405/lib/typescript.js:166937:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147123:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240405/lib/typescript.js:186519:73)
    at definitionAndBoundSpan (/typescript-5.5.0-dev.20240405/lib/typescript.js:185506:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":5846,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":9585,"offset":31,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":5847,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":9601,"offset":1}} {"seq":5848,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":9651,"offset":25}} {"seq":5849,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":9799,"offset":64}} ```

Repro steps

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

Error: Debug Failure. Expected 1 < 1.

Req #49 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169660:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169677:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:169650:16)
    at getContextualType (/typescript-5.5.0-dev.20240405/lib/typescript.js:161269:48)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161508:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/lib/tsserver.js:504:14)

Affected repos

MostlyAdequate/mostly-adequate-guide Raw error text: RepoResults5/MostlyAdequate.mostly-adequate-guide.rawError.txt in the artifact folder

Last few requests

```json {"seq":46,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/exercises/support.js","line":94,"offset":1,"entryNames":["add"]}} {"seq":47,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/exercises/support.js","line":101,"offset":20}} {"seq":48,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/exercises/support.js","line":134,"offset":59,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":49,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/exercises/support.js","line":149,"offset":63,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 7 months ago

Error: Debug Failure. Expected 1 < 1.

Req #5005 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169660:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:169677:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:169650:16)
    at getContextualType (/typescript-5.5.0-dev.20240405/lib/typescript.js:161269:48)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161508:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":5002,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist/vue.runtime.cjs.js","line":10,"offset":23,"entryNames":["server-renderer"]}} {"seq":5003,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist/vue.runtime.cjs.js","line":11,"offset":26}} {"seq":5004,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist/vue.runtime.cjs.js","line":11,"offset":26}} {"seq":5005,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/uni-h5-vue/dist/vue.runtime.cjs.js","line":14,"offset":37,"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 abfac762a1d66472705f3f4e315c0d496c9dcfd8
  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 7 months ago

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

Req #2302 - completionInfo
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:136352:13
    at firstDefined (/typescript-5.5.0-dev.20240405/lib/typescript.js:2380:20)
    at getNameForExportDefault (/typescript-5.5.0-dev.20240405/lib/typescript.js:136347:33)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240405/lib/typescript.js:136332:16)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240405/lib/typescript.js:136338:14)
    at getDefaultLikeExportInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:136314:16)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:136273:29
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:136174:119
    at forEachExternalModule (/typescript-5.5.0-dev.20240405/lib/typescript.js:136235:7)
    at forEachExternalModuleToImportFrom (/typescript-5.5.0-dev.20240405/lib/typescript.js:136174:3)
    at getExportInfoMap (/typescript-5.5.0-dev.20240405/lib/typescript.js:136262:5)
    at collectAutoImports (/typescript-5.5.0-dev.20240405/lib/typescript.js:161892:24)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:161827:5)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240405/lib/typescript.js:161755:397)
    at getCompletionData (/typescript-5.5.0-dev.20240405/lib/typescript.js:161503:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240405/lib/typescript.js:159465:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240405/lib/typescript.js:147017:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240405/lib/typescript.js:187272:54)
    at completionInfo (/typescript-5.5.0-dev.20240405/lib/typescript.js:185662:43)
    at /typescript-5.5.0-dev.20240405/lib/typescript.js:188057:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240405/lib/typescript.js:188049:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240405/lib/typescript.js:188057:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240405/lib/typescript.js:188099:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240405/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":2299,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/touch/touch.js","line":367,"offset":1}} {"seq":2300,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/touch/touch.js","line":486,"offset":30,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2301,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/touch/touch.js","line":486,"offset":30,"entryNames":["DOMContentLoaded"]}} {"seq":2302,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/touch/touch.js","line":497,"offset":29,"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