TypeScript
TypeScript copied to clipboard
[ServerErrors][JavaScript] 5.9.0-dev.20250316 vs 5.8.2
The following errors were reported by 5.9.0-dev.20250316 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 | 4 |
| Detected no interesting changes | 286 |
| Git clone failed | 4 |
| Unknown failure | 6 |
Investigation Status
| Repo | Errors | Outcome |
|---|
Error: Debug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia
Req #1807 - references
at addSyntheticNodes (/typescript-5.9.0-dev.20250316/lib/typescript.js:151008:15)
at createSyntaxList (/typescript-5.9.0-dev.20250316/lib/typescript.js:151023:5)
at processNodes (/typescript-5.9.0-dev.20250316/lib/typescript.js:150988:19)
at visitNodes (/typescript-5.9.0-dev.20250316/lib/typescript.js:32314:14)
at forEachChildInObjectLiteralExpression (/typescript-5.9.0-dev.20250316/lib/typescript.js:32466:12)
at forEachChild (/typescript-5.9.0-dev.20250316/lib/typescript.js:32830:35)
at NodeObject.forEachChild (/typescript-5.9.0-dev.20250316/lib/typescript.js:150968:12)
at createChildren (/typescript-5.9.0-dev.20250316/lib/typescript.js:150993:8)
at NodeObject.getChildren (/typescript-5.9.0-dev.20250316/lib/typescript.js:150947:83)
at getTokenAtPositionWorker (/typescript-5.9.0-dev.20250316/lib/typescript.js:139230:32)
at getTouchingToken (/typescript-5.9.0-dev.20250316/lib/typescript.js:139203:10)
at getTouchingPropertyName (/typescript-5.9.0-dev.20250316/lib/typescript.js:139200:10)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:172585:33
at mapDefined (/typescript-5.9.0-dev.20250316/lib/typescript.js:2606:22)
at getPossibleSymbolReferenceNodes (/typescript-5.9.0-dev.20250316/lib/typescript.js:172584:12)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:173111:25
at flatMap (/typescript-5.9.0-dev.20250316/lib/typescript.js:2536:17)
at getReferencesForStringLiteral (/typescript-5.9.0-dev.20250316/lib/typescript.js:173109:24)
at Object.getReferencedSymbolsForNode (/typescript-5.9.0-dev.20250316/lib/typescript.js:171989:16)
at Object.findReferencedSymbols (/typescript-5.9.0-dev.20250316/lib/typescript.js:171593:34)
at Object.findReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:152393:41)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:192671:43
at searchPosition (/typescript-5.9.0-dev.20250316/lib/typescript.js:192812:28)
at getPerProjectReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:192791:32)
at getReferencesWorker (/typescript-5.9.0-dev.20250316/lib/typescript.js:192658:29)
at IOSession.getReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:194692:24)
at references (/typescript-5.9.0-dev.20250316/lib/typescript.js:193101:43)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:195721:15
at IOSession.executeWithRequestId (/typescript-5.9.0-dev.20250316/lib/typescript.js:195710:14)
at IOSession.executeCommand (/typescript-5.9.0-dev.20250316/lib/typescript.js:195719:29)
at IOSession.onMessage (/typescript-5.9.0-dev.20250316/lib/typescript.js:195767:68)
at Interface.<anonymous> (/typescript-5.9.0-dev.20250316/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":1804,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":482679,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":1805,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":482818,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":1806,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":483434}}
{"seq":1807,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/apps/labelstudio/main.js","line":2,"offset":483434}}
Repro steps
#!/bin/bash
git clone https://github.com/HumanSignal/label-studio --recurse-submodules
git -C "./label-studio" reset --hard b8658e9c80f7bd238a42bc57f2fb515d9af35b83
# 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
npm --prefix "./label-studio/web/libs/core" 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/164934/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>
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":22309,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16304,"offset":124}}
{"seq":22310,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16304,"offset":129}}
{"seq":22311,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16304,"offset":134}}
{"seq":22312,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":16311,"offset":15,"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/164934/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>
Error: Debug Failure. False expression.
Req #22922 - references
at addIndirectUser (/typescript-5.9.0-dev.20250316/lib/typescript.js:171101:11)
at handleImportCall (/typescript-5.9.0-dev.20250316/lib/typescript.js:171067:5)
at handleDirectImports (/typescript-5.9.0-dev.20250316/lib/typescript.js:170993:15)
at getImportersForExport (/typescript-5.9.0-dev.20250316/lib/typescript.js:170967:3)
at State.importTracker (/typescript-5.9.0-dev.20250316/lib/typescript.js:170946:46)
at State.getImportSearches (/typescript-5.9.0-dev.20250316/lib/typescript.js:172362:19)
at searchForImportsOfExport (/typescript-5.9.0-dev.20250316/lib/typescript.js:172406:71)
at getImportOrExportReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:172798:7)
at getReferencesAtLocation (/typescript-5.9.0-dev.20250316/lib/typescript.js:172725:5)
at getReferencesInContainer (/typescript-5.9.0-dev.20250316/lib/typescript.js:172671:7)
at getReferencesInContainerOrFiles (/typescript-5.9.0-dev.20250316/lib/typescript.js:172266:7)
at getReferencedSymbolsForSymbol (/typescript-5.9.0-dev.20250316/lib/typescript.js:172259:7)
at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.9.0-dev.20250316/lib/typescript.js:172076:55)
at Object.getReferencedSymbolsForNode (/typescript-5.9.0-dev.20250316/lib/typescript.js:172003:30)
at Object.findReferencedSymbols (/typescript-5.9.0-dev.20250316/lib/typescript.js:171593:34)
at Object.findReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:152393:41)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:192671:43
at searchPosition (/typescript-5.9.0-dev.20250316/lib/typescript.js:192812:28)
at getPerProjectReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:192791:32)
at getReferencesWorker (/typescript-5.9.0-dev.20250316/lib/typescript.js:192658:29)
at IOSession.getReferences (/typescript-5.9.0-dev.20250316/lib/typescript.js:194692:24)
at references (/typescript-5.9.0-dev.20250316/lib/typescript.js:193101:43)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:195721:15
at IOSession.executeWithRequestId (/typescript-5.9.0-dev.20250316/lib/typescript.js:195710:14)
at IOSession.executeCommand (/typescript-5.9.0-dev.20250316/lib/typescript.js:195719:29)
at IOSession.onMessage (/typescript-5.9.0-dev.20250316/lib/typescript.js:195767:68)
at Interface.<anonymous> (/typescript-5.9.0-dev.20250316/lib/_tsserver.js:495:14)
Affected repos
Kong/insomnia
Raw error text:RepoResults2/Kong.insomnia.rawError.txt in the artifact folder Replay commands:
RepoResults2/Kong.insomnia.replay.txt in the artifact folder
Last few requests
{"seq":22919,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/src/ui/components/encoding-picker.tsx"}}
{"seq":22920,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/src/ui/components/encoding-picker.tsx"}}
{"seq":22921,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/src/ui/components/encoding-picker.tsx"}}
{"seq":22922,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/src/ui/components/encoding-picker.tsx","line":1,"offset":25}}
Repro steps
#!/bin/bash
git clone https://github.com/Kong/insomnia --recurse-submodules
git -C "./insomnia" reset --hard 44f3c132b782594a2935a01e7bb047275bde5ac0
npm --prefix "./insomnia" ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164934/artifacts?artifactName=RepoResults2&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults2.zip "$downloadUrl"
unzip -p RepoResults2.zip RepoResults2/Kong.insomnia.replay.txt > Kong.insomnia.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 ./insomnia ./Kong.insomnia.replay.txt <PATH_TO_tsserver.js>
TypeError: Cannot read properties of undefined (reading 'sourceFile')
Req #364 - updateOpen
at isDocumentRegistryEntry (/typescript-5.9.0-dev.20250316/lib/typescript.js:142953:18)
at getDocumentRegistryEntry (/typescript-5.9.0-dev.20250316/lib/typescript.js:143029:19)
at Object.releaseDocumentWithKey (/typescript-5.9.0-dev.20250316/lib/typescript.js:143124:19)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:152076:65
at forEach (/typescript-5.9.0-dev.20250316/lib/typescript.js:2305:22)
at cleanupSemanticCache (/typescript-5.9.0-dev.20250316/lib/typescript.js:152076:7)
at Object.dispose (/typescript-5.9.0-dev.20250316/lib/typescript.js:152081:5)
at InferredProject2.close (/typescript-5.9.0-dev.20250316/lib/typescript.js:186633:26)
at InferredProject2.close (/typescript-5.9.0-dev.20250316/lib/typescript.js:187748:11)
at _ProjectService.removeProject (/typescript-5.9.0-dev.20250316/lib/typescript.js:189542:13)
at _ProjectService.cleanupProjectsAndScriptInfos (/typescript-5.9.0-dev.20250316/lib/typescript.js:191542:14)
at _ProjectService.applyChangesInOpenFiles (/typescript-5.9.0-dev.20250316/lib/typescript.js:191783:12)
at updateOpen (/typescript-5.9.0-dev.20250316/lib/typescript.js:193003:29)
at /typescript-5.9.0-dev.20250316/lib/typescript.js:195721:15
at IOSession.executeWithRequestId (/typescript-5.9.0-dev.20250316/lib/typescript.js:195710:14)
at IOSession.executeCommand (/typescript-5.9.0-dev.20250316/lib/typescript.js:195719:29)
at IOSession.onMessage (/typescript-5.9.0-dev.20250316/lib/typescript.js:195767:68)
at Interface.<anonymous> (/typescript-5.9.0-dev.20250316/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":361,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tools/update-readme.js","line":84,"offset":65,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":362,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/tools/update-readme.js","line":118,"offset":24,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":363,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/eslint.config.js"],"openFiles":[]}}
{"seq":364,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/tools/fetch-docs-links.js","projectRootPath":"@PROJECT_ROOT@"}]}}
Repro steps
#!/bin/bash
git clone https://github.com/eslint/eslint --recurse-submodules
git -C "./eslint" reset --hard 5d574963b71529abbb84fbc4861230a050434664
# 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/164934/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>