microsoft / TypeScript

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

[ServerErrors][TypeScript] 5.2.0-dev.20230723 #55122

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.2.0-dev.20230723 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 186 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 8 | | Detected no interesting changes | 178 | | Git clone failed | 2 | | Language service disabled in new TS | 1 | | Unknown failure | 11 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
05dc022b77792efd84491358bf4bf0af 1
05e68517f349cb55009e56e94eb39d70 1
6d53de8ee5554033d9727834fc6804c9 1
d9627f10ddc8784c5928c2eb77ad3ae2 1
db599e333690d7ab44069b2e5d74d00e 1
dfb7cb28dd376fe91c17961bca738b3b 1
typescript-bot commented 1 year 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: RepoResults3/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

```json {"seq":856,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","line":2,"offset":49,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"\""}} {"seq":857,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","line":4,"offset":52}} {"seq":858,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/pages/api/webhooks/[id]/index.ts"],"openFiles":[]}} {"seq":859,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/components/AppListCard.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 f081c733b891c183bb0cc0754cb9b33cf20c3fcb
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults3/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
mantinedev/mantine Raw error text: RepoResults3/mantinedev.mantine.rawError.txt in the artifact folder

Last few requests

```json {"seq":2737,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/src/mantine-core/src/Select/filter-data/filter-data.test.ts"}},"skipDestructiveCodeActions":false}} {"seq":2738,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/src/mantine-core/src/Select/filter-data/filter-data.test.ts"}} {"seq":2739,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/src/mantine-core/src/Select/filter-data/filter-data.test.ts","textChanges":[{"newText":" //comment","start":{"line":1,"offset":44},"end":{"line":1,"offset":44}}]}],"closedFiles":[],"openFiles":[]}} {"seq":2740,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/mantine-core/src/Select/filter-data/filter-data.test.ts","line":17,"offset":14}} ```

Repro steps

  1. git clone https://github.com/mantinedev/mantine --recurse-submodules
  2. In dir mantine, run git reset --hard cf0f85faec56615ea5fbd7813e83bac60dbaefb7
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir mantine/docs, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir mantine, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults3/mantinedev.mantine.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./mantine ./mantinedev.mantine.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

```json {"seq":1718,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/auth-providers/azureActiveDirectory/api/src/index.ts"}},"skipDestructiveCodeActions":false}} {"seq":1719,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/auth-providers/azureActiveDirectory/api/src/index.ts"}} {"seq":1720,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/auth-providers/auth0/web/src/auth0.ts"],"openFiles":[]}} {"seq":1721,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/auth-providers/azureActiveDirectory/setup/jest.config.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/redwoodjs/redwood --recurse-submodules
  2. In dir redwood, run git reset --hard fc079454d282609e14edaccc7b7bc64d59a63ec8
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir redwood/docs, run yarn install --no-immutable --mode=skip-build
    2. In dir redwood, run yarn install --no-immutable --mode=skip-build
    3. In dir redwood/tasks/check, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/redwoodjs.redwood.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./redwood ./redwoodjs.redwood.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

Error: Debug Failure. False expression.

Req #23473 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170926:13)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170835:9)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30537:10)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInFunctionType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30147:159)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInPropertySignature (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30129:134)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInTypeLiteral (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30188:12)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInTypeReference (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30179:49)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInPropertyDeclaration (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30126:179)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at formatSpanWorker (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170573:5)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:105
    at getFormattingScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:169331:15)
    at Object.formatNodeGivenIndentation (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:10)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:158252:36
    at flatMap (/typescript-5.2.0-dev.20230723/lib/tsserver.js:2598:17)
    at Object.printAndFormatSnippetList (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158250:21)
    at getEntryForMemberCompletion (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158015:28)
    at createCompletionEntry (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157839:35)
    at getCompletionEntriesFromSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158421:19)
    at completionInfoFromData (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157495:23)
    at Object.getCompletionsAtPosition (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157037:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.2.0-dev.20230723/lib/tsserver.js:143967:35)
    at IOSession.getCompletions (/typescript-5.2.0-dev.20230723/lib/tsserver.js:183915:54)
    at completionInfo (/typescript-5.2.0-dev.20230723/lib/tsserver.js:182316:43)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:69
    at IOSession.executeWithRequestId (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184683:14)
    at IOSession.executeCommand (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:29)
    at IOSession.onMessage (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184733:51)
    at Interface.<anonymous> (/typescript-5.2.0-dev.20230723/lib/tsserver.js:186290:14)

Affected repos

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

Last few requests

```json {"seq":23470,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/component/helper/RoamController.ts","line":47,"offset":13,"entryNames":["Bind3"]}} {"seq":23471,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/component/helper/RoamController.ts","line":69,"offset":69,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":23472,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/component/helper/RoamController.ts","line":69,"offset":69,"entryNames":["bind"]}} {"seq":23473,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/component/helper/RoamController.ts","line":86,"offset":74,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 1 year ago

Error: Debug Failure.

Req #658 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.2.0-dev.20230723/lib/tsserver.js:150000:13)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:155779:38
    at importSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:155779:11)
    at Object.addNewNodeForMemberSymbol (/typescript-5.2.0-dev.20230723/lib/tsserver.js:155233:11)
    at getEntryForMemberCompletion (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157955:22)
    at createCompletionEntry (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157839:35)
    at getCompletionEntriesFromSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158421:19)
    at completionInfoFromData (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157495:23)
    at Object.getCompletionsAtPosition (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157037:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.2.0-dev.20230723/lib/tsserver.js:143967:35)
    at IOSession.getCompletions (/typescript-5.2.0-dev.20230723/lib/tsserver.js:183915:54)
    at completionInfo (/typescript-5.2.0-dev.20230723/lib/tsserver.js:182316:43)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:69
    at IOSession.executeWithRequestId (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184683:14)
    at IOSession.executeCommand (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:29)
    at IOSession.onMessage (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184733:51)
    at Interface.<anonymous> (/typescript-5.2.0-dev.20230723/lib/tsserver.js:186290:14)

Affected repos

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

Last few requests

```json {"seq":655,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/selfPositioning.component.ts","line":8,"offset":5,"entryNames":["BaseComponent"]}} {"seq":656,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/selfPositioning.component.ts","line":9,"offset":5,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":657,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/selfPositioning.component.ts","line":9,"offset":5,"entryNames":["BaseComponent"]}} {"seq":658,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-core/src/components/selfPositioning.component.ts","line":11,"offset":60,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/Eugeny/tabby --recurse-submodules
  2. In dir tabby, run git reset --hard 0101ffddb65b6fac3553499d7e2d113f31d23ff1
  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 1 year ago

Error: Debug Failure. False expression.

Req #3192 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170926:13)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170835:9)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInPropertySignature (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30129:92)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInTypeLiteral (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30188:12)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30537:10)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30540:10)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInIndexedAccessType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30213:12)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInConditionalType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30199:90)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInTypeParameter (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30114:131)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInMethodDeclaration (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30152:221)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at formatSpanWorker (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170573:5)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:105
    at getFormattingScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:169331:15)
    at Object.formatNodeGivenIndentation (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:10)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:158252:36
    at flatMap (/typescript-5.2.0-dev.20230723/lib/tsserver.js:2598:17)
    at Object.printAndFormatSnippetList (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158250:21)
    at getEntryForMemberCompletion (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158015:28)
    at createCompletionEntry (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157839:35)
    at getCompletionEntriesFromSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158421:19)
    at completionInfoFromData (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157495:23)
    at Object.getCompletionsAtPosition (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157037:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.2.0-dev.20230723/lib/tsserver.js:143967:35)
    at IOSession.getCompletions (/typescript-5.2.0-dev.20230723/lib/tsserver.js:183915:54)
    at completionInfo (/typescript-5.2.0-dev.20230723/lib/tsserver.js:182316:43)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:69
    at IOSession.executeWithRequestId (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184683:14)
    at IOSession.executeCommand (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:29)
    at IOSession.onMessage (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184733:51)
    at Interface.<anonymous> (/typescript-5.2.0-dev.20230723/lib/tsserver.js:186290:14)

Affected repos

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

Last few requests

```json {"seq":3189,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/index.d.ts","line":8577,"offset":5}} {"seq":3190,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/index.d.ts","line":8583,"offset":2,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3191,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/index.d.ts","line":8583,"offset":2,"entryNames":["appendTo"]}} {"seq":3192,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/index.d.ts","line":8586,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/GrapesJS/grapesjs --recurse-submodules
  2. In dir grapesjs, run git reset --hard f8b66a1d7e28b6c156cb7d6c61d2951872e9675f
  3. In dir grapesjs, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults3/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 1 year ago

Error: Debug Failure. False expression.

Req #5546 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170926:13)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170835:9)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInPropertySignature (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30129:92)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInTypeLiteral (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30188:12)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInParameter (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30123:177)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInMethodSignature (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30155:186)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInTypeLiteral (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30188:12)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30537:10)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInParameter (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30123:177)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInMethodDeclaration (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30152:273)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at formatSpanWorker (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170573:5)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:105
    at getFormattingScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:169331:15)
    at Object.formatNodeGivenIndentation (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:10)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:158252:36
    at flatMap (/typescript-5.2.0-dev.20230723/lib/tsserver.js:2598:17)
    at Object.printAndFormatSnippetList (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158250:21)
    at getEntryForMemberCompletion (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158015:28)
    at createCompletionEntry (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157839:35)
    at getCompletionEntriesFromSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158421:19)
    at completionInfoFromData (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157495:23)
    at Object.getCompletionsAtPosition (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157037:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.2.0-dev.20230723/lib/tsserver.js:143967:35)
    at IOSession.getCompletions (/typescript-5.2.0-dev.20230723/lib/tsserver.js:183915:54)
    at completionInfo (/typescript-5.2.0-dev.20230723/lib/tsserver.js:182316:43)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:69
    at IOSession.executeWithRequestId (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184683:14)
    at IOSession.executeCommand (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:29)
    at IOSession.onMessage (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184733:51)
    at Interface.<anonymous> (/typescript-5.2.0-dev.20230723/lib/tsserver.js:186290:14)

Affected repos

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

Last few requests

```json {"seq":5543,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/CRUD2.tsx","line":1543,"offset":13}} {"seq":5544,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/CRUD2.tsx","line":1566,"offset":31,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5545,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/CRUD2.tsx","line":1566,"offset":31,"entryNames":["features"]}} {"seq":5546,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/CRUD2.tsx","line":1687,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 1 year ago

Error: Debug Failure. False expression.

Req #4867 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170926:13)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170835:9)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInMappedType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30216:133)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30537:10)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170774:9
    at visitNode2 (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30073:18)
    at forEachChildInParameter (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30123:177)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at processChildNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170850:7)
    at processChildNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170893:32)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170787:9
    at visitNodes (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30078:14)
    at forEachChildInMethodDeclaration (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30152:273)
    at forEachChild (/typescript-5.2.0-dev.20230723/lib/tsserver.js:30590:35)
    at processNode (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170771:5)
    at formatSpanWorker (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170573:5)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:105
    at getFormattingScanner (/typescript-5.2.0-dev.20230723/lib/tsserver.js:169331:15)
    at Object.formatNodeGivenIndentation (/typescript-5.2.0-dev.20230723/lib/tsserver.js:170513:10)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:158252:36
    at flatMap (/typescript-5.2.0-dev.20230723/lib/tsserver.js:2598:17)
    at Object.printAndFormatSnippetList (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158250:21)
    at getEntryForMemberCompletion (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158015:28)
    at createCompletionEntry (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157839:35)
    at getCompletionEntriesFromSymbols (/typescript-5.2.0-dev.20230723/lib/tsserver.js:158421:19)
    at completionInfoFromData (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157495:23)
    at Object.getCompletionsAtPosition (/typescript-5.2.0-dev.20230723/lib/tsserver.js:157037:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.2.0-dev.20230723/lib/tsserver.js:143967:35)
    at IOSession.getCompletions (/typescript-5.2.0-dev.20230723/lib/tsserver.js:183915:54)
    at completionInfo (/typescript-5.2.0-dev.20230723/lib/tsserver.js:182316:43)
    at /typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:69
    at IOSession.executeWithRequestId (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184683:14)
    at IOSession.executeCommand (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184691:29)
    at IOSession.onMessage (/typescript-5.2.0-dev.20230723/lib/tsserver.js:184733:51)
    at Interface.<anonymous> (/typescript-5.2.0-dev.20230723/lib/tsserver.js:186290:14)

Affected repos

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

Last few requests

```json {"seq":4864,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/src/repository/TreeRepository.ts","textChanges":[{"newText":" //comment","start":{"line":1,"offset":56},"end":{"line":1,"offset":56}}]}],"closedFiles":[],"openFiles":[]}} {"seq":4865,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/repository/TreeRepository.ts","line":13,"offset":4}} {"seq":4866,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/repository/TreeRepository.ts","line":13,"offset":4}} {"seq":4867,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/repository/TreeRepository.ts","line":73,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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