Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ServerErrors][TypeScript] 5.8.0-dev.20250119 vs 5.7.3 #61000

Open
typescript-bot opened this issue Jan 19, 2025 · 8 comments
Open

[ServerErrors][TypeScript] 5.8.0-dev.20250119 vs 5.7.3 #61000

typescript-bot opened this issue Jan 19, 2025 · 8 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.8.0-dev.20250119 vs 5.7.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 282 of 300 visited repos
Outcome Count
Detected interesting changes 8
Detected no interesting changes 274
Git clone failed 4
Language service disabled in new TS 2
Unknown failure 12

Investigation Status

Repo Errors Outcome
@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

{"seq":454,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}
{"seq":455,"type":"request","command":"navto","arguments":{"searchValue":"AAD","maxResultCount":256}}
{"seq":456,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/examples/user_profile_examples/public/avatar_demo.tsx"],"openFiles":[]}}
{"seq":457,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/elastic/kibana --recurse-submodules
git -C "./kibana" reset --hard 175cfb8b6248c614dc38fedfd9d00e6290462045
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/elastic.kibana.replay.txt > elastic.kibana.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./kibana ./elastic.kibana.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

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

{"seq":9673,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/create-video/src/yesno.ts"}},"skipDestructiveCodeActions":true}}
{"seq":9674,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/create-video/src/yesno.ts"}}
{"seq":9675,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/create-video/src/yesno.ts"}}
{"seq":9676,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

#!/bin/bash

git clone https://github.com/remotion-dev/remotion --recurse-submodules
git -C "./remotion" reset --hard b222bd7c9fe194be96f6e31eaa7088ea040934e3
pnpm --dir "./remotion" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/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:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./remotion ./remotion-dev.remotion.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

drizzle-team/drizzle-orm Raw error text: RepoResults4/drizzle-team.drizzle-orm.rawError.txt in the artifact folder
Replay commands: RepoResults4/drizzle-team.drizzle-orm.replay.txt in the artifact folder

Last few requests

{"seq":14947,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/mysql-core/view.ts","line":105,"offset":49,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":14948,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/mysql-core/view.ts","line":105,"offset":49,"entryNames":["AddAliasToSelection"]}}
{"seq":14949,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/mysql-core/view.ts","line":151,"offset":40,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":14950,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/drizzle-orm/src/mysql-core/view.ts","line":151,"offset":40,"entryNames":["AddAliasToSelection"]}}

Repro steps

#!/bin/bash

git clone https://github.com/drizzle-team/drizzle-orm --recurse-submodules
git -C "./drizzle-orm" reset --hard 49d2930126170087e472d98f6278fa2f3e8279d4
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
pnpm --dir "./drizzle-orm" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/sqlite-proxy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/postgresjs" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/pg-proxy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/neon-cloudflare" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/mysql-proxy" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/libsql" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/cloudflare-d1" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/better-sqlite3" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./drizzle-orm/examples/aws-lambda" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults4.zip "$downloadUrl"
unzip -p RepoResults4.zip RepoResults4/drizzle-team.drizzle-orm.replay.txt > drizzle-team.drizzle-orm.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./drizzle-orm ./drizzle-team.drizzle-orm.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

{"seq":10,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/playwright.config.ts","line":18,"offset":35,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":11,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/playwright.config.ts","line":18,"offset":35,"entryNames":["playwright"]}}
{"seq":12,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/playwright.config.ts","line":44,"offset":11,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":13,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/scripts/techdocs-cli.js","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/backstage/backstage --recurse-submodules
git -C "./backstage" reset --hard ad3fc962e131d4b4c8114493cc6f93580f06290c
# 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
yarn --cwd "./backstage/canon-docs" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/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:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./backstage ./backstage.backstage.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Error: Debug Failure. Illegal value: SyntaxKind: PropertyAccessExpression

Req #4373 - completionEntryDetails
    at getSymbolDisplayPartsDocumentationAndSymbolKindWorker (/typescript-5.8.0-dev.20250119/lib/typescript.js:177575:19)
    at Object.getSymbolDisplayPartsDocumentationAndSymbolKind (/typescript-5.8.0-dev.20250119/lib/typescript.js:178095:10)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:167919:152
    at Object.runWithCancellationToken (/typescript-5.8.0-dev.20250119/lib/typescript.js:51174:16)
    at createCompletionDetailsForSymbol (/typescript-5.8.0-dev.20250119/lib/typescript.js:167919:69)
    at Object.getCompletionEntryDetails (/typescript-5.8.0-dev.20250119/lib/typescript.js:167866:14)
    at Object.getCompletionEntryDetails2 [as getCompletionEntryDetails] (/typescript-5.8.0-dev.20250119/lib/typescript.js:152407:35)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:195200:43
    at mapDefined (/typescript-5.8.0-dev.20250119/lib/typescript.js:2606:22)
    at IOSession.getCompletionEntryDetails (/typescript-5.8.0-dev.20250119/lib/typescript.js:195198:20)
    at completionEntryDetails (/typescript-5.8.0-dev.20250119/lib/typescript.js:193438:43)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:195931:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20250119/lib/typescript.js:195920:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20250119/lib/typescript.js:195929:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20250119/lib/typescript.js:195977:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20250119/lib/_tsserver.js:495:14)

Affected repos

babel/babel Raw error text: RepoResults2/babel.babel.rawError.txt in the artifact folder
Replay commands: RepoResults2/babel.babel.replay.txt in the artifact folder

Last few requests

{"seq":4370,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-accessors--to-es2015/undecorated-static-public/exec.js"}}
{"seq":4371,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-accessors--to-es2015/undecorated-static-public/exec.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":12},"end":{"line":1,"offset":12}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":4372,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-accessors--to-es2015/undecorated-static-public/exec.js","line":10,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":4373,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-accessors--to-es2015/undecorated-static-public/exec.js","line":10,"offset":6,"entryNames":["a"]}}

Repro steps

#!/bin/bash

git clone https://github.com/babel/babel --recurse-submodules
git -C "./babel" reset --hard d9fa47d2320e7be22af10091658798cd4c1605c9
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/babel.babel.replay.txt > babel.babel.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./babel ./babel.babel.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

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

Req #189 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.8.0-dev.20250119/lib/typescript.js:143129:18)
    at getDocumentRegistryEntry (/typescript-5.8.0-dev.20250119/lib/typescript.js:143205:19)
    at Object.releaseDocumentWithKey (/typescript-5.8.0-dev.20250119/lib/typescript.js:143300:19)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:152251:65
    at forEach (/typescript-5.8.0-dev.20250119/lib/typescript.js:2305:22)
    at cleanupSemanticCache (/typescript-5.8.0-dev.20250119/lib/typescript.js:152251:7)
    at Object.dispose (/typescript-5.8.0-dev.20250119/lib/typescript.js:152256:5)
    at ConfiguredProject2.close (/typescript-5.8.0-dev.20250119/lib/typescript.js:186842:26)
    at ConfiguredProject2.close (/typescript-5.8.0-dev.20250119/lib/typescript.js:188438:11)
    at _ProjectService.removeProject (/typescript-5.8.0-dev.20250119/lib/typescript.js:189751:13)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:191741:33
    at _ProjectService.cleanupConfiguredProjects (/typescript-5.8.0-dev.20250119/lib/typescript.js:191741:7)
    at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.8.0-dev.20250119/lib/typescript.js:191744:10)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.8.0-dev.20250119/lib/typescript.js:191992:12)
    at updateOpen (/typescript-5.8.0-dev.20250119/lib/typescript.js:193212:29)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:195931:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20250119/lib/typescript.js:195920:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20250119/lib/typescript.js:195929:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20250119/lib/typescript.js:195977:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20250119/lib/_tsserver.js:495:14)

Affected repos

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

Last few requests

{"seq":186,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ui/pages/routes.tsx","line":4,"offset":41,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":187,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/ui/pages/routes.tsx","line":4,"offset":41,"entryNames":["g6LongText"]}}
{"seq":188,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/scripts/bundleDeps.ts"],"openFiles":[]}}
{"seq":189,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/ui/pages/index.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/umijs/umi --recurse-submodules
git -C "./umi" reset --hard cca66a2edbdb7bad96e87eb701246208f37448fe
pnpm --dir "./umi" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/umijs.umi.replay.txt > umijs.umi.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./umi ./umijs.umi.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

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

Req #97 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.8.0-dev.20250119/lib/typescript.js:143129:18)
    at getDocumentRegistryEntry (/typescript-5.8.0-dev.20250119/lib/typescript.js:143205:19)
    at Object.releaseDocumentWithKey (/typescript-5.8.0-dev.20250119/lib/typescript.js:143300:19)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:152251:65
    at forEach (/typescript-5.8.0-dev.20250119/lib/typescript.js:2305:22)
    at cleanupSemanticCache (/typescript-5.8.0-dev.20250119/lib/typescript.js:152251:7)
    at Object.dispose (/typescript-5.8.0-dev.20250119/lib/typescript.js:152256:5)
    at ConfiguredProject2.close (/typescript-5.8.0-dev.20250119/lib/typescript.js:186842:26)
    at ConfiguredProject2.close (/typescript-5.8.0-dev.20250119/lib/typescript.js:188438:11)
    at _ProjectService.removeProject (/typescript-5.8.0-dev.20250119/lib/typescript.js:189751:13)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:191741:33
    at _ProjectService.cleanupConfiguredProjects (/typescript-5.8.0-dev.20250119/lib/typescript.js:191741:7)
    at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.8.0-dev.20250119/lib/typescript.js:191744:10)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.8.0-dev.20250119/lib/typescript.js:191992:12)
    at updateOpen (/typescript-5.8.0-dev.20250119/lib/typescript.js:193212:29)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:195931:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20250119/lib/typescript.js:195920:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20250119/lib/typescript.js:195929:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20250119/lib/typescript.js:195977:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20250119/lib/_tsserver.js:495:14)

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

{"seq":94,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/types/Credential.d.ts","line":9,"offset":26,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":95,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/types/Credential.d.ts","line":9,"offset":26,"entryNames":["app"]}}
{"seq":96,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/ui/index.ts"],"openFiles":[]}}
{"seq":97,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/types/@wojtekmaj__react-daterange-picker.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/calcom/cal.com --recurse-submodules
git -C "./cal.com" reset --hard b4a51d35602beeb84a187d6cc0f3ca2e6f142f8d
yarn --cwd "./cal.com" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/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:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./cal.com ./calcom.cal.com.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Error: Debug Failure. False expression.

Req #1505 - completionInfo
    at Object.addImportFromExportedSymbol (/typescript-5.8.0-dev.20250119/lib/typescript.js:157601:13)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:164902:38
    at importSymbols (/typescript-5.8.0-dev.20250119/lib/typescript.js:164902:11)
    at Object.addNewNodeForMemberSymbol (/typescript-5.8.0-dev.20250119/lib/typescript.js:164255:11)
    at getEntryForMemberCompletion (/typescript-5.8.0-dev.20250119/lib/typescript.js:167172:22)
    at createCompletionEntry (/typescript-5.8.0-dev.20250119/lib/typescript.js:167012:35)
    at getCompletionEntriesFromSymbols (/typescript-5.8.0-dev.20250119/lib/typescript.js:167655:19)
    at completionInfoFromData (/typescript-5.8.0-dev.20250119/lib/typescript.js:166645:23)
    at Object.getCompletionsAtPosition (/typescript-5.8.0-dev.20250119/lib/typescript.js:166178:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.8.0-dev.20250119/lib/typescript.js:152391:35)
    at IOSession.getCompletions (/typescript-5.8.0-dev.20250119/lib/typescript.js:195155:54)
    at completionInfo (/typescript-5.8.0-dev.20250119/lib/typescript.js:193429:43)
    at /typescript-5.8.0-dev.20250119/lib/typescript.js:195931:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20250119/lib/typescript.js:195920:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20250119/lib/typescript.js:195929:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20250119/lib/typescript.js:195977:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20250119/lib/_tsserver.js:495:14)

Affected repos

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

Last few requests

{"seq":1502,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-relational/generator.ts","line":283,"offset":6}}
{"seq":1503,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-relational/generator.ts","line":283,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":1504,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-relational/generator.ts","line":283,"offset":6,"entryNames":["@abstract"]}}
{"seq":1505,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/generators/spring-data-relational/generator.ts","line":287,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/jhipster/generator-jhipster --recurse-submodules
git -C "./generator-jhipster" reset --hard 799f87680d9bf6a630d43c82504fa3e4775b445e
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./generator-jhipster" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/vue/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/react/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/javascript/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/generate-blueprint/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/common/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/client/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./generator-jhipster/generators/angular/resources" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164580/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/jhipster.generator-jhipster.replay.txt > jhipster.generator-jhipster.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./generator-jhipster ./jhipster.generator-jhipster.replay.txt <PATH_TO_tsserver.js>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant