TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

[ServerErrors][TypeScript] 4.9.0-dev.20221018

Open typescript-bot opened this issue 3 years ago • 7 comments

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

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

Successfully analyzed 189 of 200 visited repos
Outcome Count
Detected interesting changes 4
Detected no interesting changes 185
Git clone failed 2
Unknown failure 9

Investigation Status

Repo Errors Outcome
alibaba/ice 1
BuilderIO/qwik 1
formatjs/formatjs 1
palantir/blueprint 1

typescript-bot avatar Oct 18 '22 19:10 typescript-bot

alibaba/ice

:warning: Note that typescript-4.8.4 also had errors :warning:
Exited unexpectedly with signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Last few requests

{"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":"true","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@"}]}}

Repro Steps

  1. git clone https://github.com/alibaba/ice --recurse-submodules
  2. In dir ice, run git reset --hard 3d83bba4c48045e2554b9884c5a60851f0a5b523
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir ice/examples/basic-auth, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir ice/examples/basic-disable-runtime, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir ice/examples/basic-i18n, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir ice/examples/basic-keep-alive, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir ice/examples/basic-mpa-vite, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir ice/examples/basic-mpa-webpack, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir ice/examples/basic-mpa-with-swc, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir ice/examples/basic-nested-store, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir ice/examples/basic-pwa, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir ice/examples/basic-request, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir ice/examples/basic-service, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir ice/examples/basic-spa, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir ice/examples/basic-ssr-with-lazy-load, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir ice/examples/basic-ssr, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir ice/examples/basic-store, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir ice/examples/basic-vite-ssr, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir ice/examples/basic-vite, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir ice/examples/dts-generation, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir ice/examples/hello-world, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir ice/examples/icestark-child, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir ice/examples/icestark-layout, run yarn install --ignore-engines --ignore-scripts --silent
    22. In dir ice/examples/simple, run yarn install --ignore-engines --ignore-scripts --silent
    23. In dir ice/examples/spa-renderComponent, run yarn install --ignore-engines --ignore-scripts --silent
    24. In dir ice/examples/with-fusion-design, run yarn install --ignore-engines --ignore-scripts --silent
    25. In dir ice/examples/with-multi-themes, run yarn install --ignore-engines --ignore-scripts --silent
    26. In dir ice/examples/with-prerender-mpa, run yarn install --ignore-engines --ignore-scripts --silent
    27. In dir ice/examples/with-prerender-spa, run yarn install --ignore-engines --ignore-scripts --silent
    28. In dir ice/examples/with-react-miniapp-store, run yarn install --ignore-engines --ignore-scripts --silent
    29. In dir ice/examples/with-react-miniapp-todos, run yarn install --ignore-engines --ignore-scripts --silent
    30. In dir ice/examples/with-react-miniapp, run yarn install --ignore-engines --ignore-scripts --silent
    31. In dir ice/examples/with-rematch, run yarn install --ignore-engines --ignore-scripts --silent
    32. In dir ice/examples/without-react-router, run yarn install --ignore-engines --ignore-scripts --silent
    33. In dir ice, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults3/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
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot avatar Oct 18 '22 19:10 typescript-bot

BuilderIO/qwik

:warning: Note that typescript-4.8.4 also had errors :warning:
Req #6872 - references
    at createTextSpan (/typescript-4.8.4/lib/tsserver.js:12462:19)
    at Object.createTextSpanFromBounds (/typescript-4.8.4/lib/tsserver.js:12471:16)
    at getTextSpan (/typescript-4.8.4/lib/tsserver.js:138942:23)
    at entryToDocumentSpan (/typescript-4.8.4/lib/tsserver.js:138839:32)
    at toReferenceEntry (/typescript-4.8.4/lib/tsserver.js:138825:32)
    at toReferencedSymbolEntry (/typescript-4.8.4/lib/tsserver.js:138819:34)
    at /typescript-4.8.4/lib/tsserver.js:138679:70
    at /typescript-4.8.4/lib/tsserver.js:138679:44
    at Object.mapDefined (/typescript-4.8.4/lib/tsserver.js:622:30)
    at Object.findReferencedSymbols (/typescript-4.8.4/lib/tsserver.js:138674:85)
    at Object.findReferences (/typescript-4.8.4/lib/tsserver.js:167448:41)
    at /typescript-4.8.4/lib/tsserver.js:177603:53
    at searchPosition (/typescript-4.8.4/lib/tsserver.js:177800:38)
    at getPerProjectReferences (/typescript-4.8.4/lib/tsserver.js:177768:42)
    at getReferencesWorker (/typescript-4.8.4/lib/tsserver.js:177600:37)
    at IOSession.Session.getReferences (/typescript-4.8.4/lib/tsserver.js:179203:34)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.8.4/lib/tsserver.js:178040:61)
    at /typescript-4.8.4/lib/tsserver.js:180174:96
    at IOSession.Session.executeWithRequestId (/typescript-4.8.4/lib/tsserver.js:180165:28)
    at IOSession.Session.executeCommand (/typescript-4.8.4/lib/tsserver.js:180174:41)
    at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180202:35)
    at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #6872 - references
    at createTextSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:12557:19)
    at Object.createTextSpanFromBounds (/typescript-4.9.0-dev.20221018/lib/tsserver.js:12566:16)
    at getTextSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140296:23)
    at entryToDocumentSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140193:32)
    at toReferenceEntry (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140179:32)
    at toReferencedSymbolEntry (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140173:34)
    at /typescript-4.9.0-dev.20221018/lib/tsserver.js:140033:70
    at /typescript-4.9.0-dev.20221018/lib/tsserver.js:140033:44
    at Object.mapDefined (/typescript-4.9.0-dev.20221018/lib/tsserver.js:621:30)
    at Object.findReferencedSymbols (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140028:85)
    at Object.findReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:169125:41)
    at /typescript-4.9.0-dev.20221018/lib/tsserver.js:179297:53
    at searchPosition (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179494:38)
    at getPerProjectReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179462:42)
    at getReferencesWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179294:37)
    at IOSession.Session.getReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:180901:34)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179734:61)
    at /typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:96
    at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181860:28)
    at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:41)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181897:35)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:186023:31)

Last few requests

{"seq":6869,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":6870,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx"}},"skipDestructiveCodeActions":true}}
{"seq":6871,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx"}}
{"seq":6872,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx","line":1,"offset":31}}

Repro Steps

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

typescript-bot avatar Oct 18 '22 19:10 typescript-bot

formatjs/formatjs

:warning: Note that typescript-4.8.4 also had errors :warning:
Req #1893 - references
    at formatMessage (/typescript-4.8.4/lib/tsserver.js:177445:29)
    at IOSession.Session.writeMessage (/typescript-4.8.4/lib/tsserver.js:178521:31)
    at IOSession.Session.send (/typescript-4.8.4/lib/tsserver.js:178518:22)
    at IOSession.Session.doOutput (/typescript-4.8.4/lib/tsserver.js:178571:22)
    at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180217:30)
    at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #7843 - definitionAndBoundSpan
    at addSyntheticNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167752:30)
    at createSyntaxList (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167768:13)
    at processNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167731:27)
    at visitNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:31223:24)
    at forEachChildInSourceFile (/typescript-4.9.0-dev.20221018/lib/tsserver.js:31586:20)
    at Object.forEachChild (/typescript-4.9.0-dev.20221018/lib/tsserver.js:32001:47)
    at SourceFileObject.NodeObject.forEachChild (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167706:23)
    at createChildren (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167740:14)
    at SourceFileObject.NodeObject.getChildren (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167683:56)
    at _loop_1 (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130279:36)
    at getTokenAtPositionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130336:27)
    at getTouchingToken (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130265:16)
    at Object.getTouchingPropertyName (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130257:16)
    at getDefinitionAtPosition (/typescript-4.9.0-dev.20221018/lib/tsserver.js:142725:27)
    at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:142966:31)
    at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:169071:38)
    at IOSession.Session.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:180469:83)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179713:61)
    at /typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:96
    at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181860:28)
    at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:41)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181897:35)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:186023:31)

Last few requests

{"seq":7840,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/test262/test/language/expressions/class/dstr/private-gen-meth-static-obj-ptrn-prop-id.js"],"openFiles":[]}}
{"seq":7841,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":7842,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js"}}
{"seq":7843,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js","line":5,"offset":88}}

Repro Steps

  1. git clone https://github.com/formatjs/formatjs --recurse-submodules
  2. In dir formatjs, run git reset --hard 8e7cba880b0dbe89d8f6b35022b2502c0bfd1300
  3. Back in the initial folder, download RepoResults4/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
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot avatar Oct 18 '22 19:10 typescript-bot

palantir/blueprint

:warning: Note that typescript-4.8.4 also had errors :warning:
Req #12614 - references
    at formatMessage (/typescript-4.8.4/lib/tsserver.js:177445:29)
    at IOSession.Session.writeMessage (/typescript-4.8.4/lib/tsserver.js:178521:31)
    at IOSession.Session.send (/typescript-4.8.4/lib/tsserver.js:178518:22)
    at IOSession.Session.doOutput (/typescript-4.8.4/lib/tsserver.js:178571:22)
    at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180217:30)
    at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #19075 - references
    at getContextualTypeForArgumentAtIndex (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74138:53)
    at getContextualTypeForArgument (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74136:50)
    at getContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74569:28)
    at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74477:17)
    at getContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74582:32)
    at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74477:17)
    at getContextualSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74872:24)
    at getNarrowedTypeOfSymbol (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73159:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73247:24)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
    at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
    at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
    at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
    at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
    at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
    at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
    at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)

Last few requests

{"seq":19072,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268172}}
{"seq":19073,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268468,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":19074,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268871,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":19075,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":269549}}

Repro Steps

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

typescript-bot avatar Oct 18 '22 19:10 typescript-bot

I don't quite know how to repro the qwik one. It is definitely a mix of jsxImportSource and setting paths. It makes sense, since we add a synthetic import in .tsx files, but I can't seem to trigger it easily.

You can set the compilerOptions to something like

"compilerOptions": {
    "target": "ES2020",
    "module": "ES2020",
    "moduleResolution": "node",
    "jsx": "react-jsx",
    "jsxImportSource": "@builder.io/qwik",
    "paths": {
      "@builder.io/qwik/jsx-runtime": ["./packages/qwik/src/jsx-runtime/index.ts"],
    },
  }

in the repo and that's enough to trigger the break.

DanielRosenwasser avatar Oct 18 '22 20:10 DanielRosenwasser

I don't quite know how to repro the qwik one

@DanielRosenwasser Just to confirm, you can repro with the steps provided but you're also trying to construct a repro that occurs when manually driving the editor?

amcasey avatar Oct 18 '22 23:10 amcasey

Correct!

DanielRosenwasser avatar Oct 18 '22 23:10 DanielRosenwasser