microsoft / TypeScript

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

[ServerErrors] 4.9.0-dev.20220912 #50744

Closed typescript-bot closed 1 year ago

typescript-bot commented 2 years ago

The following errors were reported by 4.9.0-dev.20220912 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 192 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 12 | | Detected no interesting changes | 180 | | Git clone failed | 2 | | Unknown failure | 6 |

alibaba/ice

Repro Steps

  1. git clone https://github.com/alibaba/ice
  2. In dir ice, run git reset --hard 0f640e788d1e10688d60ef98c1d22fa483fce1a5
  3. Install packages
    1. In dir ice/examples/basic-auth, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir ice/examples/basic-disable-runtime, run yarn install --silent --ignore-engines --ignore-scripts
    3. In dir ice/examples/basic-i18n, run yarn install --silent --ignore-engines --ignore-scripts
    4. In dir ice/examples/basic-keep-alive, run yarn install --silent --ignore-engines --ignore-scripts
    5. In dir ice/examples/basic-mpa-vite, run yarn install --silent --ignore-engines --ignore-scripts
    6. In dir ice/examples/basic-mpa-webpack, run yarn install --silent --ignore-engines --ignore-scripts
    7. In dir ice/examples/basic-mpa-with-swc, run yarn install --silent --ignore-engines --ignore-scripts
    8. In dir ice/examples/basic-nested-store, run yarn install --silent --ignore-engines --ignore-scripts
    9. In dir ice/examples/basic-pwa, run yarn install --silent --ignore-engines --ignore-scripts
    10. In dir ice/examples/basic-request, run yarn install --silent --ignore-engines --ignore-scripts
    11. In dir ice/examples/basic-service, run yarn install --silent --ignore-engines --ignore-scripts
    12. In dir ice/examples/basic-spa, run yarn install --silent --ignore-engines --ignore-scripts
    13. In dir ice/examples/basic-ssr-with-lazy-load, run yarn install --silent --ignore-engines --ignore-scripts
    14. In dir ice/examples/basic-ssr, run yarn install --silent --ignore-engines --ignore-scripts
    15. In dir ice/examples/basic-store, run yarn install --silent --ignore-engines --ignore-scripts
    16. In dir ice/examples/basic-vite-ssr, run yarn install --silent --ignore-engines --ignore-scripts
    17. In dir ice/examples/basic-vite, run yarn install --silent --ignore-engines --ignore-scripts
    18. In dir ice/examples/dts-generation, run yarn install --silent --ignore-engines --ignore-scripts
    19. In dir ice/examples/hello-world, run yarn install --silent --ignore-engines --ignore-scripts
    20. In dir ice/examples/icestark-child, run yarn install --silent --ignore-engines --ignore-scripts
    21. In dir ice/examples/icestark-layout, run yarn install --silent --ignore-engines --ignore-scripts
    22. In dir ice/examples/simple, run yarn install --silent --ignore-engines --ignore-scripts
    23. In dir ice/examples/spa-renderComponent, run yarn install --silent --ignore-engines --ignore-scripts
    24. In dir ice/examples/with-fusion-design, run yarn install --silent --ignore-engines --ignore-scripts
    25. In dir ice/examples/with-multi-themes, run yarn install --silent --ignore-engines --ignore-scripts
    26. In dir ice/examples/with-prerender-mpa, run yarn install --silent --ignore-engines --ignore-scripts
    27. In dir ice/examples/with-prerender-spa, run yarn install --silent --ignore-engines --ignore-scripts
    28. In dir ice/examples/with-react-miniapp-store, run yarn install --silent --ignore-engines --ignore-scripts
    29. In dir ice/examples/with-react-miniapp-todos, run yarn install --silent --ignore-engines --ignore-scripts
    30. In dir ice/examples/with-react-miniapp, run yarn install --silent --ignore-engines --ignore-scripts
    31. In dir ice/examples/with-rematch, run yarn install --silent --ignore-engines --ignore-scripts
    32. In dir ice/examples/without-react-router, run yarn install --silent --ignore-engines --ignore-scripts
    33. In dir ice, run yarn install --silent --ignore-engines --ignore-scripts
    34. In dir ice/packages/build-app-helpers, run yarn install --silent --ignore-engines --ignore-scripts
    35. In dir ice/packages/build-app-templates, run yarn install --silent --ignore-engines --ignore-scripts
    36. In dir ice/packages/build-babel-config, run yarn install --silent --ignore-engines --ignore-scripts
    37. In dir ice/packages/build-jest-config, run yarn install --silent --ignore-engines --ignore-scripts
    38. In dir ice/packages/build-mpa-config, run yarn install --silent --ignore-engines --ignore-scripts
    39. In dir ice/packages/build-user-config, run yarn install --silent --ignore-engines --ignore-scripts
    40. In dir ice/packages/build-webpack-config, run yarn install --silent --ignore-engines --ignore-scripts
    41. In dir ice/packages/create-app-container, run yarn install --silent --ignore-engines --ignore-scripts
    42. In dir ice/packages/create-app-shared, run yarn install --silent --ignore-engines --ignore-scripts
    43. In dir ice/packages/create-cli-utils, run yarn install --silent --ignore-engines --ignore-scripts
    44. In dir ice/packages/create-ice, run yarn install --silent --ignore-engines --ignore-scripts
    45. In dir ice/packages/icejs, run yarn install --silent --ignore-engines --ignore-scripts
    46. In dir ice/packages/miniapp-renderer, run yarn install --silent --ignore-engines --ignore-scripts
    47. In dir ice/packages/plugin-antd, run yarn install --silent --ignore-engines --ignore-scripts
    48. In dir ice/packages/plugin-app-core, run yarn install --silent --ignore-engines --ignore-scripts
    49. In dir ice/packages/plugin-auth, run yarn install --silent --ignore-engines --ignore-scripts
    50. In dir ice/packages/plugin-config, run yarn install --silent --ignore-engines --ignore-scripts
    51. In dir ice/packages/plugin-css-assets-local, run yarn install --silent --ignore-engines --ignore-scripts
    52. In dir ice/packages/plugin-dev-inspector, run yarn install --silent --ignore-engines --ignore-scripts
    53. In dir ice/packages/plugin-faas, run yarn install --silent --ignore-engines --ignore-scripts
    54. In dir ice/packages/plugin-fusion, run yarn install --silent --ignore-engines --ignore-scripts
    55. In dir ice/packages/plugin-helmet, run yarn install --silent --ignore-engines --ignore-scripts
    56. In dir ice/packages/plugin-i18n, run yarn install --silent --ignore-engines --ignore-scripts
    57. In dir ice/packages/plugin-ice-ssr, run yarn install --silent --ignore-engines --ignore-scripts
    58. In dir ice/packages/plugin-icestark, run yarn install --silent --ignore-engines --ignore-scripts
    59. In dir ice/packages/plugin-ignore-style, run yarn install --silent --ignore-engines --ignore-scripts
    60. In dir ice/packages/plugin-jsx-plus, run yarn install --silent --ignore-engines --ignore-scripts
    61. In dir ice/packages/plugin-keep-alive, run yarn install --silent --ignore-engines --ignore-scripts
    62. In dir ice/packages/plugin-load-assets, run yarn install --silent --ignore-engines --ignore-scripts
    63. In dir ice/packages/plugin-logger, run yarn install --silent --ignore-engines --ignore-scripts
    64. In dir ice/packages/plugin-modular-import, run yarn install --silent --ignore-engines --ignore-scripts
    65. In dir ice/packages/plugin-moment-locales, run yarn install --silent --ignore-engines --ignore-scripts
    66. In dir ice/packages/plugin-mpa, run yarn install --silent --ignore-engines --ignore-scripts
    67. In dir ice/packages/plugin-pwa, run yarn install --silent --ignore-engines --ignore-scripts
    68. In dir ice/packages/plugin-react-app, run yarn install --silent --ignore-engines --ignore-scripts
    69. In dir ice/packages/plugin-rematch, run yarn install --silent --ignore-engines --ignore-scripts
    70. In dir ice/packages/plugin-request, run yarn install --silent --ignore-engines --ignore-scripts
    71. In dir ice/packages/plugin-router, run yarn install --silent --ignore-engines --ignore-scripts
    72. In dir ice/packages/plugin-service, run yarn install --silent --ignore-engines --ignore-scripts
    73. In dir ice/packages/plugin-smart-debug, run yarn install --silent --ignore-engines --ignore-scripts
    74. In dir ice/packages/plugin-speed, run yarn install --silent --ignore-engines --ignore-scripts
    75. In dir ice/packages/plugin-stark-module, run yarn install --silent --ignore-engines --ignore-scripts
    76. In dir ice/packages/plugin-store, run yarn install --silent --ignore-engines --ignore-scripts
    77. In dir ice/packages/plugin-theme, run yarn install --silent --ignore-engines --ignore-scripts
    78. In dir ice/packages/plugin-wrap-code, run yarn install --silent --ignore-engines --ignore-scripts
    79. In dir ice/packages/react-app-renderer, run yarn install --silent --ignore-engines --ignore-scripts
    80. In dir ice/packages/resolve-sass-import, run yarn install --silent --ignore-engines --ignore-scripts
    81. In dir ice/packages/runtime, run yarn install --silent --ignore-engines --ignore-scripts
    82. In dir ice/packages/swc-loader, run yarn install --silent --ignore-engines --ignore-scripts
    83. In dir ice/packages/vite-plugin-component-style, run yarn install --silent --ignore-engines --ignore-scripts
    84. In dir ice/packages/vite-plugin-eslint-report, run yarn install --silent --ignore-engines --ignore-scripts
    85. In dir ice/packages/vite-plugin-index-html, run yarn install --silent --ignore-engines --ignore-scripts
    86. In dir ice/packages/vite-plugin-ts-checker, run yarn install --silent --ignore-engines --ignore-scripts
    87. In dir ice/packages/vite-service, run yarn install --silent --ignore-engines --ignore-scripts
    88. In dir ice/packages/webpack-dev-mock, run yarn install --silent --ignore-engines --ignore-scripts
    89. In dir ice/packages/webpack-loader-skin, run yarn install --silent --ignore-engines --ignore-scripts
    90. In dir ice/packages/webpack-plugin-extract-css-assets, run yarn install --silent --ignore-engines --ignore-scripts
    91. In dir ice/packages/webpack-plugin-import, run yarn install --silent --ignore-engines --ignore-scripts
    92. In dir ice/packages/webpack-plugin-query-loader, run yarn install --silent --ignore-engines --ignore-scripts
    93. In dir ice/packages/webpack-plugin-swc, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults5/alibaba.ice.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./ice ./alibaba.ice.replay.txt path/to/tsserver.js
Last few requests ```json {"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]} {"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}} {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/babel.config.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Error

> 
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Exited unexpectedly > ```

apache/echarts

Repro Steps

  1. git clone https://github.com/apache/echarts
  2. In dir echarts, run git reset --hard 29a4fe91f7cf59ea347e066bb241346f0b1bde75
  3. Install packages
    1. In dir echarts, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir echarts/test/runTest, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. 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
Last few requests ```json {"seq":8647,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.esm.js","line":54608,"offset":65,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}} {"seq":8648,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.esm.js","line":54611,"offset":11}} {"seq":8649,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.esm.js","line":54636,"offset":56}} {"seq":8650,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/dist/echarts.esm.js","line":54640,"offset":21}} ```

Error

>     at formatMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178020:29)
>     at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179096:31)
>     at IOSession.Session.send (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179093:22)
>     at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179146:22)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180792:30)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) > at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) > at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) > at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

babel/babel

Repro Steps

  1. git clone https://github.com/babel/babel
  2. In dir babel, run git reset --hard 4b7047dddcb09a93bc540cd48f461a8d503ce260
  3. Download RepoResults1/babel.babel.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./babel ./babel.babel.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":1992,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/babel-parser/test/fixtures/flow/declare-export/export-interface/input.js"}} {"seq":1993,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/babel-parser/test/fixtures/flow/call-properties/3/input.js"],"openFiles":[]}} {"seq":1994,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/babel-parser/test/fixtures/flow/declare-export/export-star/input.js","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":1995,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/babel-parser/test/fixtures/flow/declare-export/export-star/input.js"}},"skipDestructiveCodeActions":true}} ```

Error

>     at getPos (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151054:22)
>     at assignPositionsToNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:152012:44)
>     at visitArrayWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:90860:48)
>     at Object.visitNodes (/typescript-4.9.0-dev.20220912/lib/tsserver.js:90823:23)
>     at assignPositionsToNodeArray (/typescript-4.9.0-dev.20220912/lib/tsserver.js:152017:30)
>     at visitEachChildOfExportDeclaration (/typescript-4.9.0-dev.20220912/lib/tsserver.js:91364:66)
>     at Object.visitEachChild (/typescript-4.9.0-dev.20220912/lib/tsserver.js:91004:42)
>     at assignPositionsToNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:152009:30)
>     at getNonformattedText (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151990:56)
>     at getFormattedTextOfNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151961:26)
>     at format (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151948:52)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:151950:78
>     at computeNewText (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151950:36)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:151915:39
>     at Object.mapDefined (/typescript-4.9.0-dev.20220912/lib/tsserver.js:621:30)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:151913:42
>     at Object.mapDefined (/typescript-4.9.0-dev.20220912/lib/tsserver.js:621:30)
>     at Object.getTextChangesFromChanges (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151899:27)
>     at ChangeTracker.getChanges (/typescript-4.9.0-dev.20220912/lib/tsserver.js:151838:45)
>     at Object.organizeImports (/typescript-4.9.0-dev.20220912/lib/tsserver.js:143807:34)
>     at Object.organizeImports (/typescript-4.9.0-dev.20220912/lib/tsserver.js:168223:39)
>     at IOSession.Session.organizeImports (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180388:60)
>     at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178843:61)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:96
>     at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180740:28)
>     at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:41)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180777:35)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - organizeImports > at getPos (/typescript-4.8.3/lib/tsserver.js:150536:22) > at assignPositionsToNode (/typescript-4.8.3/lib/tsserver.js:151494:44) > at visitArrayWorker (/typescript-4.8.3/lib/tsserver.js:90473:48) > at Object.visitNodes (/typescript-4.8.3/lib/tsserver.js:90436:23) > at assignPositionsToNodeArray (/typescript-4.8.3/lib/tsserver.js:151499:30) > at Object.visitEachChild (/typescript-4.8.3/lib/tsserver.js:90985:62) > at assignPositionsToNode (/typescript-4.8.3/lib/tsserver.js:151491:30) > at getNonformattedText (/typescript-4.8.3/lib/tsserver.js:151472:56) > at getFormattedTextOfNode (/typescript-4.8.3/lib/tsserver.js:151443:26) > at format (/typescript-4.8.3/lib/tsserver.js:151430:52) > at /typescript-4.8.3/lib/tsserver.js:151432:78 > at computeNewText (/typescript-4.8.3/lib/tsserver.js:151432:36) > at /typescript-4.8.3/lib/tsserver.js:151397:39 > at Object.mapDefined (/typescript-4.8.3/lib/tsserver.js:622:30) > at /typescript-4.8.3/lib/tsserver.js:151395:42 > at Object.mapDefined (/typescript-4.8.3/lib/tsserver.js:622:30) > at Object.getTextChangesFromChanges (/typescript-4.8.3/lib/tsserver.js:151381:27) > at ChangeTracker.getChanges (/typescript-4.8.3/lib/tsserver.js:151320:45) > at Object.organizeImports (/typescript-4.8.3/lib/tsserver.js:143322:34) > at Object.organizeImports (/typescript-4.8.3/lib/tsserver.js:167640:39) > at IOSession.Session.organizeImports (/typescript-4.8.3/lib/tsserver.js:179805:60) > at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:178260:61) > at /typescript-4.8.3/lib/tsserver.js:180166:96 > at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) > at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

desktop/desktop

Repro Steps

  1. git clone https://github.com/desktop/desktop
  2. In dir desktop, run git reset --hard e4aefa0e03ddfb9c3730660c4f11d728c1167690
  3. Install packages
    1. In dir desktop/app, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir desktop/app/static/common/choosealicense.com/assets/vendor/clipboard, run yarn install --silent --ignore-engines --ignore-scripts
    3. In dir desktop/app/static/common/choosealicense.com/assets/vendor/jquery, run yarn install --silent --ignore-engines --ignore-scripts
    4. In dir desktop/app/static/common/choosealicense.com/license-list-XML, run yarn install --silent --ignore-engines --ignore-scripts
    5. In dir desktop, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults5/desktop.desktop.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./desktop ./desktop.desktop.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":25293,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":8326,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}} {"seq":25294,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":8873,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":25295,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":8873,"entryNames":["__webpack_require__"]}} {"seq":25296,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/vendor/yarn-1.21.1.js","line":84971,"offset":9661}} ```

Error

>     at formatMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178020:29)
>     at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179096:31)
>     at IOSession.Session.send (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179093:22)
>     at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179146:22)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180792:30)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) > at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) > at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) > at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

formatjs/formatjs

Repro Steps

  1. git clone https://github.com/formatjs/formatjs
  2. In dir formatjs, run git reset --hard 4dcb1046c300f0cf9f362505f1a1e5f0edd2578b
  3. Download RepoResults7/formatjs.formatjs.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./formatjs ./formatjs.formatjs.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":4188,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-privatename-identifier-initializer-alt.js"}},"skipDestructiveCodeActions":false}} {"seq":4189,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-privatename-identifier-initializer-alt.js"}} {"seq":4190,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-privatename-identifier-initializer-alt.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":68},"end":{"line":1,"offset":68}}]}],"closedFiles":[],"openFiles":[]}} {"seq":4191,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-privatename-identifier-initializer-alt.js","line":2,"offset":78}} ```

Error

>     at addSyntheticNodes (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166650:30)
>     at createSyntaxList (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166666:13)
>     at processNodes (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166629:27)
>     at visitNodes (/typescript-4.9.0-dev.20220912/lib/tsserver.js:30980:24)
>     at forEachChildInSourceFile (/typescript-4.9.0-dev.20220912/lib/tsserver.js:31343:20)
>     at Object.forEachChild (/typescript-4.9.0-dev.20220912/lib/tsserver.js:31758:47)
>     at SourceFileObject.NodeObject.forEachChild (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166604:23)
>     at createChildren (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166638:14)
>     at SourceFileObject.NodeObject.getChildren (/typescript-4.9.0-dev.20220912/lib/tsserver.js:166581:56)
>     at _loop_1 (/typescript-4.9.0-dev.20220912/lib/tsserver.js:129458:36)
>     at getTokenAtPositionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:129515:27)
>     at getTouchingToken (/typescript-4.9.0-dev.20220912/lib/tsserver.js:129444:16)
>     at Object.getTouchingPropertyName (/typescript-4.9.0-dev.20220912/lib/tsserver.js:129436:16)
>     at getDefinitionAtPosition (/typescript-4.9.0-dev.20220912/lib/tsserver.js:141844:27)
>     at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20220912/lib/tsserver.js:142082:31)
>     at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20220912/lib/tsserver.js:167969:38)
>     at IOSession.Session.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179350:83)
>     at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178594:61)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:96
>     at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180740:28)
>     at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:41)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180777:35)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - definitionAndBoundSpan > at addSyntheticNodes (/typescript-4.8.3/lib/tsserver.js:166070:30) > at createSyntaxList (/typescript-4.8.3/lib/tsserver.js:166086:13) > at processNodes (/typescript-4.8.3/lib/tsserver.js:166049:27) > at visitNodes (/typescript-4.8.3/lib/tsserver.js:30906:24) > at Object.forEachChild (/typescript-4.8.3/lib/tsserver.js:31238:24) > at SourceFileObject.NodeObject.forEachChild (/typescript-4.8.3/lib/tsserver.js:166024:23) > at createChildren (/typescript-4.8.3/lib/tsserver.js:166058:14) > at SourceFileObject.NodeObject.getChildren (/typescript-4.8.3/lib/tsserver.js:166001:56) > at _loop_1 (/typescript-4.8.3/lib/tsserver.js:128985:36) > at getTokenAtPositionWorker (/typescript-4.8.3/lib/tsserver.js:129042:27) > at getTouchingToken (/typescript-4.8.3/lib/tsserver.js:128971:16) > at Object.getTouchingPropertyName (/typescript-4.8.3/lib/tsserver.js:128963:16) > at getDefinitionAtPosition (/typescript-4.8.3/lib/tsserver.js:141359:27) > at Object.getDefinitionAndBoundSpan (/typescript-4.8.3/lib/tsserver.js:141597:31) > at Object.getDefinitionAndBoundSpan (/typescript-4.8.3/lib/tsserver.js:167386:38) > at IOSession.Session.getDefinitionAndBoundSpan (/typescript-4.8.3/lib/tsserver.js:178767:83) > at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:178011:61) > at /typescript-4.8.3/lib/tsserver.js:180166:96 > at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) > at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

jupyterlab/jupyterlab

Repro Steps

  1. git clone https://github.com/jupyterlab/jupyterlab
  2. In dir jupyterlab, run git reset --hard dfda80dbaf58f5d23466ba13bac2bbb8b2ed5fa2
  3. Install packages
    1. In dir jupyterlab/builder, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir jupyterlab/buildutils, run yarn install --silent --ignore-engines --ignore-scripts
    3. In dir jupyterlab/buildutils/template, run yarn install --silent --ignore-engines --ignore-scripts
    4. In dir jupyterlab/dev_mode, run yarn install --silent --ignore-engines --ignore-scripts
    5. In dir jupyterlab/examples/app, run yarn install --silent --ignore-engines --ignore-scripts
    6. In dir jupyterlab/examples/cell, run yarn install --silent --ignore-engines --ignore-scripts
    7. In dir jupyterlab/examples/console, run yarn install --silent --ignore-engines --ignore-scripts
    8. In dir jupyterlab/examples/federated/core_package, run yarn install --silent --ignore-engines --ignore-scripts
    9. In dir jupyterlab/examples/federated/md_package, run yarn install --silent --ignore-engines --ignore-scripts
    10. In dir jupyterlab/examples/federated/middle_package, run yarn install --silent --ignore-engines --ignore-scripts
    11. In dir jupyterlab/examples/federated, run yarn install --silent --ignore-engines --ignore-scripts
    12. In dir jupyterlab/examples/filebrowser, run yarn install --silent --ignore-engines --ignore-scripts
    13. In dir jupyterlab/examples/notebook, run yarn install --silent --ignore-engines --ignore-scripts
    14. In dir jupyterlab/examples/terminal, run yarn install --silent --ignore-engines --ignore-scripts
    15. In dir jupyterlab/galata, run yarn install --silent --ignore-engines --ignore-scripts
    16. In dir jupyterlab/jupyterlab/staging, run yarn install --silent --ignore-engines --ignore-scripts
    17. In dir jupyterlab/jupyterlab/tests/mock_packages/extension, run yarn install --silent --ignore-engines --ignore-scripts
    18. In dir jupyterlab/jupyterlab/tests/mock_packages/incompat, run yarn install --silent --ignore-engines --ignore-scripts
    19. In dir jupyterlab/jupyterlab/tests/mock_packages/interop/consumer, run yarn install --silent --ignore-engines --ignore-scripts
    20. In dir jupyterlab/jupyterlab/tests/mock_packages/interop/provider, run yarn install --silent --ignore-engines --ignore-scripts
    21. In dir jupyterlab/jupyterlab/tests/mock_packages/interop/token, run yarn install --silent --ignore-engines --ignore-scripts
    22. In dir jupyterlab/jupyterlab/tests/mock_packages/mimeextension, run yarn install --silent --ignore-engines --ignore-scripts
    23. In dir jupyterlab/jupyterlab/tests/mock_packages/package, run yarn install --silent --ignore-engines --ignore-scripts
    24. In dir jupyterlab/jupyterlab/tests/mock_packages/test_no_hyphens, run yarn install --silent --ignore-engines --ignore-scripts
    25. In dir jupyterlab/jupyterlab/tests/mock_packages/test-hyphens-underscore, run yarn install --silent --ignore-engines --ignore-scripts
    26. In dir jupyterlab/jupyterlab/tests/mock_packages/test-hyphens, run yarn install --silent --ignore-engines --ignore-scripts
    27. In dir jupyterlab, run yarn install --silent --ignore-engines --ignore-scripts
    28. In dir jupyterlab/testutils, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults7/jupyterlab.jupyterlab.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./jupyterlab ./jupyterlab.jupyterlab.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":15628,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":110930,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":15629,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":110930,"entryNames":["__webpack_require__"]}} {"seq":15630,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":111280,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}} {"seq":15631,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/jupyterlab/staging/yarn.js","line":85060,"offset":111338}} ```

Error

>     at formatMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178020:29)
>     at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179096:31)
>     at IOSession.Session.send (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179093:22)
>     at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179146:22)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180792:30)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) > at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) > at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) > at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

mantinedev/mantine

Repro Steps

  1. git clone https://github.com/mantinedev/mantine
  2. In dir mantine, run git reset --hard 8894b2eb2b51ec9af805f0d53259644956fa697c
  3. Install packages
    1. In dir mantine/docs, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir mantine, run yarn install --silent --ignore-engines --ignore-scripts
    3. In dir mantine/src/mantine-carousel, run yarn install --silent --ignore-engines --ignore-scripts
    4. In dir mantine/src/mantine-core, run yarn install --silent --ignore-engines --ignore-scripts
    5. In dir mantine/src/mantine-dates, run yarn install --silent --ignore-engines --ignore-scripts
    6. In dir mantine/src/mantine-demos, run yarn install --silent --ignore-engines --ignore-scripts
    7. In dir mantine/src/mantine-dropzone, run yarn install --silent --ignore-engines --ignore-scripts
    8. In dir mantine/src/mantine-ds, run yarn install --silent --ignore-engines --ignore-scripts
    9. In dir mantine/src/mantine-form, run yarn install --silent --ignore-engines --ignore-scripts
    10. In dir mantine/src/mantine-hooks, run yarn install --silent --ignore-engines --ignore-scripts
    11. In dir mantine/src/mantine-labs, run yarn install --silent --ignore-engines --ignore-scripts
    12. In dir mantine/src/mantine-modals, run yarn install --silent --ignore-engines --ignore-scripts
    13. In dir mantine/src/mantine-next, run yarn install --silent --ignore-engines --ignore-scripts
    14. In dir mantine/src/mantine-notifications, run yarn install --silent --ignore-engines --ignore-scripts
    15. In dir mantine/src/mantine-nprogress, run yarn install --silent --ignore-engines --ignore-scripts
    16. In dir mantine/src/mantine-prism, run yarn install --silent --ignore-engines --ignore-scripts
    17. In dir mantine/src/mantine-remix, run yarn install --silent --ignore-engines --ignore-scripts
    18. In dir mantine/src/mantine-rte, run yarn install --silent --ignore-engines --ignore-scripts
    19. In dir mantine/src/mantine-spotlight, run yarn install --silent --ignore-engines --ignore-scripts
    20. In dir mantine/src/mantine-ssr, run yarn install --silent --ignore-engines --ignore-scripts
    21. In dir mantine/src/mantine-storybook, run yarn install --silent --ignore-engines --ignore-scripts
    22. In dir mantine/src/mantine-styles-api, run yarn install --silent --ignore-engines --ignore-scripts
    23. In dir mantine/src/mantine-styles, run yarn install --silent --ignore-engines --ignore-scripts
    24. In dir mantine/src/mantine-tests, run yarn install --silent --ignore-engines --ignore-scripts
    25. In dir mantine/src/mantine-utils, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults6/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
Last few requests ```json {"seq":7903,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/src/mantine-ds/src/HeaderControl/HeaderControl.tsx"}},"skipDestructiveCodeActions":false}} {"seq":7904,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/src/mantine-ds/src/HeaderControl/HeaderControl.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":27},"end":{"line":1,"offset":27}}]}],"closedFiles":[],"openFiles":[]}} {"seq":7905,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/mantine-ds/src/HeaderControl/HeaderControl.tsx","line":2,"offset":56}} {"seq":7906,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/mantine-ds/src/HeaderControl/HeaderControl.tsx","line":2,"offset":56}} ```

Error

> 
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Exited unexpectedly > ```

microsoft/playwright

Repro Steps

  1. git clone https://github.com/microsoft/playwright
  2. In dir playwright, run git reset --hard ab4876242f188d7dfb67b02ddf8fbfd7a2e48c67
  3. Install packages
    1. In dir playwright/examples/components-vue, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir playwright/examples/github-api, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    3. In dir playwright/examples/mock-battery, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    4. In dir playwright/examples/mock-filesystem, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    5. In dir playwright/examples/svgomg, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    6. In dir playwright/examples/todomvc, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    7. In dir playwright, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    8. In dir playwright/packages/html-reporter, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    9. In dir playwright/packages/playwright-chromium, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    10. In dir playwright/packages/playwright-core/bundles/utils, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    11. In dir playwright/packages/playwright-core/bundles/zip, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    12. In dir playwright/packages/playwright-core, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    13. In dir playwright/packages/playwright-ct-react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    14. In dir playwright/packages/playwright-ct-solid, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    15. In dir playwright/packages/playwright-ct-svelte, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    16. In dir playwright/packages/playwright-ct-vue, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    17. In dir playwright/packages/playwright-ct-vue2, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    18. In dir playwright/packages/playwright-firefox, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    19. In dir playwright/packages/playwright-test/bundles/babel, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    20. In dir playwright/packages/playwright-test/bundles/expect, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    21. In dir playwright/packages/playwright-test/bundles/utils, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    22. In dir playwright/packages/playwright-test, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    23. In dir playwright/packages/playwright-webkit, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    24. In dir playwright/packages/playwright, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    25. In dir playwright/packages/recorder, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    26. In dir playwright/packages/trace-viewer, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    27. In dir playwright/tests/components/ct-react-vite, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    28. In dir playwright/tests/components/ct-react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    29. In dir playwright/tests/components/ct-solid, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    30. In dir playwright/tests/components/ct-svelte-vite, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    31. In dir playwright/tests/components/ct-svelte, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    32. In dir playwright/tests/components/ct-vue-cli, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    33. In dir playwright/tests/components/ct-vue-vite, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    34. In dir playwright/tests/components/ct-vue2-cli, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    35. In dir playwright/tests/playwright-test/stable-test-runner, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    36. In dir playwright/utils/flakiness-dashboard, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. Download RepoResults1/microsoft.playwright.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./playwright ./microsoft.playwright.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":6542,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/src/utilsBundle.ts","line":5,"offset":30}} {"seq":6543,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/src/utilsBundle.ts","line":8,"offset":25,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"/"}} {"seq":6544,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/src/utilsBundle.ts","line":21,"offset":66}} {"seq":6545,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/playwright-core/src/utilsBundle.ts","line":21,"offset":66}} ```

Error

>     at addIndirectUser (/typescript-4.9.0-dev.20220912/lib/tsserver.js:138511:26)
>     at handleDirectImports (/typescript-4.9.0-dev.20220912/lib/tsserver.js:138469:37)
>     at getImportersForExport (/typescript-4.9.0-dev.20220912/lib/tsserver.js:138391:13)
>     at State.importTracker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:138367:26)
>     at State.getImportSearches (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139925:33)
>     at searchForImportsOfExport (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139974:32)
>     at getImportOrExportReferences (/typescript-4.9.0-dev.20220912/lib/tsserver.js:140467:21)
>     at getReferencesAtLocation (/typescript-4.9.0-dev.20220912/lib/tsserver.js:140387:17)
>     at getReferencesInContainer (/typescript-4.9.0-dev.20220912/lib/tsserver.js:140321:21)
>     at getReferencesInContainerOrFiles (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139820:21)
>     at getReferencedSymbolsForSymbol (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139811:21)
>     at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139628:67)
>     at Object.getReferencedSymbolsForNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139554:40)
>     at Object.findReferencedSymbols (/typescript-4.9.0-dev.20220912/lib/tsserver.js:139142:42)
>     at Object.findReferences (/typescript-4.9.0-dev.20220912/lib/tsserver.js:168023:41)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:178178:53
>     at searchPosition (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178375:38)
>     at getPerProjectReferences (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178343:42)
>     at getReferencesWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178175:37)
>     at IOSession.Session.getReferences (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179778:34)
>     at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178615:61)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:96
>     at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180740:28)
>     at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:41)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180777:35)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at addIndirectUser (/typescript-4.8.3/lib/tsserver.js:138032:26) > at handleDirectImports (/typescript-4.8.3/lib/tsserver.js:137990:37) > at getImportersForExport (/typescript-4.8.3/lib/tsserver.js:137912:13) > at State.importTracker (/typescript-4.8.3/lib/tsserver.js:137888:26) > at State.getImportSearches (/typescript-4.8.3/lib/tsserver.js:139444:33) > at searchForImportsOfExport (/typescript-4.8.3/lib/tsserver.js:139493:32) > at getImportOrExportReferences (/typescript-4.8.3/lib/tsserver.js:139986:21) > at getReferencesAtLocation (/typescript-4.8.3/lib/tsserver.js:139906:17) > at getReferencesInContainer (/typescript-4.8.3/lib/tsserver.js:139840:21) > at getReferencesInContainerOrFiles (/typescript-4.8.3/lib/tsserver.js:139339:21) > at getReferencedSymbolsForSymbol (/typescript-4.8.3/lib/tsserver.js:139330:21) > at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-4.8.3/lib/tsserver.js:139147:67) > at Object.getReferencedSymbolsForNode (/typescript-4.8.3/lib/tsserver.js:139073:40) > at Object.findReferencedSymbols (/typescript-4.8.3/lib/tsserver.js:138661:42) > at Object.findReferences (/typescript-4.8.3/lib/tsserver.js:167440:41) > at /typescript-4.8.3/lib/tsserver.js:177595:53 > at searchPosition (/typescript-4.8.3/lib/tsserver.js:177792:38) > at getPerProjectReferences (/typescript-4.8.3/lib/tsserver.js:177760:42) > at getReferencesWorker (/typescript-4.8.3/lib/tsserver.js:177592:37) > at IOSession.Session.getReferences (/typescript-4.8.3/lib/tsserver.js:179195:34) > at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:178032:61) > at /typescript-4.8.3/lib/tsserver.js:180166:96 > at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) > at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

nhn/tui.editor

Repro Steps

  1. git clone https://github.com/nhn/tui.editor
  2. In dir tui.editor, run git reset --hard 06355b6c1885fa2b5109209e93292c7f2367e4d7
  3. Install packages
    1. In dir tui.editor/apps/editor, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir tui.editor/apps/react-editor, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    3. In dir tui.editor/apps/vue-editor, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    4. In dir tui.editor/libs/toastmark, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    5. In dir tui.editor, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    6. In dir tui.editor/plugins/chart, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    7. In dir tui.editor/plugins/code-syntax-highlight, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    8. In dir tui.editor/plugins/color-syntax, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    9. In dir tui.editor/plugins/table-merged-cell, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    10. In dir tui.editor/plugins/uml, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. Download RepoResults5/nhn.tui.editor.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./tui.editor ./nhn.tui.editor.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":46,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/editor/rollup.config.js","line":25,"offset":8,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":47,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/editor/rollup.config.js","line":33,"offset":26,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":48,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/__mocks__/cssMock.js"],"openFiles":[]}} {"seq":49,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/editor/scripts/createConfigVariable.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Error

>     at Object.ThrowNoProject (/typescript-4.9.0-dev.20220912/lib/tsserver.js:170884:23)
>     at ScriptInfo.getDefaultProject (/typescript-4.9.0-dev.20220912/lib/tsserver.js:171727:46)
>     at ProjectService.telemetryOnOpenFile (/typescript-4.9.0-dev.20220912/lib/tsserver.js:177112:42)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:177194:76
>     at ProjectService.applyChangesInOpenFiles (/typescript-4.9.0-dev.20220912/lib/tsserver.js:177194:37)
>     at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178557:46)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:96
>     at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180740:28)
>     at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:41)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180777:35)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - updateOpen > at Object.ThrowNoProject (/typescript-4.8.3/lib/tsserver.js:170301:23) > at ScriptInfo.getDefaultProject (/typescript-4.8.3/lib/tsserver.js:171144:46) > at ProjectService.telemetryOnOpenFile (/typescript-4.8.3/lib/tsserver.js:176529:42) > at /typescript-4.8.3/lib/tsserver.js:176611:76 > at ProjectService.applyChangesInOpenFiles (/typescript-4.8.3/lib/tsserver.js:176611:37) > at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:177974:46) > at /typescript-4.8.3/lib/tsserver.js:180166:96 > at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) > at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```
typescript-bot commented 2 years ago

palantir/blueprint

Repro Steps

  1. git clone https://github.com/palantir/blueprint
  2. In dir blueprint, run git reset --hard 36991e4ddf9fc9adbbd81fd607c95b88f743dfc0
  3. Download RepoResults4/palantir.blueprint.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./blueprint ./palantir.blueprint.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":18709,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":84643,"entryNames":["a"]}} {"seq":18710,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":85018,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":18711,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":85018,"entryNames":["a"]}} {"seq":18712,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":85460}} ```

Error

>     at getContextualTypeForArgumentAtIndex (/typescript-4.9.0-dev.20220912/lib/tsserver.js:73695:53)
>     at getContextualTypeForArgument (/typescript-4.9.0-dev.20220912/lib/tsserver.js:73693:50)
>     at getContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74125:28)
>     at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74034:17)
>     at getContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74138:32)
>     at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74034:17)
>     at getContextualSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74428:24)
>     at getNarrowedTypeOfSymbol (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72716:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72804:24)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at getEffectsSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71250:36)
>     at getTypeAtFlowCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71615:33)
>     at getTypeAtFlowNode (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71481:32)
>     at getFlowTypeOfReference (/typescript-4.9.0-dev.20220912/lib/tsserver.js:71428:51)
>     at checkIdentifier (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72875:28)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81066:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
>     at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75663:85)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81100:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkNonNullExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:75618:37)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at getEffectiveTypeAnnotationNode (/typescript-4.8.3/lib/tsserver.js:18701:44) > at /typescript-4.8.3/lib/tsserver.js:21431:65 > at Object.some (/typescript-4.8.3/lib/tsserver.js:759:25) > at Object.hasContextSensitiveParameters (/typescript-4.8.3/lib/tsserver.js:21431:20) > at isContextSensitiveFunctionLikeDeclaration (/typescript-4.8.3/lib/tsserver.js:64452:21) > at isContextSensitiveFunctionOrObjectLiteralMethod (/typescript-4.8.3/lib/tsserver.js:64460:17) > at getNarrowedTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:72406:56) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72495:24) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) > at getTypeAtFlowCall (/typescript-4.8.3/lib/tsserver.js:71313:33) > at getTypeAtFlowNode (/typescript-4.8.3/lib/tsserver.js:71179:32) > at getFlowTypeOfReference (/typescript-4.8.3/lib/tsserver.js:71126:51) > at checkIdentifier (/typescript-4.8.3/lib/tsserver.js:72566:28) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80717:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:85) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkNonNullExpression (/typescript-4.8.3/lib/tsserver.js:75277:37) > at getEffectsSignature (/typescript-4.8.3/lib/tsserver.js:70948:36) ```

reduxjs/redux-devtools

Repro Steps

  1. git clone https://github.com/reduxjs/redux-devtools
  2. In dir redux-devtools, run git reset --hard 418a90914417bf3a31fc5fa4b518ae055673aca7
  3. Install packages
    1. In dir redux-devtools/extension/examples/counter, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    2. In dir redux-devtools/extension/examples/react-counter-messaging, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    3. In dir redux-devtools/extension/examples/router, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    4. In dir redux-devtools/extension/examples/saga-counter, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    5. In dir redux-devtools/extension/examples/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    6. In dir redux-devtools/extension, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    7. In dir redux-devtools, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    8. In dir redux-devtools/packages/d3-state-visualizer/examples/tree, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    9. In dir redux-devtools/packages/d3-state-visualizer, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    10. In dir redux-devtools/packages/d3tooltip, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    11. In dir redux-devtools/packages/map2tree, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    12. In dir redux-devtools/packages/react-base16-styling, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    13. In dir redux-devtools/packages/react-dock/demo, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    14. In dir redux-devtools/packages/react-dock, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    15. In dir redux-devtools/packages/react-json-tree/examples, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    16. In dir redux-devtools/packages/react-json-tree, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    17. In dir redux-devtools/packages/redux-devtools-app, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    18. In dir redux-devtools/packages/redux-devtools-chart-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    19. In dir redux-devtools/packages/redux-devtools-cli/app, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    20. In dir redux-devtools/packages/redux-devtools-cli, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    21. In dir redux-devtools/packages/redux-devtools-dock-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    22. In dir redux-devtools/packages/redux-devtools-extension, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    23. In dir redux-devtools/packages/redux-devtools-inspector-monitor-test-tab/demo, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    24. In dir redux-devtools/packages/redux-devtools-inspector-monitor-test-tab, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    25. In dir redux-devtools/packages/redux-devtools-inspector-monitor-trace-tab, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    26. In dir redux-devtools/packages/redux-devtools-inspector-monitor/demo, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    27. In dir redux-devtools/packages/redux-devtools-inspector-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    28. In dir redux-devtools/packages/redux-devtools-instrument, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    29. In dir redux-devtools/packages/redux-devtools-log-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    30. In dir redux-devtools/packages/redux-devtools-remote/examples/counter, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    31. In dir redux-devtools/packages/redux-devtools-remote/examples/node-counter, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    32. In dir redux-devtools/packages/redux-devtools-remote/examples/router, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    33. In dir redux-devtools/packages/redux-devtools-remote/examples/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    34. In dir redux-devtools/packages/redux-devtools-remote/examples/toggle-monitoring, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    35. In dir redux-devtools/packages/redux-devtools-remote, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    36. In dir redux-devtools/packages/redux-devtools-rtk-query-monitor/demo, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    37. In dir redux-devtools/packages/redux-devtools-rtk-query-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    38. In dir redux-devtools/packages/redux-devtools-serialize, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    39. In dir redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    40. In dir redux-devtools/packages/redux-devtools-slider-monitor, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    41. In dir redux-devtools/packages/redux-devtools-ui, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    42. In dir redux-devtools/packages/redux-devtools-utils, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    43. In dir redux-devtools/packages/redux-devtools/examples/counter, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    44. In dir redux-devtools/packages/redux-devtools/examples/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
    45. In dir redux-devtools/packages/redux-devtools, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
  4. Download RepoResults7/reduxjs.redux-devtools.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./redux-devtools ./reduxjs.redux-devtools.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":1613,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":96,"offset":30,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":" "}} {"seq":1614,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":146,"offset":50}} {"seq":1615,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":243,"offset":15,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":1616,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":243,"offset":15,"entryNames":["args"]}} ```

Error

>     at assignParameterType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:78926:26)
>     at assignContextualParameterTypes (/typescript-4.9.0-dev.20220912/lib/tsserver.js:78899:21)
>     at contextuallyCheckFunctionExpressionOrObjectLiteralMethod (/typescript-4.9.0-dev.20220912/lib/tsserver.js:79345:29)
>     at checkFunctionExpressionOrObjectLiteralMethod (/typescript-4.9.0-dev.20220912/lib/tsserver.js:79315:13)
>     at checkExpressionWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81120:28)
>     at checkExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:81015:38)
>     at checkExpressionWithContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:80645:28)
>     at getSignatureApplicabilityError (/typescript-4.9.0-dev.20220912/lib/tsserver.js:76907:35)
>     at chooseOverload (/typescript-4.9.0-dev.20220912/lib/tsserver.js:77481:29)
>     at resolveCall (/typescript-4.9.0-dev.20220912/lib/tsserver.js:77285:26)
>     at resolveCallExpression (/typescript-4.9.0-dev.20220912/lib/tsserver.js:77699:20)
>     at resolveSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:78082:28)
>     at getResolvedSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:78113:26)
>     at getContextualTypeForArgumentAtIndex (/typescript-4.9.0-dev.20220912/lib/tsserver.js:73703:118)
>     at getContextualTypeForArgument (/typescript-4.9.0-dev.20220912/lib/tsserver.js:73693:50)
>     at getContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74125:28)
>     at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74034:17)
>     at getContextualSignature (/typescript-4.9.0-dev.20220912/lib/tsserver.js:74428:24)
>     at getContextuallyTypedParameterType (/typescript-4.9.0-dev.20220912/lib/tsserver.js:73524:39)
>     at getTypeForVariableLikeDeclaration (/typescript-4.9.0-dev.20220912/lib/tsserver.js:56873:141)
>     at getWidenedTypeForVariableLikeDeclaration (/typescript-4.9.0-dev.20220912/lib/tsserver.js:57358:56)
>     at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-4.9.0-dev.20220912/lib/tsserver.js:57516:24)
>     at getTypeOfVariableOrParameterOrProperty (/typescript-4.9.0-dev.20220912/lib/tsserver.js:57404:28)
>     at getTypeOfSymbol (/typescript-4.9.0-dev.20220912/lib/tsserver.js:57776:24)
>     at getNonMissingTypeOfSymbol (/typescript-4.9.0-dev.20220912/lib/tsserver.js:57793:38)
>     at getTypeOfSymbolAtLocation (/typescript-4.9.0-dev.20220912/lib/tsserver.js:72507:20)
>     at Object.getTypeOfSymbolAtLocation (/typescript-4.9.0-dev.20220912/lib/tsserver.js:49067:35)
>     at Object.getSymbolDisplayPartsDocumentationAndSymbolKind (/typescript-4.9.0-dev.20220912/lib/tsserver.js:147348:97)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:135332:41
>     at Object.runWithCancellationToken (/typescript-4.9.0-dev.20220912/lib/tsserver.js:49355:28)
>     at createCompletionDetailsForSymbol (/typescript-4.9.0-dev.20220912/lib/tsserver.js:135331:30)
>     at Object.getCompletionEntryDetails (/typescript-4.9.0-dev.20220912/lib/tsserver.js:135313:28)
>     at Object.getCompletionEntryDetails (/typescript-4.9.0-dev.20220912/lib/tsserver.js:167889:35)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180063:57
>     at Object.mapDefined (/typescript-4.9.0-dev.20220912/lib/tsserver.js:621:30)
>     at IOSession.Session.getCompletionEntryDetails (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180061:33)
>     at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178698:61)
>     at /typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:96
>     at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180740:28)
>     at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180749:41)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180777:35)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - completionEntryDetails > at assignParameterType (/typescript-4.8.3/lib/tsserver.js:78572:26) > at assignContextualParameterTypes (/typescript-4.8.3/lib/tsserver.js:78545:21) > at contextuallyCheckFunctionExpressionOrObjectLiteralMethod (/typescript-4.8.3/lib/tsserver.js:78991:29) > at checkFunctionExpressionOrObjectLiteralMethod (/typescript-4.8.3/lib/tsserver.js:78961:13) > at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80771:28) > at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) > at checkExpressionWithContextualType (/typescript-4.8.3/lib/tsserver.js:80296:28) > at getSignatureApplicabilityError (/typescript-4.8.3/lib/tsserver.js:76566:35) > at chooseOverload (/typescript-4.8.3/lib/tsserver.js:77140:29) > at resolveCall (/typescript-4.8.3/lib/tsserver.js:76944:26) > at resolveCallExpression (/typescript-4.8.3/lib/tsserver.js:77358:20) > at resolveSignature (/typescript-4.8.3/lib/tsserver.js:77741:28) > at getResolvedSignature (/typescript-4.8.3/lib/tsserver.js:77772:26) > at getContextualTypeForArgumentAtIndex (/typescript-4.8.3/lib/tsserver.js:73394:118) > at getContextualTypeForArgument (/typescript-4.8.3/lib/tsserver.js:73384:50) > at getContextualType (/typescript-4.8.3/lib/tsserver.js:73814:28) > at getApparentTypeOfContextualType (/typescript-4.8.3/lib/tsserver.js:73723:17) > at getContextualSignature (/typescript-4.8.3/lib/tsserver.js:74108:24) > at getContextuallyTypedParameterType (/typescript-4.8.3/lib/tsserver.js:73215:39) > at getTypeForVariableLikeDeclaration (/typescript-4.8.3/lib/tsserver.js:56587:141) > at getWidenedTypeForVariableLikeDeclaration (/typescript-4.8.3/lib/tsserver.js:57072:56) > at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-4.8.3/lib/tsserver.js:57230:24) > at getTypeOfVariableOrParameterOrProperty (/typescript-4.8.3/lib/tsserver.js:57118:28) > at getTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57490:24) > at getNonMissingTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57507:38) > at getTypeOfSymbolAtLocation (/typescript-4.8.3/lib/tsserver.js:72198:20) > at Object.getTypeOfSymbolAtLocation (/typescript-4.8.3/lib/tsserver.js:48802:35) > at Object.getSymbolDisplayPartsDocumentationAndSymbolKind (/typescript-4.8.3/lib/tsserver.js:146861:97) > at /typescript-4.8.3/lib/tsserver.js:134856:41 > at Object.runWithCancellationToken (/typescript-4.8.3/lib/tsserver.js:49088:28) > at createCompletionDetailsForSymbol (/typescript-4.8.3/lib/tsserver.js:134855:30) > at Object.getCompletionEntryDetails (/typescript-4.8.3/lib/tsserver.js:134837:28) > at Object.getCompletionEntryDetails (/typescript-4.8.3/lib/tsserver.js:167306:35) > at /typescript-4.8.3/lib/tsserver.js:179480:57 > at Object.mapDefined (/typescript-4.8.3/lib/tsserver.js:622:30) > at IOSession.Session.getCompletionEntryDetails (/typescript-4.8.3/lib/tsserver.js:179478:33) > at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:178115:61) > at /typescript-4.8.3/lib/tsserver.js:180166:96 > at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) > at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

vercel/hyper

Repro Steps

  1. git clone https://github.com/vercel/hyper
  2. In dir hyper, run git reset --hard 2269438186ebde8f3eccf5ac79560fd09216bb09
  3. Install packages
    1. In dir hyper/app, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir hyper, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults1/vercel.hyper.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./hyper ./vercel.hyper.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":12552,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/bin/yarn-standalone.js","line":84971,"offset":16373,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"\""}} {"seq":12553,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/bin/yarn-standalone.js","line":84971,"offset":18376}} {"seq":12554,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/bin/yarn-standalone.js","line":84971,"offset":18735,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":2,"triggerCharacter":"."}} {"seq":12555,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/bin/yarn-standalone.js","line":84971,"offset":20072}} ```

Error

>     at formatMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:178020:29)
>     at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179096:31)
>     at IOSession.Session.send (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179093:22)
>     at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220912/lib/tsserver.js:179146:22)
>     at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220912/lib/tsserver.js:180792:30)
>     at Interface.<anonymous> (/typescript-4.9.0-dev.20220912/lib/tsserver.js:184899:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` > Req #0 - references > at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) > at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) > at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) > at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) > at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) > at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```
amcasey commented 1 year ago

These are all dups.