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.8.0-dev.20241117 vs 5.6.3 #60526

Open
typescript-bot opened this issue Nov 17, 2024 · 5 comments
Open

[ServerErrors][JavaScript] 5.8.0-dev.20241117 vs 5.6.3 #60526

typescript-bot opened this issue Nov 17, 2024 · 5 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.8.0-dev.20241117 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 290 of 300 visited repos
Outcome Count
Detected interesting changes 5
Detected no interesting changes 285
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":22228,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15742,"offset":99}}
{"seq":22229,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15742,"offset":99}}
{"seq":22230,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15742,"offset":109}}
{"seq":22231,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":15742,"offset":109,"includeExternalModuleExports":false,"triggerKind":1}}

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/164177/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

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

Req #337 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.8.0-dev.20241117/lib/typescript.js:142936:18)
    at getDocumentRegistryEntry (/typescript-5.8.0-dev.20241117/lib/typescript.js:143012:19)
    at Object.releaseDocumentWithKey (/typescript-5.8.0-dev.20241117/lib/typescript.js:143107:19)
    at releaseOldSourceFile (/typescript-5.8.0-dev.20241117/lib/typescript.js:151963:24)
    at Object.onReleaseOldSourceFile (/typescript-5.8.0-dev.20241117/lib/typescript.js:151967:7)
    at createProgram (/typescript-5.8.0-dev.20241117/lib/typescript.js:126225:14)
    at synchronizeHostDataWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:151923:15)
    at synchronizeHostData (/typescript-5.8.0-dev.20241117/lib/typescript.js:151818:7)
    at Object.getProgram (/typescript-5.8.0-dev.20241117/lib/typescript.js:152000:5)
    at InferredProject2.updateGraphWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:187011:41)
    at InferredProject2.updateGraph (/typescript-5.8.0-dev.20241117/lib/typescript.js:186846:32)
    at updateProjectIfDirty (/typescript-5.8.0-dev.20241117/lib/typescript.js:188674:36)
    at _ProjectService.assignProjectToOpenedScriptInfo (/typescript-5.8.0-dev.20241117/lib/typescript.js:191236:29)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:191776:27
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.8.0-dev.20241117/lib/typescript.js:191773:56)
    at updateOpen (/typescript-5.8.0-dev.20241117/lib/typescript.js:193005:29)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:195725:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20241117/lib/typescript.js:195714:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20241117/lib/typescript.js:195723:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20241117/lib/typescript.js:195771:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20241117/lib/_tsserver.js:495:14)

Affected repos

eslint/eslint Raw error text: RepoResults4/eslint.eslint.rawError.txt in the artifact folder
Replay commands: RepoResults4/eslint.eslint.replay.txt in the artifact folder

Last few requests

{"seq":334,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tools/fetch-docs-links.js","line":89,"offset":41,"entryNames":["BASE_DIR"]}}
{"seq":335,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/tools/fetch-docs-links.js","line":111,"offset":79}}
{"seq":336,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/Makefile.js"],"openFiles":[]}}
{"seq":337,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/tools/eslint-fuzzer.js","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/eslint/eslint --recurse-submodules
git -C "./eslint" reset --hard 6f37b0747a14dfa9a9e3bdebc5caed1f39b6b0e2
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./eslint" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./eslint/packages/js" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./eslint/packages/eslint-config-eslint" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./eslint/docs" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./eslint/docs/_examples/integration-tutorial-code" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./eslint/docs/_examples/custom-rule-tutorial-code" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164177/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults4.zip "$downloadUrl"
unzip -p RepoResults4.zip RepoResults4/eslint.eslint.replay.txt > eslint.eslint.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 ./eslint ./eslint.eslint.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

RangeError: Maximum call stack size exceeded

Req #17010 - completionInfo
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:74625:174
    at filter (/typescript-5.8.0-dev.20241117/lib/typescript.js:2450:23)
    at filterType (/typescript-5.8.0-dev.20241117/lib/typescript.js:73475:24)
    at narrowTypeBySwitchOnDiscriminant (/typescript-5.8.0-dev.20241117/lib/typescript.js:74625:27)
    at getTypeAtSwitchClause (/typescript-5.8.0-dev.20241117/lib/typescript.js:74126:16)
    at getTypeAtFlowNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:73950:18)
    at getFlowTypeOfReference (/typescript-5.8.0-dev.20241117/lib/typescript.js:73899:45)
    at checkIdentifier (/typescript-5.8.0-dev.20241117/lib/typescript.js:75676:134)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84443:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:79214:9
    at forEach (/typescript-5.8.0-dev.20241117/lib/typescript.js:2298:22)
    at resolveUntypedCall (/typescript-5.8.0-dev.20241117/lib/typescript.js:79213:7)
    at resolveCallExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:80482:14)
    at resolveSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:80938:16)
    at getResolvedSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:80965:20)
    at checkCallExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:81073:23)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84488:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionCached (/typescript-5.8.0-dev.20241117/lib/typescript.js:84011:28)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:82417:20
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17795:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInDefaultClause (/typescript-5.8.0-dev.20241117/lib/typescript.js:32405:12)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInCaseBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32399:12)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNode2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:32137:18)
    at forEachChildInSwitchStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:32396:51)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32615:10)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at forEachReturnStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:17791:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.8.0-dev.20241117/lib/typescript.js:82398:5)
    at getReturnTypeFromBody (/typescript-5.8.0-dev.20241117/lib/typescript.js:82226:21)
    at getReturnTypeOfSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:63321:426)
    at checkCallExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:81098:24)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84488:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkConditionalExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:83937:19)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84524:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionCached (/typescript-5.8.0-dev.20241117/lib/typescript.js:84011:28)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:82417:20
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17795:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInCaseClause (/typescript-5.8.0-dev.20241117/lib/typescript.js:32402:51)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInCaseBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32399:12)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNode2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:32137:18)
    at forEachChildInSwitchStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:32396:51)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32615:10)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at forEachReturnStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:17791:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.8.0-dev.20241117/lib/typescript.js:82398:5)
    at getReturnTypeFromBody (/typescript-5.8.0-dev.20241117/lib/typescript.js:82226:21)
    at getReturnTypeOfSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:63321:426)
    at checkCallExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:81098:24)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84488:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionCached (/typescript-5.8.0-dev.20241117/lib/typescript.js:84011:28)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:82417:20
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17795:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInCaseClause (/typescript-5.8.0-dev.20241117/lib/typescript.js:32402:51)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInCaseBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32399:12)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNode2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:32137:18)
    at forEachChildInSwitchStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:32396:51)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32145:22)
    at forEachChildInBlock (/typescript-5.8.0-dev.20241117/lib/typescript.js:32615:10)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at traverse (/typescript-5.8.0-dev.20241117/lib/typescript.js:17811:16)
    at forEachReturnStatement (/typescript-5.8.0-dev.20241117/lib/typescript.js:17791:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-5.8.0-dev.20241117/lib/typescript.js:82398:5)
    at getReturnTypeFromBody (/typescript-5.8.0-dev.20241117/lib/typescript.js:82226:21)
    at getReturnTypeOfSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:63321:426)
    at checkCallExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:81098:24)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84488:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)

Affected repos

microsoft/monaco-editor Raw error text: RepoResults2/microsoft.monaco-editor.rawError.txt in the artifact folder
Replay commands: RepoResults2/microsoft.monaco-editor.replay.txt in the artifact folder

Last few requests

{"seq":17007,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51611,"offset":59,"entryNames":["__commonJS"]}}
{"seq":17008,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51632,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":17009,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51632,"offset":1,"entryNames":["__commonJS"]}}
{"seq":17010,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/language/typescript/lib/typescriptServices.js","line":51680,"offset":48,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}

Repro steps

#!/bin/bash

git clone https://github.com/microsoft/monaco-editor --recurse-submodules
git -C "./monaco-editor" reset --hard a4b088e410209a27d5729713294800eba0d6b5b3
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
npm --prefix "./monaco-editor" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
yarn --cwd "./monaco-editor/website" install --ignore-engines --ignore-scripts --silent
npm --prefix "./monaco-editor/webpack-plugin" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/test/smoke/parcel" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/electron-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/electron-amd-nodeIntegration" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/electron-amd" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-webpack-typescript-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-webpack-typescript" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-webpack-small" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-webpack-monaco-plugin" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-webpack" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-vite-react" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-parcel" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./monaco-editor/samples/browser-esm-esbuild" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164177/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/microsoft.monaco-editor.replay.txt > microsoft.monaco-editor.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 ./monaco-editor ./microsoft.monaco-editor.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

RangeError: Maximum call stack size exceeded

Req #1286 - references
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55962:47)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:55206:24)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:54952:202
    at withContext2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:55149:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:54952:107)
    at typeToString (/typescript-5.8.0-dev.20241117/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241117/lib/typescript.js:78899:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241117/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241117/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241117/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241117/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241117/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241117/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:55206:24)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:54952:202
    at withContext2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:55149:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:54952:107)
    at typeToString (/typescript-5.8.0-dev.20241117/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241117/lib/typescript.js:78899:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241117/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241117/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241117/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241117/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241117/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241117/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:55651:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:55444:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:55206:24)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:54952:202
    at withContext2 (/typescript-5.8.0-dev.20241117/lib/typescript.js:55149:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:54952:107)
    at typeToString (/typescript-5.8.0-dev.20241117/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241117/lib/typescript.js:78899:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241117/lib/typescript.js:78727:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:78508:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84477:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241117/lib/typescript.js:84146:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241117/lib/typescript.js:84162:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:77610:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:84475:16)
    at checkExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84387:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:84328:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:91199:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241117/lib/typescript.js:137279:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:137499:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137360:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:137756:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137722:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:137139:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241117/lib/typescript.js:57270:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241117/lib/typescript.js:56289:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241117/lib/typescript.js:56110:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241117/lib/typescript.js:56018:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55788:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241117/lib/typescript.js:55711:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:55651:20)

Affected repos

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

Last few requests

{"seq":1283,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":2477,"offset":15,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":1284,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":2510,"offset":38,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":1285,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":2525,"offset":38}}
{"seq":1286,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":2525,"offset":38}}

Repro steps

#!/bin/bash

git clone https://github.com/less/less.js --recurse-submodules
git -C "./less.js" reset --hard 09b8f5cf4d9218799a70be5179251200296a0560
npm --prefix "./less.js" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164177/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/less.less.js.replay.txt > less.less.js.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 ./less.js ./less.less.js.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 #6376 - references
    at addSyntheticNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:150990:15)
    at createSyntaxList (/typescript-5.8.0-dev.20241117/lib/typescript.js:151005:5)
    at processNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:150970:19)
    at visitNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:32142:14)
    at forEachChildInObjectLiteralExpression (/typescript-5.8.0-dev.20241117/lib/typescript.js:32294:12)
    at forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:32658:35)
    at NodeObject.forEachChild (/typescript-5.8.0-dev.20241117/lib/typescript.js:150950:12)
    at createChildren (/typescript-5.8.0-dev.20241117/lib/typescript.js:150975:8)
    at NodeObject.getChildren (/typescript-5.8.0-dev.20241117/lib/typescript.js:150929:83)
    at getTokenAtPositionWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:139213:32)
    at getTouchingToken (/typescript-5.8.0-dev.20241117/lib/typescript.js:139186:10)
    at getTouchingPropertyName (/typescript-5.8.0-dev.20241117/lib/typescript.js:139183:10)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:172570:33
    at mapDefined (/typescript-5.8.0-dev.20241117/lib/typescript.js:2599:22)
    at getPossibleSymbolReferenceNodes (/typescript-5.8.0-dev.20241117/lib/typescript.js:172569:12)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:173096:25
    at flatMap (/typescript-5.8.0-dev.20241117/lib/typescript.js:2529:17)
    at getReferencesForStringLiteral (/typescript-5.8.0-dev.20241117/lib/typescript.js:173094:24)
    at Object.getReferencedSymbolsForNode (/typescript-5.8.0-dev.20241117/lib/typescript.js:171974:16)
    at Object.findReferencedSymbols (/typescript-5.8.0-dev.20241117/lib/typescript.js:171578:34)
    at Object.findReferences (/typescript-5.8.0-dev.20241117/lib/typescript.js:152397:41)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:192673:43
    at searchPosition (/typescript-5.8.0-dev.20241117/lib/typescript.js:192814:28)
    at getPerProjectReferences (/typescript-5.8.0-dev.20241117/lib/typescript.js:192793:32)
    at getReferencesWorker (/typescript-5.8.0-dev.20241117/lib/typescript.js:192660:29)
    at IOSession.getReferences (/typescript-5.8.0-dev.20241117/lib/typescript.js:194694:24)
    at references (/typescript-5.8.0-dev.20241117/lib/typescript.js:193103:43)
    at /typescript-5.8.0-dev.20241117/lib/typescript.js:195725:15
    at IOSession.executeWithRequestId (/typescript-5.8.0-dev.20241117/lib/typescript.js:195714:14)
    at IOSession.executeCommand (/typescript-5.8.0-dev.20241117/lib/typescript.js:195723:29)
    at IOSession.onMessage (/typescript-5.8.0-dev.20241117/lib/typescript.js:195771:68)
    at Interface.<anonymous> (/typescript-5.8.0-dev.20241117/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":6373,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":107276,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":6374,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":107276,"entryNames":["a"]}}
{"seq":6375,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":108224}}
{"seq":6376,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/492.js","line":2,"offset":108224}}

Repro steps

#!/bin/bash

git clone https://github.com/HumanSignal/label-studio --recurse-submodules
git -C "./label-studio" reset --hard fc494384eddf63c79287dfed4602080a51d19364
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./label-studio/web" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./label-studio/web/tools/version" install --ignore-engines --ignore-scripts --silent
npm --prefix "./label-studio/web/libs/ui" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./label-studio/web/libs/frontend-test/src/bin/assets" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
npm --prefix "./label-studio/web/libs/editor" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
yarn --cwd "./label-studio/web/libs/editor/tests/e2e" install --ignore-engines --ignore-scripts --silent
npm --prefix "./label-studio/web/libs/datamanager" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
yarn --cwd "./label-studio/docs" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164177/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