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][TypeScript] 5.5.0-dev.20240324 #57923

Open typescript-bot opened 5 months ago

typescript-bot commented 5 months ago

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

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

Successfully analyzed 248 of 262 visited repos (:warning: expected 300) | Outcome | Count | |---------|-------| | Detected interesting changes | 7 | | Detected no interesting changes | 241 | | Git clone failed | 4 | | Language service disabled in new TS | 1 | | Unknown failure | 9 |

Investigation Status

Repo Errors Outcome
0a115876af642a53b8c799d402567b21 1
4a5e4d3c7102d2b84158ac32f4b859be 1
4d1e9523611c332e3d65272363b0fd7c 1
97499a2994ec4fa6c51c969170248ffa 1
a73aba22c3d2ec5cb4237d5649f8ba9a 1
c165c5ce5ae767a657ff0096f558c385 1
d15d17b3edceafb856e67369d0a1c3fc 1
typescript-bot commented 5 months ago

RangeError: Maximum call stack size exceeded

Req #2853 - references

Affected repos

palantir/blueprint Raw error text: RepoResults5/palantir.blueprint.rawError.txt in the artifact folder

Last few requests

```json {"seq":2850,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":128970,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2851,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":129502,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":2852,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":130567}} {"seq":2853,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":131543}} ```

Repro steps

  1. git clone https://github.com/palantir/blueprint --recurse-submodules
  2. In dir blueprint, run git reset --hard 0f8d6d9689e42ca09d36b3f63c564e19f485b91d
  3. Back in the initial folder, download RepoResults5/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
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 5 months ago

Error: Debug Failure. False expression: Token end is child end

Req #2106 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":2103,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1118,"offset":49,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2104,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1118,"offset":49,"entryNames":["types"]}} {"seq":2105,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1157,"offset":6}} {"seq":2106,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1169,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/discordjs/discord.js --recurse-submodules
  2. In dir discord.js, run git reset --hard a1a3a95c94194a8ab789d567a778b376e13ea973
  3. In dir discord.js, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults3/discordjs.discord.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./discord.js ./discordjs.discord.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 5 months ago

Error: Debug Failure. False expression.

Req #8241 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":8238,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/IFrame.tsx"}} {"seq":8239,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/IFrame.tsx","line":1,"offset":49}} {"seq":8240,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/IFrame.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":55},"end":{"line":1,"offset":55}}]}],"closedFiles":[],"openFiles":[]}} {"seq":8241,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/IFrame.tsx","line":33,"offset":1,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 5 months ago

Error: Debug Failure.

Req #5342 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)

Affected repos

VSCodeVim/Vim Raw error text: RepoResults8/VSCodeVim.Vim.rawError.txt in the artifact folder

Last few requests

```json {"seq":5339,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":33,"offset":1,"entryNames":["Mode"]}} {"seq":5340,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":41,"offset":1}} {"seq":5341,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":42,"offset":13,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":5342,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":44,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

Error: Debug Failure. False expression.

Req #5052 - completionInfo

Affected repos

airbnb/visx Raw error text: RepoResults5/airbnb.visx.rawError.txt in the artifact folder

Last few requests

```json {"seq":5049,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withScreenSize.tsx","line":12,"offset":4,"entryNames":["@abstract"]}} {"seq":5050,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withScreenSize.tsx","line":29,"offset":53,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5051,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withScreenSize.tsx","line":29,"offset":53,"entryNames":["DebounceSettings"]}} {"seq":5052,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withScreenSize.tsx","line":37,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

Error: Debug Failure. False expression: Token end is child end

Req #3050 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)

Affected repos

facebook/lexical Raw error text: RepoResults6/facebook.lexical.rawError.txt in the artifact folder

Last few requests

```json {"seq":3047,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-list/src/LexicalListNode.ts","line":104,"offset":8}} {"seq":3048,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-list/src/LexicalListNode.ts","line":104,"offset":8}} {"seq":3049,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-list/src/LexicalListNode.ts","line":172,"offset":13}} {"seq":3050,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-list/src/LexicalListNode.ts","line":177,"offset":4,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 5 months ago

Error: start < 0

Req #683 - references
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)

Affected repos

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

Last few requests

```json {"seq":680,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":681,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":682,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts","line":1,"offset":36}} {"seq":683,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts","line":1,"offset":36}} ```

Repro steps

  1. git clone https://github.com/statelyai/xstate --recurse-submodules
  2. In dir xstate, run git reset --hard f86a59ced85febed3ee67ea2bbe28fd34c465c6d
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir xstate, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir xstate/templates/vue-ts, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir xstate/templates/vanilla-ts, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir xstate/templates/svelte-ts, run yarn install --ignore-engines --ignore-scripts --silent
    5. In dir xstate/templates/react-ts, run yarn install --ignore-engines --ignore-scripts --silent
    6. In dir xstate/examples/workflow-send-cloudevent, run yarn install --ignore-engines --ignore-scripts --silent
    7. In dir xstate/examples/workflow-reusing-functions, run yarn install --ignore-engines --ignore-scripts --silent
    8. In dir xstate/examples/workflow-purchase-order-deadline, run yarn install --ignore-engines --ignore-scripts --silent
    9. In dir xstate/examples/workflow-provision-orders, run yarn install --ignore-engines --ignore-scripts --silent
    10. In dir xstate/examples/workflow-parallel, run yarn install --ignore-engines --ignore-scripts --silent
    11. In dir xstate/examples/workflow-new-patient-onboarding, run yarn install --ignore-engines --ignore-scripts --silent
    12. In dir xstate/examples/workflow-monitor-patient, run yarn install --ignore-engines --ignore-scripts --silent
    13. In dir xstate/examples/workflow-monitor-job, run yarn install --ignore-engines --ignore-scripts --silent
    14. In dir xstate/examples/workflow-media-scanner, run yarn install --ignore-engines --ignore-scripts --silent
    15. In dir xstate/examples/workflow-math-problem, run yarn install --ignore-engines --ignore-scripts --silent
    16. In dir xstate/examples/workflow-hello, run yarn install --ignore-engines --ignore-scripts --silent
    17. In dir xstate/examples/workflow-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    18. In dir xstate/examples/workflow-finalize-college-app, run yarn install --ignore-engines --ignore-scripts --silent
    19. In dir xstate/examples/workflow-filling-water, run yarn install --ignore-engines --ignore-scripts --silent
    20. In dir xstate/examples/workflow-event-greeting, run yarn install --ignore-engines --ignore-scripts --silent
    21. In dir xstate/examples/workflow-event-based-service, run yarn install --ignore-engines --ignore-scripts --silent
    22. In dir xstate/examples/workflow-event-based, run yarn install --ignore-engines --ignore-scripts --silent
    23. In dir xstate/examples/workflow-credit-check, run yarn install --ignore-engines --ignore-scripts --silent
    24. In dir xstate/examples/workflow-check-inbox, run yarn install --ignore-engines --ignore-scripts --silent
    25. In dir xstate/examples/workflow-car-vitals, run yarn install --ignore-engines --ignore-scripts --silent
    26. In dir xstate/examples/workflow-car-auction-bids, run yarn install --ignore-engines --ignore-scripts --silent
    27. In dir xstate/examples/workflow-book-lending, run yarn install --ignore-engines --ignore-scripts --silent
    28. In dir xstate/examples/workflow-async-subflow, run yarn install --ignore-engines --ignore-scripts --silent
    29. In dir xstate/examples/workflow-async-function, run yarn install --ignore-engines --ignore-scripts --silent
    30. In dir xstate/examples/workflow-applicant-request, run yarn install --ignore-engines --ignore-scripts --silent
    31. In dir xstate/examples/workflow-accumulate-room-readings, run yarn install --ignore-engines --ignore-scripts --silent
    32. In dir xstate/examples/toggle, run yarn install --ignore-engines --ignore-scripts --silent
    33. In dir xstate/examples/todomvc-react, run yarn install --ignore-engines --ignore-scripts --silent
    34. In dir xstate/examples/timer, run yarn install --ignore-engines --ignore-scripts --silent
    35. In dir xstate/examples/tiles, run yarn install --ignore-engines --ignore-scripts --silent
    36. In dir xstate/examples/tic-tac-toe-react, run yarn install --ignore-engines --ignore-scripts --silent
    37. In dir xstate/examples/stopwatch, run yarn install --ignore-engines --ignore-scripts --silent
    38. In dir xstate/examples/snake-react, run yarn install --ignore-engines --ignore-scripts --silent
    39. In dir xstate/examples/persisted-donut-maker, run yarn install --ignore-engines --ignore-scripts --silent
    40. In dir xstate/examples/mongodb-persisted-state, run yarn install --ignore-engines --ignore-scripts --silent
    41. In dir xstate/examples/mongodb-credit-check-api, run yarn install --ignore-engines --ignore-scripts --silent
    42. In dir xstate/examples/friends-list-react, run yarn install --ignore-engines --ignore-scripts --silent
    43. In dir xstate/examples/fetch, run yarn install --ignore-engines --ignore-scripts --silent
    44. In dir xstate/examples/express-workflow, run yarn install --ignore-engines --ignore-scripts --silent
    45. In dir xstate/examples/counter, run yarn install --ignore-engines --ignore-scripts --silent
    46. In dir xstate/examples/7guis-temperature-react, run yarn install --ignore-engines --ignore-scripts --silent
    47. In dir xstate/examples/7guis-counter-react, run yarn install --ignore-engines --ignore-scripts --silent
    48. In dir xstate/examples/7guis-2-temperature-vue, run yarn install --ignore-engines --ignore-scripts --silent
    49. In dir xstate/examples/7guis-1-counter-vue, run yarn install --ignore-engines --ignore-scripts --silent
    50. In dir xstate/docs, run yarn install --ignore-engines --ignore-scripts --silent
    51. In dir xstate/docs/zh/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
    52. In dir xstate/docs/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
    53. In dir xstate/docs/fr/sandboxes/todomvc, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults3/statelyai.xstate.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./xstate ./statelyai.xstate.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc