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.20240331 #58018

Closed typescript-bot closed 7 months ago

typescript-bot commented 7 months ago

The following errors were reported by 5.5.0-dev.20240331 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 | 7 | | Detected no interesting changes | 287 | | Unknown failure | 6 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
759ab969b507c6dc626b363bab3ac611 1
7e8d358e993997419fa6654065971046 1
8f5cd0e047531a6ca6815f88e1c57ec8 1
8f5cd0e047531a6ca6815f88e1c57ec8 1
ceb3ba8d38ec4941223583be0838931f 1
f4f51e2cd85eaec7cb9333d02684c323 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":22094,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16074,"offset":83}} {"seq":22095,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16086,"offset":77}} {"seq":22096,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16086,"offset":77}} {"seq":22097,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16086,"offset":77,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/tastejs/todomvc --recurse-submodules
  2. In dir todomvc, run git reset --hard b6026bba029f47947a9e76f1235bd3d7e3f99a1b
  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. Did not expect Block to have an Identifier in its trivia

Req #6587 - definitionAndBoundSpan
    at addSyntheticNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:144470:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240331/lib/typescript.js:144485:5)
    at processNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:144450:19)
    at visitNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:30209:14)
    at forEachChildInBlock (/typescript-5.5.0-dev.20240331/lib/typescript.js:30682:10)
    at forEachChild (/typescript-5.5.0-dev.20240331/lib/typescript.js:30725:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240331/lib/typescript.js:144427:12)
    at createChildren (/typescript-5.5.0-dev.20240331/lib/typescript.js:144455:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240331/lib/typescript.js:144406:48)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240331/lib/typescript.js:132513:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240331/lib/typescript.js:132486:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240331/lib/typescript.js:132483:10)
    at getDefinitionAtPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:165156:16)
    at Object.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240331/lib/typescript.js:165477:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.5.0-dev.20240331/lib/typescript.js:145664:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240331/lib/typescript.js:185051:73)
    at definitionAndBoundSpan (/typescript-5.5.0-dev.20240331/lib/typescript.js:184038:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/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":6584,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-await-using-binding-non-bmp.js"}} {"seq":6585,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-await-using-binding-non-bmp.js"}} {"seq":6586,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-await-using-binding-non-bmp.js"}} {"seq":6587,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/tests/format/js/explicit-resource-management/valid-await-using-binding-non-bmp.js","line":2,"offset":16}} ```

Repro steps

  1. git clone https://github.com/prettier/prettier --recurse-submodules
  2. In dir prettier, run git reset --hard ae742c2a0ec2a2b0b9a06229257b6c1964cf68d7
  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. False expression: Expected the specifier to be a default export

Req #2517 - completionInfo
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:134906:13
    at firstDefined (/typescript-5.5.0-dev.20240331/lib/typescript.js:2373:20)
    at getNameForExportDefault (/typescript-5.5.0-dev.20240331/lib/typescript.js:134901:33)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240331/lib/typescript.js:134886:16)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240331/lib/typescript.js:134892:14)
    at getDefaultLikeExportInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:134868:16)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:134827:29
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:134728:119
    at forEachExternalModule (/typescript-5.5.0-dev.20240331/lib/typescript.js:134789:7)
    at forEachExternalModuleToImportFrom (/typescript-5.5.0-dev.20240331/lib/typescript.js:134728:3)
    at getExportInfoMap (/typescript-5.5.0-dev.20240331/lib/typescript.js:134816:5)
    at collectAutoImports (/typescript-5.5.0-dev.20240331/lib/typescript.js:160432:24)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:160367:5)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240331/lib/typescript.js:160295:397)
    at getCompletionData (/typescript-5.5.0-dev.20240331/lib/typescript.js:160043:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:158005:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240331/lib/typescript.js:145561:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:185804:54)
    at completionInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:184194:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/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":2514,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/swipe-back.js","line":192,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2515,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/swipe-back.js","line":192,"offset":1,"entryNames":["$"]}} {"seq":2516,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/swipe-back.js","line":202,"offset":13}} {"seq":2517,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/swipe-back.js","line":298,"offset":62,"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 7 months ago

Error: Debug Failure.

Req #5969 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240331/lib/typescript.js:16852:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240331/lib/typescript.js:72797:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240331/lib/typescript.js:48582:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:160353:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240331/lib/typescript.js:160295:397)
    at getCompletionData (/typescript-5.5.0-dev.20240331/lib/typescript.js:160043:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:158005:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240331/lib/typescript.js:145561:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:185804:54)
    at completionInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:184194:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/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":5966,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20864,"offset":24,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":5967,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20884,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5968,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20884,"offset":7,"entryNames":["@abstract"]}} {"seq":5969,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20909,"offset":27,"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

typescript-bot commented 7 months ago

Error: Debug Failure.

Req #6176 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240331/lib/typescript.js:16852:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240331/lib/typescript.js:72797:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240331/lib/typescript.js:48582:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:160353:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240331/lib/typescript.js:160295:397)
    at getCompletionData (/typescript-5.5.0-dev.20240331/lib/typescript.js:160043:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:158005:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240331/lib/typescript.js:145561:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:185804:54)
    at completionInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:184194:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/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":6173,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24209,"offset":4,"entryNames":["@abstract"]}} {"seq":6174,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24227,"offset":7}} {"seq":6175,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24227,"offset":7}} {"seq":6176,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24241,"offset":33,"includeExternalModuleExports":false,"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. Did not expect ObjectLiteralExpression to have an Identifier in its trivia

Req #619 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:144470:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240331/lib/typescript.js:144485:5)
    at processNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:144450:19)
    at visitNodes (/typescript-5.5.0-dev.20240331/lib/typescript.js:30209:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240331/lib/typescript.js:30361:12)
    at forEachChild (/typescript-5.5.0-dev.20240331/lib/typescript.js:30725:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240331/lib/typescript.js:144427:12)
    at createChildren (/typescript-5.5.0-dev.20240331/lib/typescript.js:144455:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240331/lib/typescript.js:144406:48)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240331/lib/typescript.js:132513:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240331/lib/typescript.js:132486:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240331/lib/typescript.js:132483:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240331/lib/typescript.js:164439:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240331/lib/typescript.js:164432:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240331/lib/typescript.js:164425:12)
    at searchForName (/typescript-5.5.0-dev.20240331/lib/typescript.js:164233:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240331/lib/typescript.js:164026:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240331/lib/typescript.js:164008:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240331/lib/typescript.js:163755:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240331/lib/typescript.js:163337:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240331/lib/typescript.js:145715:41)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:183644:43
    at searchPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:183794:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240331/lib/typescript.js:183771:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240331/lib/typescript.js:183636:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240331/lib/typescript.js:185556:24)
    at references (/typescript-5.5.0-dev.20240331/lib/typescript.js:184075:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/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":616,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":91660,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":617,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":92916}} {"seq":618,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":93065,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":619,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":95680}} ```

Repro steps

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

Req #2770 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:168200:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:168217:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:168190:16)
    at getContextualType (/typescript-5.5.0-dev.20240331/lib/typescript.js:159809:48)
    at getCompletionData (/typescript-5.5.0-dev.20240331/lib/typescript.js:160048:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240331/lib/typescript.js:158005:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240331/lib/typescript.js:145561:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240331/lib/typescript.js:185804:54)
    at completionInfo (/typescript-5.5.0-dev.20240331/lib/typescript.js:184194:43)
    at /typescript-5.5.0-dev.20240331/lib/typescript.js:186589:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240331/lib/typescript.js:186581:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240331/lib/typescript.js:186589:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240331/lib/typescript.js:186631:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240331/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":2767,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/src/js/console.js"}} {"seq":2768,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/js/console.js","line":28,"offset":14,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2769,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/js/console.js","line":28,"offset":14,"entryNames":["arguments"]}} {"seq":2770,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/js/console.js","line":38,"offset":26,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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