microsoft / TypeScript

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

[ServerErrors][TypeScript] 5.7.0-dev.20241020 vs 5.6.3 #60294

Open typescript-bot opened 3 days ago

typescript-bot commented 3 days ago

The following errors were reported by 5.7.0-dev.20241020 vs 5.6.3 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 285 of 300 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 9 | | Detected no interesting changes | 276 | | Git clone failed | 3 | | Language service disabled in new TS | 1 | | Unknown failure | 11 |

Investigation Status

Repo Errors Outcome
typescript-bot commented 3 days ago
New server no longer reports this error: Timed out after 600000 ms ``` Timed out after 600000 ms ```

Affected repos

twentyhq/twenty Raw error text: RepoResults6/twentyhq.twenty.rawError.txt in the artifact folder
Replay commands: RepoResults6/twentyhq.twenty.replay.txt in the artifact folder

Last few requests

```json {"seq":15555,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/__stories__/perf/AddressFieldDisplay.perf.stories.tsx","line":14,"offset":42,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"'"}} {"seq":15556,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/__stories__/perf/AddressFieldDisplay.perf.stories.tsx","line":47,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":15557,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/__stories__/perf/AddressFieldDisplay.perf.stories.tsx","line":60,"offset":3,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":15558,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/__stories__/perf/AddressFieldDisplay.perf.stories.tsx","line":60,"offset":3,"entryNames":["averageThresholdInMs"]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/twentyhq/twenty --recurse-submodules git -C "./twenty" reset --hard cc4b060932ce6c05531c35b2ff7a74931203fdc0 yarn --cwd "./twenty" install --no-immutable --mode=skip-build downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults6.zip "$downloadUrl" unzip -p RepoResults6.zip RepoResults6/twentyhq.twenty.replay.txt > twentyhq.twenty.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./twenty ./twentyhq.twenty.replay.txt ```
typescript-bot commented 3 days ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

remotion-dev/remotion Raw error text: RepoResults5/remotion-dev.remotion.rawError.txt in the artifact folder
Replay commands: RepoResults5/remotion-dev.remotion.replay.txt in the artifact folder

Last few requests

```json {"seq":8918,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/CompositionManager.tsx","line":33,"offset":13}} {"seq":8919,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/CompositionManager.tsx","line":51,"offset":9,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":8920,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/CompositionManager.tsx","line":51,"offset":9,"entryNames":["AnyCompMetadata"]}} {"seq":8921,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/CompositionManager.tsx","line":119,"offset":21}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/remotion-dev/remotion --recurse-submodules git -C "./remotion" reset --hard 5a53e334cdd5059f5356a630515d11d2d7bff002 pnpm --dir "./remotion" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults5.zip "$downloadUrl" unzip -p RepoResults5.zip RepoResults5/remotion-dev.remotion.replay.txt > remotion-dev.remotion.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./remotion ./remotion-dev.remotion.replay.txt ```
elastic/kibana Raw error text: RepoResults5/elastic.kibana.rawError.txt in the artifact folder
Replay commands: RepoResults5/elastic.kibana.replay.txt in the artifact folder

Last few requests

```json {"seq":118,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/x-pack/test/security_solution_api_integration/ftr_provider_context_with_spaces.d.ts","line":7,"offset":44,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":119,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/x-pack/test/security_solution_api_integration/ftr_provider_context_with_spaces.d.ts","line":7,"offset":44,"entryNames":["@kbn/test"]}} {"seq":120,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/kbn-grouping/index.tsx"],"openFiles":[]}} {"seq":121,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/x-pack/test/fleet_api_integration/config.base.ts","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/elastic/kibana --recurse-submodules git -C "./kibana" reset --hard 33829d92c24c5db54f5f7895985ba3fba519e0e4 downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults5.zip "$downloadUrl" unzip -p RepoResults5.zip RepoResults5/elastic.kibana.replay.txt > elastic.kibana.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./kibana ./elastic.kibana.replay.txt ```
typescript-bot commented 3 days 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: RepoResults3/calcom.cal.com.rawError.txt in the artifact folder
Replay commands: RepoResults3/calcom.cal.com.replay.txt in the artifact folder

Last few requests

```json {"seq":270,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/prisma/delete-app.ts","line":5,"offset":24,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":271,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/prisma/delete-app.ts","line":5,"offset":24,"entryNames":["appId"]}} {"seq":272,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/types/AppGetServerSideProps.d.ts"],"openFiles":[]}} {"seq":273,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/lib/totp.ts","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/calcom/cal.com --recurse-submodules git -C "./cal.com" reset --hard 5f0cc805a92c5c3e459fbc70f42fdbf8407bd989 yarn --cwd "./cal.com" install --no-immutable --mode=skip-build downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/calcom.cal.com.replay.txt > calcom.cal.com.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt ```
backstage/backstage Raw error text: RepoResults3/backstage.backstage.rawError.txt in the artifact folder
Replay commands: RepoResults3/backstage.backstage.replay.txt in the artifact folder

Last few requests

```json {"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]} {"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}} {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/scripts/verify-links.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/backstage/backstage --recurse-submodules git -C "./backstage" reset --hard c42c2bae633f69d824f36fd76a3c81b620b933f8 # Install packages (exact steps are below, but it might be easier to follow the repo readme) yarn --cwd "./backstage" install --no-immutable --mode=skip-build yarn --cwd "./backstage/storybook" install --no-immutable --mode=skip-build yarn --cwd "./backstage/microsite" install --no-immutable --mode=skip-build downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/backstage.backstage.replay.txt > backstage.backstage.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./backstage ./backstage.backstage.replay.txt ```
typescript-bot commented 3 days ago

Error: Debug Failure.

Req #3274 - completionInfo
    at getNamesForExportedSymbol (/typescript-5.7.0-dev.20241020/lib/typescript.js:141058:16)
    at Object.add (/typescript-5.7.0-dev.20241020/lib/typescript.js:140684:136)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:141005:17
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:140889:119
    at forEachExternalModule (/typescript-5.7.0-dev.20241020/lib/typescript.js:140941:7)
    at forEachExternalModuleToImportFrom (/typescript-5.7.0-dev.20241020/lib/typescript.js:140889:3)
    at getExportInfoMap (/typescript-5.7.0-dev.20241020/lib/typescript.js:140993:5)
    at collectAutoImports (/typescript-5.7.0-dev.20241020/lib/typescript.js:167869:24)
    at getGlobalCompletions (/typescript-5.7.0-dev.20241020/lib/typescript.js:167808:5)
    at tryGetGlobalSymbols (/typescript-5.7.0-dev.20241020/lib/typescript.js:167739:397)
    at getCompletionData (/typescript-5.7.0-dev.20241020/lib/typescript.js:167480:10)
    at Object.getCompletionsAtPosition (/typescript-5.7.0-dev.20241020/lib/typescript.js:165345:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.7.0-dev.20241020/lib/typescript.js:151662:35)
    at IOSession.getCompletions (/typescript-5.7.0-dev.20241020/lib/typescript.js:194190:54)
    at completionInfo (/typescript-5.7.0-dev.20241020/lib/typescript.js:192464:43)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:194966:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241020/lib/typescript.js:194955:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241020/lib/typescript.js:194964:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241020/lib/typescript.js:195012:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241020/lib/_tsserver.js:501:14)

Affected repos

sequelize/sequelize Raw error text: RepoResults3/sequelize.sequelize.rawError.txt in the artifact folder
Replay commands: RepoResults3/sequelize.sequelize.replay.txt in the artifact folder

Last few requests

```json {"seq":3271,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/model.js","line":1396,"offset":7,"entryNames":["_validateIncludedElements"]}} {"seq":3272,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/model.js","line":1452,"offset":85,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3273,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/model.js","line":1452,"offset":85,"entryNames":["_validateIncludedElements"]}} {"seq":3274,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/core/src/model.js","line":1456,"offset":61,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/sequelize/sequelize --recurse-submodules git -C "./sequelize" reset --hard faa8ce14c571ed73ebff8c40e0b87697282cb326 yarn --cwd "./sequelize" install --no-immutable --mode=skip-build downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/sequelize.sequelize.replay.txt > sequelize.sequelize.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./sequelize ./sequelize.sequelize.replay.txt ```
typescript-bot commented 3 days ago

TypeError: Cannot read properties of undefined (reading 'sourceFile')

Req #1871 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.7.0-dev.20241020/lib/typescript.js:142391:18)
    at getDocumentRegistryEntry (/typescript-5.7.0-dev.20241020/lib/typescript.js:142467:19)
    at Object.releaseDocumentWithKey (/typescript-5.7.0-dev.20241020/lib/typescript.js:142562:19)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:151522:65
    at forEach (/typescript-5.7.0-dev.20241020/lib/typescript.js:2297:22)
    at cleanupSemanticCache (/typescript-5.7.0-dev.20241020/lib/typescript.js:151522:7)
    at Object.dispose (/typescript-5.7.0-dev.20241020/lib/typescript.js:151527:5)
    at ConfiguredProject2.close (/typescript-5.7.0-dev.20241020/lib/typescript.js:185877:26)
    at ConfiguredProject2.close (/typescript-5.7.0-dev.20241020/lib/typescript.js:187473:11)
    at _ProjectService.removeProject (/typescript-5.7.0-dev.20241020/lib/typescript.js:188786:13)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:190776:33
    at _ProjectService.cleanupConfiguredProjects (/typescript-5.7.0-dev.20241020/lib/typescript.js:190776:7)
    at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.7.0-dev.20241020/lib/typescript.js:190779:10)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.7.0-dev.20241020/lib/typescript.js:191027:12)
    at updateOpen (/typescript-5.7.0-dev.20241020/lib/typescript.js:192247:29)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:194966:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241020/lib/typescript.js:194955:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241020/lib/typescript.js:194964:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241020/lib/typescript.js:195012:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241020/lib/_tsserver.js:501:14)

Affected repos

pnpm/pnpm Raw error text: RepoResults3/pnpm.pnpm.rawError.txt in the artifact folder
Replay commands: RepoResults3/pnpm.pnpm.replay.txt in the artifact folder

Last few requests

```json {"seq":1868,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/__utils__/test-ipc-server/jest.config.js"}} {"seq":1869,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/__utils__/test-ipc-server/jest.config.js"}} {"seq":1870,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/catalogs/resolver/jest.config.js"],"openFiles":[]}} {"seq":1871,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/__utils__/eslint-config/index.js","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/pnpm/pnpm --recurse-submodules git -C "./pnpm" reset --hard f066efcbd85181e94739137d4714fa1005fb2c85 # Install packages (exact steps are below, but it might be easier to follow the repo readme) pnpm --dir "./pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/spec-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/sort-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/resolve-workspace-range" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/read-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/pkgs-graph" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/find-workspace-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/filter-workspace-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/workspace/filter-packages-from-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/worker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/tools/plugin-commands-self-updater" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/tools/path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/text/comments-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/store-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/store-controller-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/store-connection-manager" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/plugin-commands-store-inspecting" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/plugin-commands-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/plugin-commands-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/package-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/create-cafs-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/cafs-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/store/cafs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/plugin-commands-outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/plugin-commands-listing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/plugin-commands-licenses" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/outdated" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/list" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/list/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/license-scanner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/dependencies-hierarchy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/reviewing/dependencies-hierarchy/example" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/tarball-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/resolver-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/npm-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/local-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/local-resolver/example-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/git-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/resolving/default-resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/releasing/plugin-commands-publishing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/releasing/plugin-commands-deploy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/dev" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/win-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/win-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/macos-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/macos-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/linux-x64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/linux-arm64" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pnpm/artifacts/exe" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manifest/write-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manifest/read-project-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manifest/read-package-json" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manifest/manifest-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manifest/exportable-manifest" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/resolve-dependencies" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/remove-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/real-hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/read-projects-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/plugin-commands-installation" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/package-requester" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/package-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/modules-yaml" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/modules-cleaner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/link-bins" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/hoist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/headless" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/get-context" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/direct-dep-linker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/core" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/pkg-manager/client" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/patching/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/patching/plugin-commands-patching" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/patching/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/patching/apply-patch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/which-version-is-pinned" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/render-peer-issues" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/plugin-commands-setup" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/plugin-commands-init" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/plugin-commands-doctor" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/parse-wanted-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/make-dedicated-lockfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/logger" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/git-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/error" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/dependency-path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/crypto.base32-hash" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/core-loggers" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/constants" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/packages/calc-dep-state" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/network/fetching-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/network/fetch" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/network/auth-header" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/modules-mounter/daemon" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/walker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/verification" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/settings-checker" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/pruner" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/preferred-versions" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/plugin-commands-audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/merger" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/lockfile-to-pnp" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/fs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/filtering" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/detect-dep-types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/lockfile/audit" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/hooks/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/hooks/read-package-hook" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/hooks/pnpmfile" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/symlink-dependency" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/read-modules-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/packlist" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/is-empty-dir-or-nothing" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/indexed-pkg-importer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/hard-link-dir" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/graceful-fs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fs/find-packages" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fetching/tarball-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fetching/pick-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fetching/git-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fetching/fetcher-base" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/fetching/directory-fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/run-npm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/prepare-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/plugin-commands-script-runners" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/plugin-commands-rebuild" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/pkg-requires-build" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/lifecycle" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/exec/build-modules" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/env/plugin-commands-env" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/env/path" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/env/node.resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/env/node.fetcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/deps/graph-sequencer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/deps/graph-builder" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/dedupe/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/dedupe/issues-renderer" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/dedupe/check" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/crypto/object-hasher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/plugin-commands-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/pick-registry-for-package" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/parse-overrides" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/package-is-installable" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/normalize-registries" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/matcher" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/config/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/completion/plugin-commands-completion" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/parse-cli-args" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/default-reporter" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/common-cli-options-help" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/command" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/cli-utils" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cli/cli-meta" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/catalogs/types" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/catalogs/resolver" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/catalogs/protocol-parser" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/catalogs/config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cache/commands" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/cache/api" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/tsconfig" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/test-ipc-server" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/scripts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/prepare" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/get-release-text" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/eslint-config" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/build-artifacts" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/assert-store" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__utils__/assert-project" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__typings__" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent pnpm --dir "./pnpm/__typecheck__" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults3.zip "$downloadUrl" unzip -p RepoResults3.zip RepoResults3/pnpm.pnpm.replay.txt > pnpm.pnpm.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./pnpm ./pnpm.pnpm.replay.txt ```
typescript-bot commented 3 days ago

Error: Debug Failure. False expression.

Req #5713 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.7.0-dev.20241020/lib/typescript.js:156862:13)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:164087:38
    at importSymbols (/typescript-5.7.0-dev.20241020/lib/typescript.js:164087:11)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:163635:11
    at sameMap (/typescript-5.7.0-dev.20241020/lib/typescript.js:2497:22)
    at createSignatureDeclarationFromSignature (/typescript-5.7.0-dev.20241020/lib/typescript.js:163629:27)
    at outputMethod (/typescript-5.7.0-dev.20241020/lib/typescript.js:163531:20)
    at Object.addNewNodeForMemberSymbol (/typescript-5.7.0-dev.20241020/lib/typescript.js:163510:9)
    at getEntryForMemberCompletion (/typescript-5.7.0-dev.20241020/lib/typescript.js:166357:22)
    at createCompletionEntry (/typescript-5.7.0-dev.20241020/lib/typescript.js:166197:35)
    at getCompletionEntriesFromSymbols (/typescript-5.7.0-dev.20241020/lib/typescript.js:166840:19)
    at completionInfoFromData (/typescript-5.7.0-dev.20241020/lib/typescript.js:165830:23)
    at Object.getCompletionsAtPosition (/typescript-5.7.0-dev.20241020/lib/typescript.js:165363:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.7.0-dev.20241020/lib/typescript.js:151662:35)
    at IOSession.getCompletions (/typescript-5.7.0-dev.20241020/lib/typescript.js:194190:54)
    at completionInfo (/typescript-5.7.0-dev.20241020/lib/typescript.js:192464:43)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:194966:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241020/lib/typescript.js:194955:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241020/lib/typescript.js:194964:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241020/lib/typescript.js:195012:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241020/lib/_tsserver.js:501:14)

Affected repos

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

Last few requests

```json {"seq":5710,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":130,"offset":1}} {"seq":5711,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":130,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5712,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":130,"offset":1,"entryNames":["Mode"]}} {"seq":5713,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/actions/plugins/targets/smartQuotes.ts","line":131,"offset":55,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/VSCodeVim/Vim --recurse-submodules git -C "./Vim" reset --hard 2398110d4461777b9956328bc30753ccbadb65ff yarn --cwd "./Vim" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults8.zip "$downloadUrl" unzip -p RepoResults8.zip RepoResults8/VSCodeVim.Vim.replay.txt > VSCodeVim.Vim.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./Vim ./VSCodeVim.Vim.replay.txt ```
typescript-bot commented 3 days ago

Error: Debug Failure. False expression.

Req #1833 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.7.0-dev.20241020/lib/typescript.js:156862:13)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:164087:38
    at importSymbols (/typescript-5.7.0-dev.20241020/lib/typescript.js:164087:11)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:163635:11
    at sameMap (/typescript-5.7.0-dev.20241020/lib/typescript.js:2497:22)
    at createSignatureDeclarationFromSignature (/typescript-5.7.0-dev.20241020/lib/typescript.js:163629:27)
    at outputMethod (/typescript-5.7.0-dev.20241020/lib/typescript.js:163531:20)
    at Object.addNewNodeForMemberSymbol (/typescript-5.7.0-dev.20241020/lib/typescript.js:163510:9)
    at getEntryForMemberCompletion (/typescript-5.7.0-dev.20241020/lib/typescript.js:166357:22)
    at createCompletionEntry (/typescript-5.7.0-dev.20241020/lib/typescript.js:166197:35)
    at getCompletionEntriesFromSymbols (/typescript-5.7.0-dev.20241020/lib/typescript.js:166840:19)
    at completionInfoFromData (/typescript-5.7.0-dev.20241020/lib/typescript.js:165830:23)
    at Object.getCompletionsAtPosition (/typescript-5.7.0-dev.20241020/lib/typescript.js:165363:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.7.0-dev.20241020/lib/typescript.js:151662:35)
    at IOSession.getCompletions (/typescript-5.7.0-dev.20241020/lib/typescript.js:194190:54)
    at completionInfo (/typescript-5.7.0-dev.20241020/lib/typescript.js:192464:43)
    at /typescript-5.7.0-dev.20241020/lib/typescript.js:194966:15
    at IOSession.executeWithRequestId (/typescript-5.7.0-dev.20241020/lib/typescript.js:194955:14)
    at IOSession.executeCommand (/typescript-5.7.0-dev.20241020/lib/typescript.js:194964:29)
    at IOSession.onMessage (/typescript-5.7.0-dev.20241020/lib/typescript.js:195012:68)
    at Interface.<anonymous> (/typescript-5.7.0-dev.20241020/lib/_tsserver.js:501:14)

Affected repos

beekeeper-studio/beekeeper-studio Raw error text: RepoResults7/beekeeper-studio.beekeeper-studio.rawError.txt in the artifact folder
Replay commands: RepoResults7/beekeeper-studio.beekeeper-studio.replay.txt in the artifact folder

Last few requests

```json {"seq":1830,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/apps/studio/src/vendor/electron-builder/PickyMacUpdater.ts"}},"skipDestructiveCodeActions":false}} {"seq":1831,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/apps/studio/src/vendor/electron-builder/PickyMacUpdater.ts"}} {"seq":1832,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/apps/studio/src/vendor/electron-builder/PickyMacUpdater.ts","textChanges":[{"newText":" //comment","start":{"line":1,"offset":46},"end":{"line":1,"offset":46}}]}],"closedFiles":[],"openFiles":[]}} {"seq":1833,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/studio/src/vendor/electron-builder/PickyMacUpdater.ts","line":17,"offset":3,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

```bash #!/bin/bash git clone https://github.com/beekeeper-studio/beekeeper-studio --recurse-submodules git -C "./beekeeper-studio" reset --hard 9fe755ab0883c70a35db7ca33c78ac0893ef6b1f yarn --cwd "./beekeeper-studio" install --ignore-engines --ignore-scripts --silent downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/163955/artifacts?artifactName=RepoResults7&api-version=7.0" | jq -r ".resource.downloadUrl") wget -O RepoResults7.zip "$downloadUrl" unzip -p RepoResults7.zip RepoResults7/beekeeper-studio.beekeeper-studio.replay.txt > beekeeper-studio.beekeeper-studio.replay.txt npm install --no-save @typescript/server-replay ``` To run the repro: ```bash # `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc. npx tsreplay ./beekeeper-studio ./beekeeper-studio.beekeeper-studio.replay.txt ```