microsoft / TypeScript

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

[ServerErrors][TypeScript] 5.5.0-dev.20240317 #57814

Closed typescript-bot closed 8 months ago

typescript-bot commented 8 months ago

The following errors were reported by 5.5.0-dev.20240317 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 167 of 175 visited repos (:warning: expected 200) | Outcome | Count | |---------|-------| | Detected interesting changes | 7 | | Detected no interesting changes | 160 | | Git clone failed | 3 | | Language service disabled in new TS | 1 | | Unknown failure | 4 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
2fc0ee2d54649b4b4a979da6d3bb5acf 1
75d23db557cdc62f161e66a1a121ad54 1
83205b6b970be76b02347640489be837 1
c1564cc69b2a0159032ecbb8b0aac35a 1
c36ff488c0ab497656b8075c83a2337b 1
cd3ae9cc06aef4c45127199ad9ddb89a 1
typescript-bot commented 8 months ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults4/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

```json {"seq":706,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/features/MainLayout.tsx","line":4,"offset":20,"entryNames":["Shell"]}} {"seq":707,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/features/MainLayout.tsx","line":9,"offset":15}} {"seq":708,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/lib/checkRateLimitAndThrowError.test.ts"],"openFiles":[]}} {"seq":709,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/debugging/index.tsx","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard a30555018fc0e0fa24e5eab35f75cc138a22e464
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 8 months ago

Error: start < 0

Req #705 - references
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240317/lib/tsserver.js:510:14)

Affected repos

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

Last few requests

```json {"seq":702,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":703,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":704,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/xstate-vue/test/useSelector.test.ts"}} {"seq":705,"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 cf252d05ff36a366ff6cf551e20b1e196a33297d
  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 RepoResults4/statelyai.xstate.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./xstate ./statelyai.xstate.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 8 months ago

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

Req #5369 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240317/lib/tsserver.js:510:14)

Affected repos

jhipster/generator-jhipster Raw error text: RepoResults6/jhipster.generator-jhipster.rawError.txt in the artifact folder

Last few requests

```json {"seq":5366,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/generators/java/generator.ts","line":215,"offset":29}} {"seq":5367,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/generators/java/generator.ts","line":215,"offset":29}} {"seq":5368,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/java/generator.ts","line":250,"offset":70,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":5369,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/java/generator.ts","line":260,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 8 months ago

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

Req #2114 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240317/lib/tsserver.js:510:14)

Affected repos

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

Last few requests

```json {"seq":2111,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1360,"offset":67,"entryNames":["ActionRow"]}} {"seq":2112,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1373,"offset":41}} {"seq":2113,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1377,"offset":29}} {"seq":2114,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/discord.js/typings/index.d.ts","line":1387,"offset":34,"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 93c174bc82fa7601d0aa8b561d8aa9a3735d70c3
  3. In dir discord.js, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults4/discordjs.discord.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./discord.js ./discordjs.discord.js.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 8 months ago

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

Req #5624 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240317/lib/tsserver.js:510:14)

Affected repos

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

Last few requests

```json {"seq":5621,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-playground/src/nodes/FigmaNode.tsx","line":38,"offset":1}} {"seq":5622,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-playground/src/nodes/FigmaNode.tsx","line":82,"offset":5,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5623,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-playground/src/nodes/FigmaNode.tsx","line":82,"offset":5,"entryNames":["$createFigmaNode"]}} {"seq":5624,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/lexical-playground/src/nodes/FigmaNode.tsx","line":94,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/facebook/lexical --recurse-submodules
  2. In dir lexical, run git reset --hard 058f55a3cde9479eca1bbf132ecc33cc0b312583
  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 RepoResults8/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 8 months ago

Error: Debug Failure. False expression.

Req #5147 - completionInfo

Affected repos

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

Last few requests

```json {"seq":5144,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withParentSize.tsx","line":15,"offset":4}} {"seq":5145,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withParentSize.tsx","line":15,"offset":4}} {"seq":5146,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withParentSize.tsx","line":35,"offset":39,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"<"}} {"seq":5147,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/visx-responsive/src/enhancers/withParentSize.tsx","line":47,"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 RepoResults7/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 8 months ago

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

Req #8749 - completionInfo
    at Interface.<anonymous> (/typescript-5.5.0-dev.20240317/lib/tsserver.js:510:14)

Affected repos

drizzle-team/drizzle-orm Raw error text: RepoResults7/drizzle-team.drizzle-orm.rawError.txt in the artifact folder

Last few requests

```json {"seq":8746,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/pg-core/columns/inet.ts","line":23,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":8747,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/pg-core/columns/inet.ts","line":23,"offset":6,"entryNames":["@abstract"]}} {"seq":8748,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/pg-core/columns/inet.ts","line":32,"offset":48}} {"seq":8749,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/pg-core/columns/inet.ts","line":33,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/drizzle-team/drizzle-orm --recurse-submodules
  2. In dir drizzle-orm, run git reset --hard ab1cfdf33f27e1df6e2b24b72496cd006daf0def
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir drizzle-orm, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    2. In dir drizzle-orm/examples/sqlite-proxy, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    3. In dir drizzle-orm/examples/postgresjs, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    4. In dir drizzle-orm/examples/pg-proxy, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    5. In dir drizzle-orm/examples/neon-cloudflare, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    6. In dir drizzle-orm/examples/mysql-proxy, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    7. In dir drizzle-orm/examples/libsql, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    8. In dir drizzle-orm/examples/cloudflare-d1, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    9. In dir drizzle-orm/examples/better-sqlite3, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    10. In dir drizzle-orm/examples/aws-lambda, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults7/drizzle-team.drizzle-orm.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./drizzle-orm ./drizzle-team.drizzle-orm.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc