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][JavaScript] 5.9.0-dev.20250309 vs 5.8.2 #61385

Open
typescript-bot opened this issue Mar 9, 2025 · 3 comments
Open

[ServerErrors][JavaScript] 5.9.0-dev.20250309 vs 5.8.2 #61385

typescript-bot opened this issue Mar 9, 2025 · 3 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.9.0-dev.20250309 vs 5.8.2
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 290 of 300 visited repos
Outcome Count
Detected interesting changes 3
Detected no interesting changes 287
Git clone failed 3
Unknown failure 7

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

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

Last few requests

{"seq":22119,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14968,"offset":14,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":22120,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14968,"offset":14,"entryNames":["$"]}}
{"seq":22121,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14976,"offset":52,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}
{"seq":22122,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":14999,"offset":64,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"\""}}

Repro steps

#!/bin/bash

git clone https://github.com/tastejs/todomvc --recurse-submodules
git -C "./todomvc" reset --hard c8aedce5f512e47991a62b37b9ee3ef38df1a4b6
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./todomvc" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/tooling" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/tests" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/tasks" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/web-components" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/vue" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/typescript-react" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/typescript-backbone" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/typescript-angular" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/svelte" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/riotjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/reagent" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/react-redux" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/ractive" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/preact" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/polymer" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/mithril" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/lit" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/lavaca_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/knockoutjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/knockoutjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/knockback" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/jsblocks" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/js_of_ocaml" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/jquery" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/javascript-es6" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/javascript-es5" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/gwt" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/exoskeleton" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/enyo_backbone" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
pnpm --dir "./todomvc/examples/emberjs/todomvc" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
npm --prefix "./todomvc/examples/elm" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/duel" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/dojo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/dijon" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/cujo" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/closure" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/canjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/canjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/binding-scala" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/backbone_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/backbone_marionette" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/backbone" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/aurelia" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/angularjs_require" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/angularjs_require/test" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/angular-dart" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/examples/angular" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/bower_components/webcomponentsjs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./todomvc/bower_components/bootstrap" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164913/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/tastejs.todomvc.replay.txt > tastejs.todomvc.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 ./todomvc ./tastejs.todomvc.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Error: Debug Failure. No error for last overload signature

Req #184 - completionInfo
    at resolveCall (/typescript-5.9.0-dev.20250309/lib/typescript.js:80187:19)
    at resolveCallExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:80581:12)
    at resolveSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81009:16)
    at getResolvedSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81036:20)
    at getContextualTypeForArgumentAtIndex (/typescript-5.9.0-dev.20250309/lib/typescript.js:76451:112)
    at getContextualTypeForArgument (/typescript-5.9.0-dev.20250309/lib/typescript.js:76442:39)
    at getContextualType2 (/typescript-5.9.0-dev.20250309/lib/typescript.js:77029:16)
    at getApparentTypeOfContextualType (/typescript-5.9.0-dev.20250309/lib/typescript.js:76958:120)
    at getContextualSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:77357:18)
    at getContextuallyTypedParameterType (/typescript-5.9.0-dev.20250309/lib/typescript.js:76247:33)
    at getTypeForVariableLikeDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:59709:114)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:60175:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:60320:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.9.0-dev.20250309/lib/typescript.js:60256:20)
    at getTypeOfSymbol (/typescript-5.9.0-dev.20250309/lib/typescript.js:60579:14)
    at getNarrowedTypeOfSymbol (/typescript-5.9.0-dev.20250309/lib/typescript.js:75544:18)
    at checkIdentifier (/typescript-5.9.0-dev.20250309/lib/typescript.js:75687:16)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84542:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at checkNonNullExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78491:29)
    at checkPropertyAccessExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78570:162)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84576:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at checkNonNullExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78491:29)
    at checkPropertyAccessExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78570:162)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84576:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at checkNonNullExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78491:29)
    at checkPropertyAccessExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78570:162)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84576:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at resolveCallExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:80525:20)
    at resolveSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81009:16)
    at getResolvedSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81036:20)
    at getContextualTypeForArgumentAtIndex (/typescript-5.9.0-dev.20250309/lib/typescript.js:76451:112)
    at getContextualTypeForArgument (/typescript-5.9.0-dev.20250309/lib/typescript.js:76442:39)
    at getContextualType2 (/typescript-5.9.0-dev.20250309/lib/typescript.js:77029:16)
    at getApparentTypeOfContextualType (/typescript-5.9.0-dev.20250309/lib/typescript.js:76958:120)
    at getContextualSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:77357:18)
    at getContextualSignatureForFunctionLikeDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:77349:87)
    at getSignatureFromDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:63186:192)
    at getSignaturesOfSymbol (/typescript-5.9.0-dev.20250309/lib/typescript.js:63351:118)
    at resolveAnonymousTypeMembers (/typescript-5.9.0-dev.20250309/lib/typescript.js:61996:29)
    at resolveStructuredTypeMembers (/typescript-5.9.0-dev.20250309/lib/typescript.js:62307:11)
    at getSignaturesOfStructuredType (/typescript-5.9.0-dev.20250309/lib/typescript.js:62998:24)
    at getSignaturesOfType (/typescript-5.9.0-dev.20250309/lib/typescript.js:63004:20)
    at getOuterTypeParameters (/typescript-5.9.0-dev.20250309/lib/typescript.js:60672:48)
    at getObjectTypeInstantiation (/typescript-5.9.0-dev.20250309/lib/typescript.js:67087:33)
    at instantiateTypeWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:67341:16)
    at instantiateTypeWithAlias (/typescript-5.9.0-dev.20250309/lib/typescript.js:67321:20)
    at instantiateType (/typescript-5.9.0-dev.20250309/lib/typescript.js:67299:29)
    at getSignatureApplicabilityError (/typescript-5.9.0-dev.20250309/lib/typescript.js:79753:49)
    at chooseOverload (/typescript-5.9.0-dev.20250309/lib/typescript.js:80383:15)
    at resolveCall (/typescript-5.9.0-dev.20250309/lib/typescript.js:80139:16)
    at resolveNewExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:80618:14)
    at resolveSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81011:16)
    at getResolvedSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81036:20)
    at checkCallExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:81144:23)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84587:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at getContextFreeTypeOfExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84476:42)
    at addEvolvingArrayElementType (/typescript-5.9.0-dev.20250309/lib/typescript.js:73627:80)
    at getTypeAtFlowArrayMutation (/typescript-5.9.0-dev.20250309/lib/typescript.js:74144:32)
    at getTypeAtFlowNode (/typescript-5.9.0-dev.20250309/lib/typescript.js:74010:18)
    at getTypeAtFlowLoopLabel (/typescript-5.9.0-dev.20250309/lib/typescript.js:74273:22)
    at getTypeAtFlowNode (/typescript-5.9.0-dev.20250309/lib/typescript.js:74008:81)
    at getFlowTypeOfReference (/typescript-5.9.0-dev.20250309/lib/typescript.js:73951:45)
    at checkIdentifier (/typescript-5.9.0-dev.20250309/lib/typescript.js:75732:134)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84542:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at checkNonNullExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78491:29)
    at checkPropertyAccessExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:78570:162)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84576:16)
    at checkExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:84486:32)
    at resolveCallExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:80525:20)
    at resolveSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81009:16)
    at getResolvedSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81036:20)
    at getContextualTypeForArgumentAtIndex (/typescript-5.9.0-dev.20250309/lib/typescript.js:76451:112)
    at getContextualTypeForArgument (/typescript-5.9.0-dev.20250309/lib/typescript.js:76442:39)
    at getContextualType2 (/typescript-5.9.0-dev.20250309/lib/typescript.js:77029:16)
    at inferTypeArguments (/typescript-5.9.0-dev.20250309/lib/typescript.js:79468:30)
    at chooseOverload (/typescript-5.9.0-dev.20250309/lib/typescript.js:80347:50)
    at resolveCall (/typescript-5.9.0-dev.20250309/lib/typescript.js:80139:16)
    at resolveNewExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:80618:14)
    at resolveSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81011:16)
    at getResolvedSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:81036:20)
    at getContextualTypeForArgumentAtIndex (/typescript-5.9.0-dev.20250309/lib/typescript.js:76451:112)
    at getContextualTypeForArgument (/typescript-5.9.0-dev.20250309/lib/typescript.js:76442:39)
    at getContextualType2 (/typescript-5.9.0-dev.20250309/lib/typescript.js:77029:16)
    at getApparentTypeOfContextualType (/typescript-5.9.0-dev.20250309/lib/typescript.js:76958:120)
    at getContextualSignature (/typescript-5.9.0-dev.20250309/lib/typescript.js:77357:18)
    at getContextuallyTypedParameterType (/typescript-5.9.0-dev.20250309/lib/typescript.js:76247:33)
    at getTypeForVariableLikeDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:59709:114)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-5.9.0-dev.20250309/lib/typescript.js:60175:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:60320:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-5.9.0-dev.20250309/lib/typescript.js:60256:20)
    at getTypeOfSymbol (/typescript-5.9.0-dev.20250309/lib/typescript.js:60579:14)
    at getNarrowedTypeOfSymbol (/typescript-5.9.0-dev.20250309/lib/typescript.js:75544:18)
    at checkIdentifier (/typescript-5.9.0-dev.20250309/lib/typescript.js:75687:16)
    at checkExpressionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:84542:16)

Affected repos

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

Last few requests

{"seq":181,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/_scripts/ProcessLocalesPlugin.js","line":46,"offset":7,"entryNames":["@abstract"]}}
{"seq":182,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/_scripts/ProcessLocalesPlugin.js","line":67,"offset":13}}
{"seq":183,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/_scripts/ProcessLocalesPlugin.js","line":67,"offset":13}}
{"seq":184,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/_scripts/ProcessLocalesPlugin.js","line":89,"offset":25,"includeExternalModuleExports":true,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/FreeTubeApp/FreeTube --recurse-submodules
git -C "./FreeTube" reset --hard 47656a226ba748805be02940812cb2cadc623d18
yarn --cwd "./FreeTube" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164913/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/FreeTubeApp.FreeTube.replay.txt > FreeTubeApp.FreeTube.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 ./FreeTube ./FreeTubeApp.FreeTube.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

Error: Debug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia

Req #3368 - references
    at addSyntheticNodes (/typescript-5.9.0-dev.20250309/lib/typescript.js:151011:15)
    at createSyntaxList (/typescript-5.9.0-dev.20250309/lib/typescript.js:151026:5)
    at processNodes (/typescript-5.9.0-dev.20250309/lib/typescript.js:150991:19)
    at visitNodes (/typescript-5.9.0-dev.20250309/lib/typescript.js:32314:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.9.0-dev.20250309/lib/typescript.js:32466:12)
    at forEachChild (/typescript-5.9.0-dev.20250309/lib/typescript.js:32830:35)
    at NodeObject.forEachChild (/typescript-5.9.0-dev.20250309/lib/typescript.js:150971:12)
    at createChildren (/typescript-5.9.0-dev.20250309/lib/typescript.js:150996:8)
    at NodeObject.getChildren (/typescript-5.9.0-dev.20250309/lib/typescript.js:150950:83)
    at getTokenAtPositionWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:139233:32)
    at getTouchingToken (/typescript-5.9.0-dev.20250309/lib/typescript.js:139206:10)
    at getTouchingPropertyName (/typescript-5.9.0-dev.20250309/lib/typescript.js:139203:10)
    at /typescript-5.9.0-dev.20250309/lib/typescript.js:172588:33
    at mapDefined (/typescript-5.9.0-dev.20250309/lib/typescript.js:2606:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.9.0-dev.20250309/lib/typescript.js:172587:12)
    at /typescript-5.9.0-dev.20250309/lib/typescript.js:173114:25
    at flatMap (/typescript-5.9.0-dev.20250309/lib/typescript.js:2536:17)
    at getReferencesForStringLiteral (/typescript-5.9.0-dev.20250309/lib/typescript.js:173112:24)
    at Object.getReferencedSymbolsForNode (/typescript-5.9.0-dev.20250309/lib/typescript.js:171992:16)
    at Object.findReferencedSymbols (/typescript-5.9.0-dev.20250309/lib/typescript.js:171596:34)
    at Object.findReferences (/typescript-5.9.0-dev.20250309/lib/typescript.js:152396:41)
    at /typescript-5.9.0-dev.20250309/lib/typescript.js:192674:43
    at searchPosition (/typescript-5.9.0-dev.20250309/lib/typescript.js:192815:28)
    at getPerProjectReferences (/typescript-5.9.0-dev.20250309/lib/typescript.js:192794:32)
    at getReferencesWorker (/typescript-5.9.0-dev.20250309/lib/typescript.js:192661:29)
    at IOSession.getReferences (/typescript-5.9.0-dev.20250309/lib/typescript.js:194695:24)
    at references (/typescript-5.9.0-dev.20250309/lib/typescript.js:193104:43)
    at /typescript-5.9.0-dev.20250309/lib/typescript.js:195724:15
    at IOSession.executeWithRequestId (/typescript-5.9.0-dev.20250309/lib/typescript.js:195713:14)
    at IOSession.executeCommand (/typescript-5.9.0-dev.20250309/lib/typescript.js:195722:29)
    at IOSession.onMessage (/typescript-5.9.0-dev.20250309/lib/typescript.js:195770:68)
    at Interface.<anonymous> (/typescript-5.9.0-dev.20250309/lib/_tsserver.js:495:14)

Affected repos

HumanSignal/label-studio Raw error text: RepoResults6/HumanSignal.label-studio.rawError.txt in the artifact folder
Replay commands: RepoResults6/HumanSignal.label-studio.replay.txt in the artifact folder

Last few requests

{"seq":3365,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":1310123,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":3366,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":1310123,"entryNames":["nodes"]}}
{"seq":3367,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":1310577}}
{"seq":3368,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":1310577}}

Repro steps

#!/bin/bash

git clone https://github.com/HumanSignal/label-studio --recurse-submodules
git -C "./label-studio" reset --hard 827e3a6edc66b4c3425be1fde5291674808ca732
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164913/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/HumanSignal.label-studio.replay.txt > HumanSignal.label-studio.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 ./label-studio ./HumanSignal.label-studio.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