microsoft / TypeScript

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

[ServerErrors][TypeScript] 5.4.0-dev.20240121 #57118

Closed typescript-bot closed 9 months ago

typescript-bot commented 9 months ago

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

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

Successfully analyzed 189 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 9 | | Detected no interesting changes | 180 | | Git clone failed | 3 | | Language service disabled in new TS | 1 | | Unknown failure | 7 |

Investigation Status

Repo Errors Outcome
!e0a5c7f9ec0dd3c77d08d945916b2433 1
05dc022b77792efd84491358bf4bf0af 1
1952a13685c477d30c6207f76a3ca83c 1
487e5eb227b836e12f705057a41e033e 1
69f74f51c1d6cd54d3251aad9ea924bd 1
a91873f3f5a873319da54be2e2d13e07 1
c018866a54585234545e23fc6dd89b76 1
c871151803d08283353f4694dba5fc20 1
d9fb178e00f1ee2210c7655a0689069d 1
typescript-bot commented 9 months ago
Error: Debug Failure. False expression. ``` Req #2871 - completionInfo at consumeTokenAndAdvanceScanner (/typescript-5.3.3/lib/tsserver.js:171485:13) at processChildNode (/typescript-5.3.3/lib/tsserver.js:171394:9) at /typescript-5.3.3/lib/tsserver.js:171333:9 at visitNode2 (/typescript-5.3.3/lib/tsserver.js:30227:18) at forEachChildInMappedType (/typescript-5.3.3/lib/tsserver.js:30370:133) at forEachChild (/typescript-5.3.3/lib/tsserver.js:30744:35) at processNode (/typescript-5.3.3/lib/tsserver.js:171330:5) at processChildNode (/typescript-5.3.3/lib/tsserver.js:171409:7) at processChildNodes (/typescript-5.3.3/lib/tsserver.js:171452:32) at /typescript-5.3.3/lib/tsserver.js:171346:9 at visitNodes (/typescript-5.3.3/lib/tsserver.js:30232:14) at forEachChildInUnionOrIntersectionType (/typescript-5.3.3/lib/tsserver.js:30691:10) at forEachChild (/typescript-5.3.3/lib/tsserver.js:30744:35) at processNode (/typescript-5.3.3/lib/tsserver.js:171330:5) at processChildNode (/typescript-5.3.3/lib/tsserver.js:171409:7) at /typescript-5.3.3/lib/tsserver.js:171333:9 at visitNode2 (/typescript-5.3.3/lib/tsserver.js:30227:18) at forEachChildInParameter (/typescript-5.3.3/lib/tsserver.js:30277:177) at forEachChild (/typescript-5.3.3/lib/tsserver.js:30744:35) at processNode (/typescript-5.3.3/lib/tsserver.js:171330:5) at processChildNode (/typescript-5.3.3/lib/tsserver.js:171409:7) at processChildNodes (/typescript-5.3.3/lib/tsserver.js:171452:32) at /typescript-5.3.3/lib/tsserver.js:171346:9 at visitNodes (/typescript-5.3.3/lib/tsserver.js:30232:14) at forEachChildInMethodDeclaration (/typescript-5.3.3/lib/tsserver.js:30306:273) at forEachChild (/typescript-5.3.3/lib/tsserver.js:30744:35) at processNode (/typescript-5.3.3/lib/tsserver.js:171330:5) at formatSpanWorker (/typescript-5.3.3/lib/tsserver.js:171132:5) at /typescript-5.3.3/lib/tsserver.js:171072:105 at getFormattingScanner (/typescript-5.3.3/lib/tsserver.js:169875:15) at Object.formatNodeGivenIndentation (/typescript-5.3.3/lib/tsserver.js:171072:10) at /typescript-5.3.3/lib/tsserver.js:158471:36 at flatMap (/typescript-5.3.3/lib/tsserver.js:2597:17) at Object.printAndFormatSnippetList (/typescript-5.3.3/lib/tsserver.js:158469:21) at getEntryForMemberCompletion (/typescript-5.3.3/lib/tsserver.js:158232:28) at createCompletionEntry (/typescript-5.3.3/lib/tsserver.js:158056:35) at getCompletionEntriesFromSymbols (/typescript-5.3.3/lib/tsserver.js:158640:19) at completionInfoFromData (/typescript-5.3.3/lib/tsserver.js:157712:23) at Object.getCompletionsAtPosition (/typescript-5.3.3/lib/tsserver.js:157254:24) at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.3/lib/tsserver.js:145076:35) at IOSession.getCompletions (/typescript-5.3.3/lib/tsserver.js:184591:54) at completionInfo (/typescript-5.3.3/lib/tsserver.js:182987:43) at /typescript-5.3.3/lib/tsserver.js:185375:69 at IOSession.executeWithRequestId (/typescript-5.3.3/lib/tsserver.js:185367:14) at IOSession.executeCommand (/typescript-5.3.3/lib/tsserver.js:185375:29) at IOSession.onMessage (/typescript-5.3.3/lib/tsserver.js:185417:51) at Interface. (/typescript-5.3.3/lib/tsserver.js:186975:14) ```

Repos no longer reporting the error

typescript-bot commented 9 months ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults4/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

```json {"seq":851,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/apps/storybook/tailwind.config.js","line":1,"offset":23}} {"seq":852,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/apps/storybook/tailwind.config.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":56},"end":{"line":1,"offset":56}}]}],"closedFiles":[],"openFiles":[]}} {"seq":853,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/pages/api/webhooks/[id]/_auth-middleware.ts"],"openFiles":[]}} {"seq":854,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard 95e037c664d119b8a5d2cdec99bd33264e8f9797
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 9 months ago

Error: Debug Failure.

Req #34 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.4.0-dev.20240121/lib/tsserver.js:151561:13)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:157609:38
    at importSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157609:11)
    at createSignatureDeclarationFromSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157240:9)
    at outputMethod (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157115:20)
    at Object.addNewNodeForMemberSymbol (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157097:9)
    at getEntryForMemberCompletion (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159798:22)
    at createCompletionEntry (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159682:35)
    at getCompletionEntriesFromSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160269:19)
    at completionInfoFromData (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159338:23)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:158880:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146460:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186595:54)
    at completionInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184985:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

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

Last few requests

```json {"seq":31,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/lib/comment.d.ts","line":29,"offset":31}} {"seq":32,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/comment.d.ts","line":29,"offset":31,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":33,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/comment.d.ts","line":38,"offset":25,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":34,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/comment.d.ts","line":59,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/postcss/postcss --recurse-submodules
  2. In dir postcss, run git reset --hard 763d57b78a57b7abb6aaf745ab046ad9380cca9c
  3. In dir postcss, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults3/postcss.postcss.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./postcss ./postcss.postcss.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 9 months ago

Error: Debug Failure. False expression.

Req #6568 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173369:13)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173278:9)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInPropertySignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30511:92)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInTypeLiteral (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30570:12)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30919:10)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30922:10)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInIndexedAccessType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30595:12)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInConditionalType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30581:90)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInTypeParameter (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30496:131)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInMethodDeclaration (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30534:221)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at formatSpanWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173016:5)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:172956:105
    at getFormattingScanner (/typescript-5.4.0-dev.20240121/lib/tsserver.js:171759:15)
    at Object.formatNodeGivenIndentation (/typescript-5.4.0-dev.20240121/lib/tsserver.js:172956:10)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:160097:36
    at flatMap (/typescript-5.4.0-dev.20240121/lib/tsserver.js:2609:17)
    at Object.printAndFormatSnippetList (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160095:21)
    at getEntryForMemberCompletion (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159858:28)
    at createCompletionEntry (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159682:35)
    at getCompletionEntriesFromSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160269:19)
    at completionInfoFromData (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159338:23)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:158880:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146460:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186595:54)
    at completionInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184985:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

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

Last few requests

```json {"seq":6565,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/commands/index.ts","line":424,"offset":12}} {"seq":6566,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/commands/index.ts","line":424,"offset":12}} {"seq":6567,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/commands/index.ts","line":424,"offset":12,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6568,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/commands/index.ts","line":430,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/GrapesJS/grapesjs --recurse-submodules
  2. In dir grapesjs, run git reset --hard f873aeb3f394c1500dc2ee79e082086c2c24678a
  3. In dir grapesjs, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults7/GrapesJS.grapesjs.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./grapesjs ./GrapesJS.grapesjs.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 9 months ago

Error: Debug Failure. Expected 15 < 7.

Req #10355 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:168987:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:169004:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:168972:16)
    at getContextualType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160651:48)
    at getCompletionData (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160888:43)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:158862:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146460:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186595:54)
    at completionInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184985:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

angular/angular-cli Raw error text: RepoResults4/angular.angular-cli.rawError.txt in the artifact folder

Last few requests

```json {"seq":10352,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/ngtools/webpack/src/ivy/host.ts","line":292,"offset":8}} {"seq":10353,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/ngtools/webpack/src/ivy/host.ts","line":293,"offset":19,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":10354,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/ngtools/webpack/src/ivy/host.ts","line":293,"offset":19,"entryNames":["arguments"]}} {"seq":10355,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/ngtools/webpack/src/ivy/host.ts","line":303,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/angular/angular-cli --recurse-submodules
  2. In dir angular-cli, run git reset --hard fffc9e1f7ee736c40b0dfe80c26028de2015f587
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir angular-cli, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir angular-cli/tests/legacy-cli/e2e/assets/15.0-project, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir angular-cli/tests/legacy-cli/e2e/assets/17-ssr-project-webpack, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-bad, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-good, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir angular-cli/tests/legacy-cli/e2e/assets/add-collection, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-dependency, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-main, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir angular-cli/tests/legacy-cli/e2e/assets/schematic-allow-scripts, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir angular-cli/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir angular-cli/tests/legacy-cli/e2e/assets/webpack/test-app, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir angular-cli/tests/legacy-cli/e2e/ng-snapshot, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir angular-cli/tests/schematics/update/packages/update-base, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir angular-cli/tests/schematics/update/packages/update-migrations-external, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir angular-cli/tests/schematics/update/packages/update-migrations, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir angular-cli/tests/schematics/update/packages/update-package-group-1, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir angular-cli/tests/schematics/update/packages/update-package-group-2, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir angular-cli/tests/schematics/update/packages/update-peer-dependencies-1, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir angular-cli/tests/schematics/update/packages/update-peer-dependencies-2, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5-2, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults4/angular.angular-cli.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./angular-cli ./angular.angular-cli.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 9 months ago

RangeError: Maximum call stack size exceeded

Req #18524 - references
    at resolveNameHelper (/typescript-5.4.0-dev.20240121/lib/tsserver.js:49979:29)
    at resolveName (/typescript-5.4.0-dev.20240121/lib/tsserver.js:49977:12)
    at getResolvedSymbol (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70134:54)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72441:20)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80959:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at checkPropertyAccessExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75272:162)
    at checkExpressionWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80993:16)
    at checkExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:80914:32)
    at checkNonNullExpression (/typescript-5.4.0-dev.20240121/lib/tsserver.js:75193:29)
    at getEffectsSignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:70934:22)
    at getTypeAtFlowCall (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71285:25)
    at getTypeAtFlowNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71167:18)
    at getFlowTypeOfReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:71124:45)
    at checkIdentifier (/typescript-5.4.0-dev.20240121/lib/tsserver.js:72548:134)

Affected repos

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

Last few requests

```json {"seq":18521,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":212236}} {"seq":18522,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":212485,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":18523,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":212657}} {"seq":18524,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":212927}} ```

Repro steps

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

Error: start < 0

Req #2101 - references
    at createTextSpan (/typescript-5.4.0-dev.20240121/lib/tsserver.js:13700:11)
    at createTextSpanFromBounds (/typescript-5.4.0-dev.20240121/lib/tsserver.js:13708:10)
    at getErrorSpanForNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:16513:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.4.0-dev.20240121/lib/tsserver.js:16350:16)
    at resolveExternalModule (/typescript-5.4.0-dev.20240121/lib/tsserver.js:51737:31)
    at resolveExternalModuleNameWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:51631:61)
    at resolveExternalModuleName (/typescript-5.4.0-dev.20240121/lib/tsserver.js:51628:12)
    at getSymbolAtLocation (/typescript-5.4.0-dev.20240121/lib/tsserver.js:87285:18)
    at Object.getSymbolAtLocation (/typescript-5.4.0-dev.20240121/lib/tsserver.js:48491:21)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:163788:36
    at forEachImport (/typescript-5.4.0-dev.20240121/lib/tsserver.js:163824:7)
    at findModuleReferences (/typescript-5.4.0-dev.20240121/lib/tsserver.js:163787:5)
    at getReferencedSymbolsForModule (/typescript-5.4.0-dev.20240121/lib/tsserver.js:164686:35)
    at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.4.0-dev.20240121/lib/tsserver.js:164626:30)
    at Object.getReferencedSymbolsForNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:164556:30)
    at Object.findReferencedSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:164144:34)
    at Object.findReferences (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146614:41)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:184443:43
    at searchPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184593:28)
    at getPerProjectReferences (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184570:32)
    at getReferencesWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184435:29)
    at IOSession.getReferences (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186347:24)
    at references (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184866:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

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

Last few requests

```json {"seq":2098,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/core/test/assert.test.ts"],"openFiles":[]}} {"seq":2099,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/core/test/errors.test.ts","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":2100,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/core/test/errors.test.ts"}} {"seq":2101,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/core/test/errors.test.ts","line":1,"offset":24}} ```

Repro steps

  1. git clone https://github.com/statelyai/xstate --recurse-submodules
  2. In dir xstate, run git reset --hard 04d22fe7f11058c45ce41b87f4b694f5aa4d2e15
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir xstate/docs/fr/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir xstate/docs, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir xstate/docs/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir xstate/docs/zh/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir xstate/examples/7guis-counter-react, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir xstate/examples/7guis-temperature-react, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir xstate/examples/counter, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir xstate/examples/express-workflow, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir xstate/examples/fetch, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir xstate/examples/friends-list-react, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir xstate/examples/mongodb-persisted-state, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir xstate/examples/persisted-donut-maker, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir xstate/examples/snake-react, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir xstate/examples/stopwatch, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir xstate/examples/tic-tac-toe-react, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir xstate/examples/tiles, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir xstate/examples/timer, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir xstate/examples/todomvc-react, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir xstate/examples/toggle, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir xstate/examples/workflow-accumulate-room-readings, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir xstate/examples/workflow-applicant-request, run yarn install --ignore-engines --ignore-scripts --silent
    22. In dir xstate/examples/workflow-async-function, run yarn install --ignore-engines --ignore-scripts --silent
    23. In dir xstate/examples/workflow-async-subflow, run yarn install --ignore-engines --ignore-scripts --silent
    24. In dir xstate/examples/workflow-book-lending, run yarn install --ignore-engines --ignore-scripts --silent
    25. In dir xstate/examples/workflow-car-auction-bids, run yarn install --ignore-engines --ignore-scripts --silent
    26. In dir xstate/examples/workflow-car-vitals, run yarn install --ignore-engines --ignore-scripts --silent
    27. In dir xstate/examples/workflow-check-inbox, run yarn install --ignore-engines --ignore-scripts --silent
    28. In dir xstate/examples/workflow-credit-check, run yarn install --ignore-engines --ignore-scripts --silent
    29. In dir xstate/examples/workflow-event-based-service, run yarn install --ignore-engines --ignore-scripts --silent
    30. In dir xstate/examples/workflow-event-based, run yarn install --ignore-engines --ignore-scripts --silent
    31. In dir xstate/examples/workflow-event-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    32. In dir xstate/examples/workflow-filling-water, run yarn install --ignore-engines --ignore-scripts --silent
    33. In dir xstate/examples/workflow-finalize-college-app, run yarn install --ignore-engines --ignore-scripts --silent
    34. In dir xstate/examples/workflow-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    35. In dir xstate/examples/workflow-hello, run yarn install --ignore-engines --ignore-scripts --silent
    36. In dir xstate/examples/workflow-math-problem, run yarn install --ignore-engines --ignore-scripts --silent
    37. In dir xstate/examples/workflow-media-scanner, run yarn install --ignore-engines --ignore-scripts --silent
    38. In dir xstate/examples/workflow-monitor-job, run yarn install --ignore-engines --ignore-scripts --silent
    39. In dir xstate/examples/workflow-monitor-patient, run yarn install --ignore-engines --ignore-scripts --silent
    40. In dir xstate/examples/workflow-new-patient-onboarding, run yarn install --ignore-engines --ignore-scripts --silent
    41. In dir xstate/examples/workflow-parallel, run yarn install --ignore-engines --ignore-scripts --silent
    42. In dir xstate/examples/workflow-provision-orders, run yarn install --ignore-engines --ignore-scripts --silent
    43. In dir xstate/examples/workflow-purchase-order-deadline, run yarn install --ignore-engines --ignore-scripts --silent
    44. In dir xstate/examples/workflow-reusing-functions, run yarn install --ignore-engines --ignore-scripts --silent
    45. In dir xstate/examples/workflow-send-cloudevent, run yarn install --ignore-engines --ignore-scripts --silent
    46. In dir xstate, run yarn install --ignore-engines --ignore-scripts --silent
    47. In dir xstate/templates/react-ts, run yarn install --ignore-engines --ignore-scripts --silent
    48. In dir xstate/templates/svelte-ts, run yarn install --ignore-engines --ignore-scripts --silent
    49. In dir xstate/templates/vanilla-ts, run yarn install --ignore-engines --ignore-scripts --silent
    50. In dir xstate/templates/vue-ts, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults4/statelyai.xstate.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./xstate ./statelyai.xstate.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 9 months ago

Error: Debug Failure.

Req #893 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.4.0-dev.20240121/lib/tsserver.js:151561:13)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:157609:38
    at importSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157609:11)
    at Object.addNewNodeForMemberSymbol (/typescript-5.4.0-dev.20240121/lib/tsserver.js:157054:11)
    at getEntryForMemberCompletion (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159798:22)
    at createCompletionEntry (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159682:35)
    at getCompletionEntriesFromSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160269:19)
    at completionInfoFromData (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159338:23)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:158880:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146460:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186595:54)
    at completionInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184985:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

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

Last few requests

```json {"seq":890,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/tabHeader.component.ts","line":69,"offset":49}} {"seq":891,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/tabHeader.component.ts","line":69,"offset":49}} {"seq":892,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/tabHeader.component.ts","line":69,"offset":49,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":893,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/tabHeader.component.ts","line":80,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/Eugeny/tabby --recurse-submodules
  2. In dir tabby, run git reset --hard 868f7ba70ed1702e22291794d2b90714b7a1a682
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir tabby/app, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir tabby, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir tabby/tabby-community-color-schemes, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir tabby/tabby-core, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir tabby/tabby-electron, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir tabby/tabby-linkifier, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir tabby/tabby-local, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir tabby/tabby-plugin-manager, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir tabby/tabby-serial, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir tabby/tabby-settings, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir tabby/tabby-ssh, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir tabby/tabby-telnet, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir tabby/tabby-terminal, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir tabby/tabby-web-demo, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir tabby/tabby-web, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir tabby/web, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults1/Eugeny.tabby.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./tabby ./Eugeny.tabby.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 9 months ago

Error: Debug Failure. False expression: Token end is child end

Req #1188 - completionInfo
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173286:17)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInPropertySignature (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30511:59)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInTypeLiteral (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30570:12)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30919:10)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30922:10)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30919:10)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at processChildNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173336:32)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173230:9
    at visitNodes (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30460:14)
    at forEachChildInTypeReference (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30561:49)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at processChildNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173293:7)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:173217:9
    at visitNode2 (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30455:18)
    at forEachChildInPropertyDeclaration (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30508:179)
    at forEachChild (/typescript-5.4.0-dev.20240121/lib/tsserver.js:30972:35)
    at processNode (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173214:5)
    at formatSpanWorker (/typescript-5.4.0-dev.20240121/lib/tsserver.js:173016:5)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:172956:105
    at getFormattingScanner (/typescript-5.4.0-dev.20240121/lib/tsserver.js:171759:15)
    at Object.formatNodeGivenIndentation (/typescript-5.4.0-dev.20240121/lib/tsserver.js:172956:10)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:160097:36
    at flatMap (/typescript-5.4.0-dev.20240121/lib/tsserver.js:2609:17)
    at Object.printAndFormatSnippetList (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160095:21)
    at getEntryForMemberCompletion (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159858:28)
    at createCompletionEntry (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159682:35)
    at getCompletionEntriesFromSymbols (/typescript-5.4.0-dev.20240121/lib/tsserver.js:160269:19)
    at completionInfoFromData (/typescript-5.4.0-dev.20240121/lib/tsserver.js:159338:23)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240121/lib/tsserver.js:158880:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240121/lib/tsserver.js:146460:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240121/lib/tsserver.js:186595:54)
    at completionInfo (/typescript-5.4.0-dev.20240121/lib/tsserver.js:184985:43)
    at /typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187371:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187379:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240121/lib/tsserver.js:187421:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240121/lib/tsserver.js:189006:14)

Affected repos

jhipster/generator-jhipster Raw error text: RepoResults6/jhipster.generator-jhipster.rawError.txt in the artifact folder

Last few requests

```json {"seq":1185,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/generators/base/generator.ts","line":287,"offset":23}} {"seq":1186,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/base/generator.ts","line":308,"offset":11,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":1187,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/generators/base/generator.ts","line":312,"offset":6}} {"seq":1188,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/base/generator.ts","line":318,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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