microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.5.0-dev.20240428 #58349

Closed typescript-bot closed 1 week ago

typescript-bot commented 2 weeks ago

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

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

Successfully analyzed 293 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 9 | | Detected no interesting changes | 284 | | Unknown failure | 7 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
131f67bf6bdec442525c9dc5fd5fdbaa 1
564c2133bc1e3c34d5fa38f5b4943fac 1
58ea0ed8d1195710db0fbac4e8a0687e 1
81be583824a16f7ef8d0ab9d94f4230d 1
aa5d097697cdf87e957a469b558b580e 1
c3022eaad0f719944eaf0cd82b0eceb0 1
e99de9bf7430be8d7c4611fbcb74567b 1
e99de9bf7430be8d7c4611fbcb74567b 1
typescript-bot commented 2 weeks ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

```json {"seq":21857,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14787,"offset":23,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":21858,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14787,"offset":23,"entryNames":["$"]}} {"seq":21859,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14809,"offset":26,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":21860,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14847,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/tastejs/todomvc --recurse-submodules
  2. In dir todomvc, run git reset --hard feccc2de4bf7a6a7829e0520e4c015ce84a2e6d5
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir todomvc, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir todomvc/tooling, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    3. In dir todomvc/tests, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir todomvc/tasks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    5. In dir todomvc/examples/web-components, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    6. In dir todomvc/examples/vue, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    7. In dir todomvc/examples/typescript-react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    8. In dir todomvc/examples/typescript-backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    9. In dir todomvc/examples/typescript-angular, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    10. In dir todomvc/examples/svelte, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    11. In dir todomvc/examples/riotjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    12. In dir todomvc/examples/reagent, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    13. In dir todomvc/examples/react-redux, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    14. In dir todomvc/examples/react, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    15. In dir todomvc/examples/ractive, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    16. In dir todomvc/examples/preact, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    17. In dir todomvc/examples/polymer, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    18. In dir todomvc/examples/mithril, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    19. In dir todomvc/examples/lit, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    20. In dir todomvc/examples/lavaca_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    21. In dir todomvc/examples/knockoutjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    22. In dir todomvc/examples/knockoutjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    23. In dir todomvc/examples/knockback, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    24. In dir todomvc/examples/jsblocks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    25. In dir todomvc/examples/js_of_ocaml, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    26. In dir todomvc/examples/jquery, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    27. In dir todomvc/examples/javascript-es6, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    28. In dir todomvc/examples/javascript-es5, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    29. In dir todomvc/examples/gwt, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    30. In dir todomvc/examples/exoskeleton, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    31. In dir todomvc/examples/enyo_backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    32. In dir todomvc/examples/emberjs/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    33. In dir todomvc/examples/elm, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    34. In dir todomvc/examples/duel, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    35. In dir todomvc/examples/dojo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    36. In dir todomvc/examples/dijon, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    37. In dir todomvc/examples/cujo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    38. In dir todomvc/examples/closure, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    39. In dir todomvc/examples/canjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    40. In dir todomvc/examples/canjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    41. In dir todomvc/examples/binding-scala, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    42. In dir todomvc/examples/backbone_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    43. In dir todomvc/examples/backbone_marionette, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    44. In dir todomvc/examples/backbone, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    45. In dir todomvc/examples/aurelia, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    46. In dir todomvc/examples/angularjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    47. In dir todomvc/examples/angularjs_require/test, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    48. In dir todomvc/examples/angular-dart, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    49. In dir todomvc/examples/angular, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    50. In dir todomvc/bower_components/webcomponentsjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    51. In dir todomvc/bower_components/bootstrap, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults3/tastejs.todomvc.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./todomvc ./tastejs.todomvc.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 2 weeks ago

Error: Debug Failure. Expected 6 < 6.

Req #6172 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172455:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172472:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:172445:16)
    at getContextualType (/typescript-5.5.0-dev.20240428/lib/typescript.js:164044:48)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164283:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":6169,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4184,"offset":30,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":6170,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4197,"offset":23}} {"seq":6171,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4207,"offset":7}} {"seq":6172,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/assets/resources/scriptlets.js","line":4257,"offset":74,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 2 weeks ago

Error: Debug Failure. Expected 1 < 1.

Req #1169 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172455:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172472:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:172445:16)
    at getContextualType (/typescript-5.5.0-dev.20240428/lib/typescript.js:164044:48)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164283:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

hapijs/joi Raw error text: RepoResults6/hapijs.joi.rawError.txt in the artifact folder

Last few requests

```json {"seq":1166,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/lib/index.js","line":134,"offset":34}} {"seq":1167,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/index.js","line":157,"offset":18,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":1168,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/index.js","line":220,"offset":83,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":1169,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/index.js","line":258,"offset":43,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 2 weeks ago

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

Req #725 - references
    at addSyntheticNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:148380:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240428/lib/typescript.js:148395:5)
    at processNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:148360:19)
    at visitNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:31865:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240428/lib/typescript.js:32017:12)
    at forEachChild (/typescript-5.5.0-dev.20240428/lib/typescript.js:32381:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240428/lib/typescript.js:148340:12)
    at createChildren (/typescript-5.5.0-dev.20240428/lib/typescript.js:148365:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240428/lib/typescript.js:148319:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240428/lib/typescript.js:136538:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240428/lib/typescript.js:136511:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240428/lib/typescript.js:136508:10)
    at getReferencesAtLocation (/typescript-5.5.0-dev.20240428/lib/typescript.js:168690:31)
    at getReferencesInContainer (/typescript-5.5.0-dev.20240428/lib/typescript.js:168683:7)
    at getReferencesInSourceFile (/typescript-5.5.0-dev.20240428/lib/typescript.js:168676:12)
    at searchForName (/typescript-5.5.0-dev.20240428/lib/typescript.js:168484:7)
    at getReferencesInContainerOrFiles (/typescript-5.5.0-dev.20240428/lib/typescript.js:168277:9)
    at getReferencedSymbolsForSymbol (/typescript-5.5.0-dev.20240428/lib/typescript.js:168259:7)
    at Object.getReferencedSymbolsForNode (/typescript-5.5.0-dev.20240428/lib/typescript.js:168006:24)
    at Object.findReferencedSymbols (/typescript-5.5.0-dev.20240428/lib/typescript.js:167588:34)
    at Object.findReferences (/typescript-5.5.0-dev.20240428/lib/typescript.js:149636:41)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:188108:43
    at searchPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:188258:28)
    at getPerProjectReferences (/typescript-5.5.0-dev.20240428/lib/typescript.js:188235:32)
    at getReferencesWorker (/typescript-5.5.0-dev.20240428/lib/typescript.js:188100:29)
    at IOSession.getReferences (/typescript-5.5.0-dev.20240428/lib/typescript.js:190022:24)
    at references (/typescript-5.5.0-dev.20240428/lib/typescript.js:188539:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

HumanSignal/label-studio Raw error text: RepoResults8/HumanSignal.label-studio.rawError.txt in the artifact folder

Last few requests

```json {"seq":722,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127257}} {"seq":723,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127257,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":724,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127288,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":725,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/datamanager/main.js","line":2,"offset":127909}} ```

Repro steps

  1. git clone https://github.com/HumanSignal/label-studio --recurse-submodules
  2. In dir label-studio, run git reset --hard a0b30e92e0d677143f85bc3c6eb8030cf1bf14d9
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir label-studio/web, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir label-studio/web/tools/version, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir label-studio/web/libs/frontend-test/src/bin/assets, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir label-studio/web/libs/editor/tests/e2e, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir label-studio/docs, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults8/HumanSignal.label-studio.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./label-studio ./HumanSignal.label-studio.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 2 weeks ago

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

Req #942 - definitionAndBoundSpan
    at addSyntheticNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:148380:15)
    at createSyntaxList (/typescript-5.5.0-dev.20240428/lib/typescript.js:148395:5)
    at processNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:148360:19)
    at visitNodes (/typescript-5.5.0-dev.20240428/lib/typescript.js:31865:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.5.0-dev.20240428/lib/typescript.js:32017:12)
    at forEachChild (/typescript-5.5.0-dev.20240428/lib/typescript.js:32381:35)
    at NodeObject.forEachChild (/typescript-5.5.0-dev.20240428/lib/typescript.js:148340:12)
    at createChildren (/typescript-5.5.0-dev.20240428/lib/typescript.js:148365:8)
    at NodeObject.getChildren (/typescript-5.5.0-dev.20240428/lib/typescript.js:148319:59)
    at getTokenAtPositionWorker (/typescript-5.5.0-dev.20240428/lib/typescript.js:136538:32)
    at getTouchingToken (/typescript-5.5.0-dev.20240428/lib/typescript.js:136511:10)
    at getTouchingPropertyName (/typescript-5.5.0-dev.20240428/lib/typescript.js:136508:10)
    at getDefinitionAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:169407:16)
    at Object.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240428/lib/typescript.js:169728:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149585:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.5.0-dev.20240428/lib/typescript.js:189515:73)
    at definitionAndBoundSpan (/typescript-5.5.0-dev.20240428/lib/typescript.js:188502:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":939,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":8507,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":940,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":8550,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":941,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":8550,"entryNames":["a"]}} {"seq":942,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/lib/html-entities.js","line":1,"offset":10199}} ```

Repro steps

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

typescript-bot commented 2 weeks ago

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

Req #2452 - completionInfo
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:138963:13
    at firstDefined (/typescript-5.5.0-dev.20240428/lib/typescript.js:2406:20)
    at getNameForExportDefault (/typescript-5.5.0-dev.20240428/lib/typescript.js:138958:33)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240428/lib/typescript.js:138943:16)
    at getDefaultExportInfoWorker (/typescript-5.5.0-dev.20240428/lib/typescript.js:138949:14)
    at getDefaultLikeExportInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:138925:16)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:138884:29
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:138785:119
    at forEachExternalModule (/typescript-5.5.0-dev.20240428/lib/typescript.js:138846:7)
    at forEachExternalModuleToImportFrom (/typescript-5.5.0-dev.20240428/lib/typescript.js:138785:3)
    at getExportInfoMap (/typescript-5.5.0-dev.20240428/lib/typescript.js:138873:5)
    at collectAutoImports (/typescript-5.5.0-dev.20240428/lib/typescript.js:164668:24)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:164602:5)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240428/lib/typescript.js:164530:397)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164278:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

framework7io/framework7 Raw error text: RepoResults7/framework7io.framework7.rawError.txt in the artifact folder

Last few requests

```json {"seq":2449,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/tab.js","line":101,"offset":88}} {"seq":2450,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/tab.js","line":112,"offset":25}} {"seq":2451,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/tab.js","line":123,"offset":1}} {"seq":2452,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/modules/router/tab.js","line":136,"offset":14,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 2 weeks ago

Error: Debug Failure. Expected 2 < 2.

Req #26410 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172455:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:172472:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:172445:16)
    at getContextualType (/typescript-5.5.0-dev.20240428/lib/typescript.js:164044:48)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164283:43)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

jgraph/drawio-desktop Raw error text: RepoResults2/jgraph.drawio-desktop.rawError.txt in the artifact folder

Last few requests

```json {"seq":26407,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-chtml-full-speech.js","line":34,"offset":276750,"entryNames":["__webpack_exports__"]}} {"seq":26408,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-chtml-full-speech.js","line":34,"offset":277504}} {"seq":26409,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-chtml-full-speech.js","line":34,"offset":277856,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":26410,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drawio/src/main/webapp/math/es5/tex-chtml-full-speech.js","line":34,"offset":280566,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

Error: Debug Failure.

Req #6001 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240428/lib/typescript.js:17967:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240428/lib/typescript.js:74680:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240428/lib/typescript.js:50598:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:164588:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240428/lib/typescript.js:164530:397)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164278:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

JacksonTian/fks Raw error text: RepoResults7/JacksonTian.fks.rawError.txt in the artifact folder

Last few requests

```json {"seq":5998,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20866,"offset":4}} {"seq":5999,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20868,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6000,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20868,"offset":1,"entryNames":["@abstract"]}} {"seq":6001,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/fks_chart/bower_components/angular/angular.js","line":20911,"offset":34,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} ```

Repro steps

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

typescript-bot commented 2 weeks ago

Error: Debug Failure.

Req #6083 - completionInfo
    at getThisContainer (/typescript-5.5.0-dev.20240428/lib/typescript.js:17967:20)
    at tryGetThisTypeAt (/typescript-5.5.0-dev.20240428/lib/typescript.js:74680:73)
    at Object.tryGetThisTypeAt (/typescript-5.5.0-dev.20240428/lib/typescript.js:50598:22)
    at getGlobalCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:164588:36)
    at tryGetGlobalSymbols (/typescript-5.5.0-dev.20240428/lib/typescript.js:164530:397)
    at getCompletionData (/typescript-5.5.0-dev.20240428/lib/typescript.js:164278:10)
    at Object.getCompletionsAtPosition (/typescript-5.5.0-dev.20240428/lib/typescript.js:162226:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.5.0-dev.20240428/lib/typescript.js:149479:35)
    at IOSession.getCompletions (/typescript-5.5.0-dev.20240428/lib/typescript.js:190270:54)
    at completionInfo (/typescript-5.5.0-dev.20240428/lib/typescript.js:188658:43)
    at /typescript-5.5.0-dev.20240428/lib/typescript.js:191055:69
    at IOSession.executeWithRequestId (/typescript-5.5.0-dev.20240428/lib/typescript.js:191047:14)
    at IOSession.executeCommand (/typescript-5.5.0-dev.20240428/lib/typescript.js:191055:29)
    at IOSession.onMessage (/typescript-5.5.0-dev.20240428/lib/typescript.js:191097:51)
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240428/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":6080,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24209,"offset":4,"entryNames":["@abstract"]}} {"seq":6081,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24227,"offset":7,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":6082,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24227,"offset":7,"entryNames":["@abstract"]}} {"seq":6083,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/spreadsheet/code/lib/angular.js","line":24262,"offset":55,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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