microsoft / TypeScript

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

[ServerErrors][TypeScript] 5.3.0-dev.20231022 #56175

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

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

Investigation Status

Repo Errors Outcome
!1136d696a399f90bb2119a23c1547ad6 1
!fc31b5eadcb63248b25b93cfa369b910 1
05dc022b77792efd84491358bf4bf0af 1
256f0eb001ae125d2eaa21d99cc8ba59 1
4d0b1f1ccc4499fc97c170c0cecea141 1
4dd14b015c44702b782c84da4445cdfd 1
7ea4ff65fbb862c9824a6f0f6301a5db 1
b119b5f26cc6f0b4ad6e5f5afec7fcde 1
cf727fc5bc15ed283c12b00a48ef7c0d 1
db7041d581fc4c85bdc6feb027dac89a 1
typescript-bot commented 1 year ago
Timed out after 600000 ms ``` Timed out after 600000 ms ```

Repos no longer reporting the error

typescript-bot commented 1 year ago
Error: start < 0 ``` Req #4929 - references at createTextSpan (/typescript-5.2.2/lib/tsserver.js:13622:11) at createTextSpanFromBounds (/typescript-5.2.2/lib/tsserver.js:13630:10) at getErrorSpanForNode (/typescript-5.2.2/lib/tsserver.js:16404:10) at createDiagnosticForNodeFromMessageChain (/typescript-5.2.2/lib/tsserver.js:16239:16) at resolveExternalModule (/typescript-5.2.2/lib/tsserver.js:51029:31) at resolveExternalModuleNameWorker (/typescript-5.2.2/lib/tsserver.js:50926:61) at resolveExternalModuleName (/typescript-5.2.2/lib/tsserver.js:50923:12) at getSymbolAtLocation (/typescript-5.2.2/lib/tsserver.js:85725:18) at Object.getSymbolAtLocation (/typescript-5.2.2/lib/tsserver.js:47880:21) at /typescript-5.2.2/lib/tsserver.js:162028:36 at forEachImport (/typescript-5.2.2/lib/tsserver.js:162064:7) at findModuleReferences (/typescript-5.2.2/lib/tsserver.js:162027:5) at getReferencedSymbolsForModule (/typescript-5.2.2/lib/tsserver.js:162924:35) at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.2.2/lib/tsserver.js:162864:30) at Object.getReferencedSymbolsForNode (/typescript-5.2.2/lib/tsserver.js:162794:30) at Object.findReferencedSymbols (/typescript-5.2.2/lib/tsserver.js:162385:34) at Object.findReferences (/typescript-5.2.2/lib/tsserver.js:144241:41) at /typescript-5.2.2/lib/tsserver.js:181918:43 at searchPosition (/typescript-5.2.2/lib/tsserver.js:182064:28) at getPerProjectReferences (/typescript-5.2.2/lib/tsserver.js:182041:32) at getReferencesWorker (/typescript-5.2.2/lib/tsserver.js:181910:29) at IOSession.getReferences (/typescript-5.2.2/lib/tsserver.js:183810:24) at references (/typescript-5.2.2/lib/tsserver.js:182337:43) at /typescript-5.2.2/lib/tsserver.js:184838:69 at IOSession.executeWithRequestId (/typescript-5.2.2/lib/tsserver.js:184830:14) at IOSession.executeCommand (/typescript-5.2.2/lib/tsserver.js:184838:29) at IOSession.onMessage (/typescript-5.2.2/lib/tsserver.js:184880:51) at Interface. (/typescript-5.2.2/lib/tsserver.js:186437:14) ```

Repos no longer reporting the error

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: RepoResults4/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

```json {"seq":847,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/lib/snippets.ts","line":353,"offset":3,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":848,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/lib/snippets.ts","line":353,"offset":3,"entryNames":["__dirname"]}} {"seq":849,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/test/lib/middleware/withMiddleware.test.ts"],"openFiles":[]}} {"seq":850,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/components/apps/AppPage.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 e91fe12219f2a4237d5ebd96c3569f23b5eea83b
  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
backstage/backstage Raw error text: RepoResults4/backstage.backstage.rawError.txt in the artifact folder

Last few requests

```json {"seq":5946,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/migrations/20210925102509_add_refresh_state_input_hash.js","line":14,"offset":4}} {"seq":5947,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/migrations/20210925102509_add_refresh_state_input_hash.js","line":15,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5948,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/migrations/20210925102509_add_refresh_state_input_hash.js","line":15,"offset":4,"entryNames":["__dirname"]}} {"seq":5949,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/migrations/20210925102509_add_refresh_state_input_hash.js","line":17,"offset":4}} ```

Repro steps

  1. git clone https://github.com/backstage/backstage --recurse-submodules
  2. In dir backstage, run git reset --hard 2d39c1dbdf065c588464c6c0c4fc44bb469aeca0
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir backstage/microsite, run yarn install --no-immutable --mode=skip-build
    2. In dir backstage, run yarn install --no-immutable --mode=skip-build
    3. In dir backstage/storybook, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/backstage.backstage.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./backstage ./backstage.backstage.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: Token end is child end

Req #20612 - completionInfo
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171065:17)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170996:9
    at visitNode2 (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30185:18)
    at forEachChildInTypeReference (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30291:12)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30649:10)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInTypeReference (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30291:49)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170996:9
    at visitNode2 (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30185:18)
    at forEachChildInPropertyDeclaration (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30238:179)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170795:5)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170735:105
    at getFormattingScanner (/typescript-5.3.0-dev.20231022/lib/tsserver.js:169538:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170735:10)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:158138:36
    at flatMap (/typescript-5.3.0-dev.20231022/lib/tsserver.js:2597:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158136:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157899:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157723:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158307:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157379:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20231022/lib/tsserver.js:156921:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144743:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20231022/lib/tsserver.js:184254:54)
    at completionInfo (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182650:43)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

discordjs/discord.js Raw error text: RepoResults4/discordjs.discord.js.rawError.txt in the artifact folder

Last few requests

```json {"seq":20609,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":566,"offset":53}} {"seq":20610,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":570,"offset":44}} {"seq":20611,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":570,"offset":44,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":20612,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":588,"offset":39,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/discordjs/discord.js --recurse-submodules
  2. In dir discord.js, run git reset --hard 0e0b85b76669237e3368e9ccef5278f47f7812d8
  3. In dir discord.js, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults4/discordjs.discord.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./discord.js ./discordjs.discord.js.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: start < 0

Req #962 - references
    at createTextSpan (/typescript-5.3.0-dev.20231022/lib/tsserver.js:13627:11)
    at createTextSpanFromBounds (/typescript-5.3.0-dev.20231022/lib/tsserver.js:13635:10)
    at getErrorSpanForNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16400:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16237:16)
    at resolveExternalModule (/typescript-5.3.0-dev.20231022/lib/tsserver.js:51257:31)
    at resolveExternalModuleNameWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:51155:61)
    at resolveExternalModuleName (/typescript-5.3.0-dev.20231022/lib/tsserver.js:51152:12)
    at getSymbolAtLocation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:86227:18)
    at Object.getSymbolAtLocation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:48031:21)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:161812:36
    at forEachImport (/typescript-5.3.0-dev.20231022/lib/tsserver.js:161834:7)
    at getDirectImportsMap (/typescript-5.3.0-dev.20231022/lib/tsserver.js:161811:5)
    at createImportTracker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:161491:28)
    at State.getImportSearches (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162921:30)
    at searchForImportsOfExport (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162966:71)
    at getImportOrExportReferences (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163361:7)
    at getReferencesAtLocation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163294:5)
    at getReferencesInContainer (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163241:7)
    at getReferencesInSourceFile (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163234:12)
    at searchForImportedSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163037:7)
    at getImportOrExportReferences (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163358:9)
    at getReferencesAtLocation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163294:5)
    at getReferencesInContainer (/typescript-5.3.0-dev.20231022/lib/tsserver.js:163241:7)
    at getReferencesInContainerOrFiles (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162824:7)
    at getReferencedSymbolsForSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162817:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162564:24)
    at Object.findReferencedSymbols (/typescript-5.3.0-dev.20231022/lib/tsserver.js:162149:34)
    at Object.findReferences (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144897:41)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:182108:43
    at searchPosition (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182258:28)
    at getPerProjectReferences (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182235:32)
    at getReferencesWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182100:29)
    at IOSession.getReferences (/typescript-5.3.0-dev.20231022/lib/tsserver.js:184007:24)
    at references (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182531:43)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

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

Last few requests

```json {"seq":959,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/guards.ts","line":88,"offset":28,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":960,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/guards.ts","line":106,"offset":38,"includeExternalModuleExports":true,"triggerKind":1}} {"seq":961,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/guards.ts","line":106,"offset":38,"entryNames":["AnyState"]}} {"seq":962,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/guards.ts","line":117,"offset":62}} ```

Repro steps

  1. git clone https://github.com/statelyai/xstate --recurse-submodules
  2. In dir xstate, run git reset --hard 26542fc4746390174d983ce6542d9129c14ba016
  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/fetch, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir xstate/examples/friends-list-react, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir xstate/examples/mongodb-persisted-state, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir xstate/examples/persisted-donut-maker, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir xstate/examples/snake-react, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir xstate/examples/stopwatch, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir xstate/examples/tic-tac-toe-react, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir xstate/examples/tiles, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir xstate/examples/timer, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir xstate/examples/todomvc-react, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir xstate/examples/toggle, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir xstate/examples/workflow-accumulate-room-readings, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir xstate/examples/workflow-applicant-request, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir xstate/examples/workflow-async-function, run yarn install --ignore-engines --ignore-scripts --silent
    22. In dir xstate/examples/workflow-async-subflow, run yarn install --ignore-engines --ignore-scripts --silent
    23. In dir xstate/examples/workflow-book-lending, run yarn install --ignore-engines --ignore-scripts --silent
    24. In dir xstate/examples/workflow-car-auction-bids, run yarn install --ignore-engines --ignore-scripts --silent
    25. In dir xstate/examples/workflow-car-vitals, run yarn install --ignore-engines --ignore-scripts --silent
    26. In dir xstate/examples/workflow-check-inbox, run yarn install --ignore-engines --ignore-scripts --silent
    27. In dir xstate/examples/workflow-credit-check, run yarn install --ignore-engines --ignore-scripts --silent
    28. In dir xstate/examples/workflow-event-based-service, run yarn install --ignore-engines --ignore-scripts --silent
    29. In dir xstate/examples/workflow-event-based, run yarn install --ignore-engines --ignore-scripts --silent
    30. In dir xstate/examples/workflow-event-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    31. In dir xstate/examples/workflow-filling-water, run yarn install --ignore-engines --ignore-scripts --silent
    32. In dir xstate/examples/workflow-finalize-college-app, run yarn install --ignore-engines --ignore-scripts --silent
    33. In dir xstate/examples/workflow-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    34. In dir xstate/examples/workflow-hello, run yarn install --ignore-engines --ignore-scripts --silent
    35. In dir xstate/examples/workflow-math-problem, run yarn install --ignore-engines --ignore-scripts --silent
    36. In dir xstate/examples/workflow-monitor-job, run yarn install --ignore-engines --ignore-scripts --silent
    37. In dir xstate/examples/workflow-monitor-patient, run yarn install --ignore-engines --ignore-scripts --silent
    38. In dir xstate/examples/workflow-new-patient-onboarding, run yarn install --ignore-engines --ignore-scripts --silent
    39. In dir xstate/examples/workflow-parallel, run yarn install --ignore-engines --ignore-scripts --silent
    40. In dir xstate/examples/workflow-provision-orders, run yarn install --ignore-engines --ignore-scripts --silent
    41. In dir xstate/examples/workflow-purchase-order-deadline, run yarn install --ignore-engines --ignore-scripts --silent
    42. In dir xstate/examples/workflow-reusing-functions, run yarn install --ignore-engines --ignore-scripts --silent
    43. In dir xstate/examples/workflow-send-cloudevent, run yarn install --ignore-engines --ignore-scripts --silent
    44. In dir xstate, run yarn install --ignore-engines --ignore-scripts --silent
    45. In dir xstate/templates/react-ts, run yarn install --ignore-engines --ignore-scripts --silent
    46. In dir xstate/templates/svelte-ts, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    47. In dir xstate/templates/vanilla-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 1 year ago

TypeError: Cannot read properties of undefined (reading 'flags')

Req #105 - completionInfo
    at getSymbolLinks (/typescript-5.3.0-dev.20231022/lib/tsserver.js:49281:16)
    at runWithoutResolvedSignatureCaching (/typescript-5.3.0-dev.20231022/lib/tsserver.js:48360:32)
    at runWithInferenceBlockedFromSourceNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:48388:20)
    at Object.getContextualType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:48097:16)
    at getContextualType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158692:19)
    at getCompletionData (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158923:43)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20231022/lib/tsserver.js:156903:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144743:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20231022/lib/tsserver.js:184254:54)
    at completionInfo (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182650:43)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

kamranahmedse/driver.js Raw error text: RepoResults6/kamranahmedse.driver.js.rawError.txt in the artifact folder

Last few requests

```json {"seq":102,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/events.ts","line":74,"offset":33,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":103,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/events.ts","line":74,"offset":33,"entryNames":["AbortController"]}} {"seq":104,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/events.ts","line":75,"offset":4}} {"seq":105,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/events.ts","line":75,"offset":21,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/kamranahmedse/driver.js --recurse-submodules
  2. In dir driver.js, run git reset --hard 124a216beeb8e84c5970b24294dce6582600b72c
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir driver.js/docs, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    2. In dir driver.js, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults6/kamranahmedse.driver.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./driver.js ./kamranahmedse.driver.js.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 #3817 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:149822:13)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:155650:38
    at importSymbols (/typescript-5.3.0-dev.20231022/lib/tsserver.js:155650:11)
    at Object.addNewNodeForMemberSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:155072:11)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157839:22)
    at createCompletionEntry (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157723:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158307:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157379:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20231022/lib/tsserver.js:156921:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144743:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20231022/lib/tsserver.js:184254:54)
    at completionInfo (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182650:43)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

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

Last few requests

```json {"seq":3814,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/tabby-terminal/src/api/connectableTerminalTab.component.ts","line":15,"offset":1}} {"seq":3815,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-terminal/src/api/connectableTerminalTab.component.ts","line":15,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3816,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tabby-terminal/src/api/connectableTerminalTab.component.ts","line":15,"offset":1,"entryNames":["_"]}} {"seq":3817,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tabby-terminal/src/api/connectableTerminalTab.component.ts","line":40,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/Eugeny/tabby --recurse-submodules
  2. In dir tabby, run git reset --hard 6a458d8b9bcfbd4fafff549f9af98059aef03c85
  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 #7833 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171148:13)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171057:9)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170996:9
    at visitNode2 (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30185:18)
    at forEachChildInPropertySignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30241:92)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30300:12)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170996:9
    at visitNode2 (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30185:18)
    at forEachChildInParameter (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30235:177)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInMethodSignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30267:186)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30300:12)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30649:10)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170996:9
    at visitNode2 (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30185:18)
    at forEachChildInParameter (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30235:177)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at processChildNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171072:7)
    at processChildNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:171115:32)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:171009:9
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30190:14)
    at forEachChildInMethodDeclaration (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30264:273)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at processNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170993:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170795:5)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:170735:105
    at getFormattingScanner (/typescript-5.3.0-dev.20231022/lib/tsserver.js:169538:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20231022/lib/tsserver.js:170735:10)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:158138:36
    at flatMap (/typescript-5.3.0-dev.20231022/lib/tsserver.js:2597:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158136:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157899:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157723:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20231022/lib/tsserver.js:158307:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20231022/lib/tsserver.js:157379:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20231022/lib/tsserver.js:156921:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144743:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20231022/lib/tsserver.js:184254:54)
    at completionInfo (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182650:43)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

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

Last few requests

```json {"seq":7830,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Panel.tsx"}},"skipDestructiveCodeActions":true}} {"seq":7831,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Panel.tsx"}} {"seq":7832,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Panel.tsx","line":38,"offset":41,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":7833,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Panel.tsx","line":87,"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 aabc6160519a32c95c25f73d77d10ab158d3d1b4
  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 RepoResults8/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

TypeError: Cannot read properties of undefined (reading 'sourceFile')

Req #2048 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.3.0-dev.20231022/lib/tsserver.js:135554:18)
    at getDocumentRegistryEntry (/typescript-5.3.0-dev.20231022/lib/tsserver.js:135630:19)
    at Object.releaseDocumentWithKey (/typescript-5.3.0-dev.20231022/lib/tsserver.js:135725:19)
    at Object.onReleaseOldSourceFile (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144613:24)
    at createProgram (/typescript-5.3.0-dev.20231022/lib/tsserver.js:121181:14)
    at synchronizeHostData (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144571:15)
    at Object.getProgram (/typescript-5.3.0-dev.20231022/lib/tsserver.js:144645:5)
    at ConfiguredProject2.updateGraphWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:177043:41)
    at ConfiguredProject2.updateGraph (/typescript-5.3.0-dev.20231022/lib/tsserver.js:176894:32)
    at ConfiguredProject2.updateGraph (/typescript-5.3.0-dev.20231022/lib/tsserver.js:178146:24)
    at updateProjectIfDirty (/typescript-5.3.0-dev.20231022/lib/tsserver.js:178605:35)
    at _ProjectService.assignProjectToOpenedScriptInfo (/typescript-5.3.0-dev.20231022/lib/tsserver.js:180961:11)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:181238:64
    at flatMap (/typescript-5.3.0-dev.20231022/lib/tsserver.js:2597:17)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.3.0-dev.20231022/lib/tsserver.js:181238:24)
    at updateOpen (/typescript-5.3.0-dev.20231022/lib/tsserver.js:182436:29)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185030:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185038:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20231022/lib/tsserver.js:185080:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20231022/lib/tsserver.js:186638:14)

Affected repos

n8n-io/n8n Raw error text: RepoResults2/n8n-io.n8n.rawError.txt in the artifact folder

Last few requests

```json {"seq":2045,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/cli/src/services/orchestration/webhook/orchestration.handler.webhook.service.ts","line":6,"offset":1}} {"seq":2046,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/cli/src/services/orchestration/webhook/orchestration.handler.webhook.service.ts","line":6,"offset":1}} {"seq":2047,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/cli/src/Server.ts"],"openFiles":[]}} {"seq":2048,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/cli/src/services/orchestration/webhook/orchestration.webhook.service.ts","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/n8n-io/n8n --recurse-submodules
  2. In dir n8n, run git reset --hard 76c04815f7f53bf6b4c06bbe5afa52f51f28750d
  3. In dir n8n, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults2/n8n-io.n8n.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./n8n ./n8n-io.n8n.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

TypeError: Cannot read properties of undefined (reading 'id')

Req #1754 - definitionAndBoundSpan
    at getNodeId (/typescript-5.3.0-dev.20231022/lib/tsserver.js:47871:13)
    at getNodeLinks (/typescript-5.3.0-dev.20231022/lib/tsserver.js:49287:20)
    at getSignatureFromDeclaration (/typescript-5.3.0-dev.20231022/lib/tsserver.js:59818:19)
    at addPropertyToElementList (/typescript-5.3.0-dev.20231022/lib/tsserver.js:53235:35)
    at createTypeNodesFromResolvedType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:53176:11)
    at createTypeNodeFromObjectType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52978:25)
    at visitAndTransformType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52914:24)
    at createAnonymousTypeNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52849:20)
    at typeToTypeNodeWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52663:16)
    at typeToTypeNodeHelper (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52443:24)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:52378:134
    at withContext (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52430:29)
    at Object.typeToTypeNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52378:71)
    at typeToString (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52331:34)
    at reportNonexistentProperty (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74672:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74503:11)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:94)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkNonNullExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74209:29)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:162)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkNonNullExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74209:29)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:162)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at resolveCallExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76194:20)
    at resolveSignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76654:16)
    at getResolvedSignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76676:18)
    at checkCallExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76788:23)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:80000:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkExpressionCached (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79579:28)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:78119:20
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16559:16)
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30193:22)
    at forEachChildInBlock (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30662:10)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16575:16)
    at forEachReturnStatement (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16555:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:78100:5)
    at getReturnTypeFromBody (/typescript-5.3.0-dev.20231022/lib/tsserver.js:77906:21)
    at getTypeOfAccessors (/typescript-5.3.0-dev.20231022/lib/tsserver.js:57187:234)
    at getTypeOfSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:57384:14)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74530:145)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:94)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkNonNullExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74209:29)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:162)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at resolveCallExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76194:20)
    at resolveSignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76654:16)
    at getResolvedSignature (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76676:18)
    at checkCallExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:76788:23)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:80000:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkExpressionCached (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79579:28)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:78119:20
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16559:16)
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30193:22)
    at forEachChildInBlock (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30662:10)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16575:16)
    at forEachReturnStatement (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16555:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:78100:5)
    at getReturnTypeFromBody (/typescript-5.3.0-dev.20231022/lib/tsserver.js:77906:21)
    at getTypeOfAccessors (/typescript-5.3.0-dev.20231022/lib/tsserver.js:57187:234)
    at getTypeOfSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:57384:14)
    at getNonMissingTypeOfSymbol (/typescript-5.3.0-dev.20231022/lib/tsserver.js:57392:30)
    at addPropertyToElementList (/typescript-5.3.0-dev.20231022/lib/tsserver.js:53199:97)
    at createTypeNodesFromResolvedType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:53176:11)
    at createTypeNodeFromObjectType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52978:25)
    at visitAndTransformType (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52914:24)
    at createAnonymousTypeNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52849:20)
    at typeToTypeNodeWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52663:16)
    at typeToTypeNodeHelper (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52443:24)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:52378:134
    at withContext (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52430:29)
    at Object.typeToTypeNode (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52378:71)
    at typeToString (/typescript-5.3.0-dev.20231022/lib/tsserver.js:52331:34)
    at reportNonexistentProperty (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74672:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74503:11)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:94)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkNonNullExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74209:29)
    at checkPropertyAccessExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:74288:162)
    at checkExpressionWorker (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79990:16)
    at checkExpression (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79906:32)
    at checkExpressionCached (/typescript-5.3.0-dev.20231022/lib/tsserver.js:79579:28)
    at /typescript-5.3.0-dev.20231022/lib/tsserver.js:78119:20
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16559:16)
    at visitNodes (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30193:22)
    at forEachChildInBlock (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30662:10)
    at forEachChild (/typescript-5.3.0-dev.20231022/lib/tsserver.js:30702:35)
    at traverse (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16575:16)
    at forEachReturnStatement (/typescript-5.3.0-dev.20231022/lib/tsserver.js:16555:10)

Affected repos

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

Last few requests

```json {"seq":1751,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/cjs/rx-document.js","line":16,"offset":31,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1752,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/cjs/rx-document.js","line":16,"offset":31,"entryNames":["change-event-buffer.js"]}} {"seq":1753,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/cjs/rx-document.js","line":18,"offset":52,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":1754,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/cjs/rx-document.js","line":33,"offset":30}} ```

Repro steps

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