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

Extract node type printer #59282

Conversation

dragomirtitian
Copy link
Contributor

Extract the syntactic type reuse both from type annotations and from assertions in order to enable a type printer Independent of the type checker.

@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jul 15, 2024
@DanielRosenwasser
Copy link
Member

@typescript-bot perf test this
@typescript-bot test tsserver top300

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 15, 2024

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
perf test this ✅ Started 👀 Results
test tsserver top300 ✅ Started 👀 Results

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 30 30 ~ ~ ~ p=1.000 n=6
Symbols 62,153 62,153 ~ ~ ~ p=1.000 n=6
Types 50,242 50,242 ~ ~ ~ p=1.000 n=6
Memory used 193,891k (± 0.99%) 193,290k (± 0.96%) ~ 191,990k 195,716k p=0.575 n=6
Parse Time 1.96s (± 0.83%) 1.96s (± 0.72%) ~ 1.94s 1.98s p=0.744 n=6
Bind Time 1.06s (± 1.14%) 1.05s (± 1.11%) ~ 1.04s 1.07s p=0.507 n=6
Check Time 13.78s (± 0.56%) 13.78s (± 0.35%) ~ 13.73s 13.83s p=0.748 n=6
Emit Time 4.00s (± 0.46%) 4.10s (± 4.11%) +0.10s (+ 2.54%) 4.03s 4.45s p=0.005 n=6
Total Time 20.80s (± 0.40%) 20.90s (± 0.76%) ~ 20.78s 21.21s p=0.228 n=6
angular-1 - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 944,120 944,245 +125 (+ 0.01%) ~ ~ p=0.001 n=6
Types 407,047 407,178 +131 (+ 0.03%) ~ ~ p=0.001 n=6
Memory used 1,218,385k (± 0.00%) 1,217,906k (± 0.00%) -479k (- 0.04%) 1,217,872k 1,217,962k p=0.005 n=6
Parse Time 7.99s (± 0.51%) 8.03s (± 0.36%) ~ 7.99s 8.07s p=0.109 n=6
Bind Time 2.22s (± 0.23%) 2.23s (± 0.37%) ~ 2.22s 2.24s p=0.523 n=6
Check Time 35.78s (± 0.22%) 35.92s (± 0.38%) +0.14s (+ 0.38%) 35.71s 36.08s p=0.045 n=6
Emit Time 16.17s (± 0.45%) 16.17s (± 0.15%) ~ 16.15s 16.22s p=0.629 n=6
Total Time 62.16s (± 0.12%) 62.34s (± 0.22%) +0.19s (+ 0.30%) 62.12s 62.50s p=0.045 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,249,830 2,249,880 +50 (+ 0.00%) ~ ~ p=0.001 n=6
Types 937,437 937,457 +20 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,165,089k (± 0.00%) 2,165,213k (± 0.01%) ~ 2,165,003k 2,165,372k p=0.378 n=6
Parse Time 9.69s (± 0.28%) 9.66s (± 0.37%) ~ 9.64s 9.73s p=0.192 n=6
Bind Time 3.38s (± 0.35%) 3.38s (± 0.71%) ~ 3.35s 3.42s p=0.742 n=6
Check Time 103.74s (± 0.30%) 103.99s (± 0.62%) ~ 102.81s 104.60s p=0.230 n=6
Emit Time 0.20s (± 4.47%) 0.20s (± 3.16%) ~ 0.19s 0.21s p=1.000 n=6
Total Time 117.01s (± 0.25%) 117.24s (± 0.56%) ~ 116.06s 117.86s p=0.229 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,226,065 1,227,068 +1,003 (+ 0.08%) ~ ~ p=0.001 n=6
Types 261,603 261,485 -118 (- 0.05%) ~ ~ p=0.001 n=6
Memory used 2,339,007k (± 0.01%) 2,338,110k (± 0.03%) -897k (- 0.04%) 2,336,806k 2,338,864k p=0.013 n=6
Parse Time 6.07s (± 0.61%) 6.07s (± 0.67%) ~ 6.02s 6.13s p=1.000 n=6
Bind Time 2.24s (± 0.46%) 2.26s (± 1.01%) ~ 2.22s 2.28s p=0.053 n=6
Check Time 40.00s (± 0.36%) 40.05s (± 0.12%) ~ 39.98s 40.13s p=0.378 n=6
Emit Time 3.84s (± 1.18%) 3.97s (± 1.81%) +0.12s (+ 3.21%) 3.87s 4.08s p=0.013 n=6
Total Time 52.16s (± 0.27%) 52.35s (± 0.21%) +0.19s (+ 0.36%) 52.18s 52.48s p=0.045 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,226,065 1,227,068 +1,003 (+ 0.08%) ~ ~ p=0.001 n=6
Types 261,603 261,485 -118 (- 0.05%) ~ ~ p=0.001 n=6
Memory used 2,413,292k (± 0.01%) 2,412,300k (± 0.03%) -992k (- 0.04%) 2,411,239k 2,413,348k p=0.013 n=6
Parse Time 7.89s (± 0.64%) 7.86s (± 0.92%) ~ 7.74s 7.94s p=0.471 n=6
Bind Time 2.50s (± 1.44%) 2.51s (± 1.24%) ~ 2.46s 2.54s p=0.469 n=6
Check Time 50.16s (± 0.23%) 50.12s (± 0.30%) ~ 50.01s 50.42s p=0.230 n=6
Emit Time 4.77s (± 0.99%) 4.96s (± 1.48%) +0.19s (+ 3.95%) 4.86s 5.03s p=0.005 n=6
Total Time 65.36s (± 0.20%) 65.47s (± 0.32%) ~ 65.29s 65.86s p=0.336 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 258,309 258,404 +95 (+ 0.04%) ~ ~ p=0.001 n=6
Types 104,794 104,674 -120 (- 0.11%) ~ ~ p=0.001 n=6
Memory used 427,239k (± 0.06%) 425,396k (± 0.01%) -1,843k (- 0.43%) 425,347k 425,446k p=0.005 n=6
Parse Time 3.33s (± 0.59%) 3.35s (± 0.44%) +0.02s (+ 0.75%) 3.33s 3.37s p=0.041 n=6
Bind Time 1.31s (± 1.15%) 1.32s (± 0.39%) ~ 1.32s 1.33s p=0.242 n=6
Check Time 17.79s (± 0.22%) 17.75s (± 0.36%) ~ 17.70s 17.85s p=0.226 n=6
Emit Time 1.62s (± 1.72%) 1.65s (± 0.33%) ~ 1.64s 1.65s p=0.061 n=6
Total Time 24.05s (± 0.25%) 24.08s (± 0.28%) ~ 24.02s 24.19s p=0.746 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 35 35 ~ ~ ~ p=1.000 n=6
Symbols 224,565 224,596 +31 (+ 0.01%) ~ ~ p=0.001 n=6
Types 93,734 93,753 +19 (+ 0.02%) ~ ~ p=0.001 n=6
Memory used 369,434k (± 0.02%) 369,637k (± 0.03%) +203k (+ 0.05%) 369,521k 369,754k p=0.008 n=6
Parse Time 2.77s (± 0.53%) 2.74s (± 0.64%) -0.03s (- 1.02%) 2.72s 2.77s p=0.023 n=6
Bind Time 1.59s (± 1.34%) 1.59s (± 1.40%) ~ 1.57s 1.62s p=1.000 n=6
Check Time 15.46s (± 0.39%) 15.48s (± 0.44%) ~ 15.40s 15.57s p=0.574 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 19.82s (± 0.35%) 19.81s (± 0.36%) ~ 19.72s 19.90s p=0.688 n=6
vscode - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,891,349 2,891,349 ~ ~ ~ p=1.000 n=6
Types 978,332 978,332 ~ ~ ~ p=1.000 n=6
Memory used 3,055,307k (± 0.00%) 3,055,381k (± 0.00%) ~ 3,055,298k 3,055,442k p=0.066 n=6
Parse Time 16.87s (± 0.43%) 16.87s (± 0.44%) ~ 16.74s 16.95s p=0.872 n=6
Bind Time 5.08s (± 0.19%) 5.10s (± 0.78%) ~ 5.06s 5.17s p=0.565 n=6
Check Time 89.20s (± 0.46%) 89.31s (± 0.21%) ~ 89.12s 89.64s p=0.936 n=6
Emit Time 29.10s (± 0.75%) 29.05s (± 0.21%) ~ 28.99s 29.16s p=0.873 n=6
Total Time 140.26s (± 0.32%) 140.33s (± 0.14%) ~ 140.11s 140.59s p=0.689 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 267,280 267,280 ~ ~ ~ p=1.000 n=6
Types 108,834 108,834 ~ ~ ~ p=1.000 n=6
Memory used 411,833k (± 0.02%) 411,971k (± 0.02%) ~ 411,874k 412,075k p=0.066 n=6
Parse Time 4.74s (± 0.29%) 4.75s (± 0.54%) ~ 4.72s 4.79s p=0.462 n=6
Bind Time 2.08s (± 0.66%) 2.08s (± 0.66%) ~ 2.07s 2.11s p=0.933 n=6
Check Time 20.74s (± 0.39%) 20.85s (± 0.20%) +0.12s (+ 0.56%) 20.81s 20.91s p=0.013 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 27.56s (± 0.30%) 27.68s (± 0.26%) +0.13s (+ 0.46%) 27.60s 27.77s p=0.025 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 510,479 510,480 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Types 161,598 161,605 +7 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 448,097k (± 0.08%) 448,136k (± 0.09%) ~ 447,682k 448,627k p=0.748 n=6
Parse Time 2.63s (± 0.72%) 2.63s (± 0.74%) ~ 2.61s 2.66s p=0.934 n=6
Bind Time 0.97s (± 0.56%) 0.97s (± 0.56%) ~ 0.97s 0.98s p=1.000 n=6
Check Time 14.46s (± 0.26%) 14.45s (± 0.38%) ~ 14.39s 14.52s p=0.806 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 18.07s (± 0.19%) 18.06s (± 0.35%) ~ 17.98s 18.14s p=0.873 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

tsserver

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,296ms (± 0.32%) 2,297ms (± 0.30%) ~ 2,286ms 2,305ms p=0.747 n=6
Req 2 - geterr 5,079ms (± 0.24%) 5,112ms (± 0.44%) +34ms (+ 0.66%) 5,073ms 5,133ms p=0.031 n=6
Req 3 - references 265ms (± 0.37%) 264ms (± 0.92%) ~ 260ms 266ms p=0.247 n=6
Req 4 - navto 227ms (± 0.60%) 227ms (± 0.72%) ~ 225ms 229ms p=0.414 n=6
Req 5 - completionInfo count 1,357 1,357 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 91ms (± 1.76%) 89ms (± 5.56%) ~ 81ms 93ms p=0.803 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,427ms (± 1.08%) 2,441ms (± 0.64%) ~ 2,422ms 2,458ms p=0.471 n=6
Req 2 - geterr 3,810ms (± 0.45%) 3,817ms (± 0.24%) ~ 3,803ms 3,826ms p=0.378 n=6
Req 3 - references 277ms (± 0.40%) 278ms (± 0.86%) ~ 277ms 283ms p=0.245 n=6
Req 4 - navto 227ms (± 0.33%) 227ms (± 0.23%) ~ 226ms 227ms p=0.241 n=6
Req 5 - completionInfo count 1,519 1,519 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 77ms (±10.60%) 80ms (± 6.82%) ~ 72ms 83ms p=1.000 n=6
xstate-main-1-tsserver - node (v18.15.0, x64)
Req 1 - updateOpen 5,253ms (± 0.50%) 5,252ms (± 0.31%) ~ 5,232ms 5,275ms p=0.809 n=6
Req 2 - geterr 1,132ms (± 0.63%) 1,119ms (± 1.52%) ~ 1,093ms 1,144ms p=0.148 n=6
Req 3 - references 80ms (± 4.21%) 80ms (± 4.82%) ~ 76ms 83ms p=1.000 n=6
Req 4 - navto 458ms (± 0.95%) 457ms (± 1.51%) ~ 446ms 465ms p=0.809 n=6
Req 5 - completionInfo count 3,413 3,413 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 846ms (± 1.05%) 847ms (± 1.18%) ~ 837ms 864ms p=0.936 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • CompilerTSServer - node (v18.15.0, x64)
  • Compiler-UnionsTSServer - node (v18.15.0, x64)
  • xstate-main-1-tsserver - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

startup

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
tsc-startup - node (v18.15.0, x64)
Execution time 157.29ms (± 0.18%) 157.30ms (± 0.15%) ~ 156.20ms 159.01ms p=0.347 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 230.61ms (± 0.13%) 230.82ms (± 0.17%) +0.20ms (+ 0.09%) 229.32ms 236.75ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 227.02ms (± 0.13%) 227.09ms (± 0.14%) ~ 225.51ms 230.88ms p=0.103 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 225.84ms (± 0.17%) 225.92ms (± 0.14%) +0.07ms (+ 0.03%) 224.62ms 229.09ms p=0.001 n=600
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • tsc-startup - node (v18.15.0, x64)
  • tsserver-startup - node (v18.15.0, x64)
  • tsserverlibrary-startup - node (v18.15.0, x64)
  • typescript-startup - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser Here are the results of running the top 300 repos with tsserver comparing main and refs/pull/59282/merge:

Something interesting changed - please have a look.

Details

⚠️ Old server errors ⚠️

New server no longer reports this error: Error: Debug Failure. False expression.
Req #2732 - organizeImports
    at Object.resetTokenState (/typescript-main/built/local/typescript.js:14397:11)
    at addSyntheticNodes (/typescript-main/built/local/typescript.js:148224:11)
    at createSyntaxList (/typescript-main/built/local/typescript.js:148252:3)
    at processNodes (/typescript-main/built/local/typescript.js:148213:19)
    at visitNodes (/typescript-main/built/local/typescript.js:31651:14)
    at forEachChildInMappedType (/typescript-main/built/local/typescript.js:31789:208)
    at forEachChild (/typescript-main/built/local/typescript.js:32167:35)
    at NodeObject.forEachChild (/typescript-main/built/local/typescript.js:148193:12)
    at createChildren (/typescript-main/built/local/typescript.js:148218:8)
    at NodeObject.getChildren (/typescript-main/built/local/typescript.js:148172:83)
    at getTokenAtPositionWorker (/typescript-main/built/local/typescript.js:136554:32)
    at getTouchingToken (/typescript-main/built/local/typescript.js:136527:10)
    at getTouchingPropertyName (/typescript-main/built/local/typescript.js:136524:10)
    at /typescript-main/built/local/typescript.js:169126:33
    at mapDefined (/typescript-main/built/local/typescript.js:2572:22)
    at getPossibleSymbolReferenceNodes (/typescript-main/built/local/typescript.js:169125:12)
    at eachSymbolReferenceInFile (/typescript-main/built/local/typescript.js:169072:25)
    at Object.isSymbolReferencedInFile (/typescript-main/built/local/typescript.js:169066:12)
    at isDeclarationUsed (/typescript-main/built/local/typescript.js:172042:221)
    at /typescript-main/built/local/typescript.js:172017:66
    at removeUnusedImports (/typescript-main/built/local/typescript.js:172017:52)
    at processImportsOfSameModuleSpecifier (/typescript-main/built/local/typescript.js:171905:39)
    at /typescript-main/built/local/typescript.js:171873:175
    at flatMap (/typescript-main/built/local/typescript.js:2502:17)
    at organizeDeclsWorker (/typescript-main/built/local/typescript.js:171873:28)
    at organizeImportsWorker (/typescript-main/built/local/typescript.js:171910:5)
    at /typescript-main/built/local/typescript.js:171852:57
    at Object.organizeImports (/typescript-main/built/local/typescript.js:171852:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-main/built/local/typescript.js:149772:39)
    at IOSession.organizeImports (/typescript-main/built/local/typescript.js:191325:50)
    at organizeImports (/typescript-main/built/local/typescript.js:189461:43)
    at /typescript-main/built/local/typescript.js:191691:15
    at IOSession.executeWithRequestId (/typescript-main/built/local/typescript.js:191680:14)
    at IOSession.executeCommand (/typescript-main/built/local/typescript.js:191689:29)
    at IOSession.onMessage (/typescript-main/built/local/typescript.js:191737:68)
    at Interface.<anonymous> (/typescript-main/built/local/tsserver.js:501:14)

Affected repos

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

Last few requests

{"seq":17988,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/tldraw/src/lib/tools/SelectTool/childStates/Crop/children/Cropping.ts","line":155,"offset":54,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}
{"seq":17989,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/tldraw/src/lib/tools/SelectTool/childStates/Crop/children/Cropping.ts","line":175,"offset":24}}
{"seq":17990,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/tldraw/src/lib/tools/SelectTool/childStates/Crop/children/Cropping.ts","line":215,"offset":30,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}
{"seq":17991,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/tldraw/src/lib/tools/SelectTool/childStates/Crop/children/Cropping.ts","line":226,"offset":9}}

Repro steps

#!/bin/bash

git clone https://github.com/tldraw/tldraw --recurse-submodules
git -C "./tldraw" reset --hard 348ff9f66a24cc41738a2eff10a87ef6b535bf3f
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults4&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults4.zip "$downloadUrl"
unzip -p RepoResults4.zip RepoResults4/tldraw.tldraw.replay.txt > tldraw.tldraw.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 ./tldraw ./tldraw.tldraw.replay.txt <PATH_TO_tsserver.js>
New server no longer reports this error: Error: Debug Failure. False expression.
Req #11865 - references
    at Object.resetTokenState (/typescript-main/built/local/typescript.js:14397:11)
    at addSyntheticNodes (/typescript-main/built/local/typescript.js:148224:11)
    at createSyntaxList (/typescript-main/built/local/typescript.js:148252:3)
    at processNodes (/typescript-main/built/local/typescript.js:148213:19)
    at visitNodes (/typescript-main/built/local/typescript.js:31651:14)
    at forEachChildInFunctionType (/typescript-main/built/local/typescript.js:31720:111)
    at forEachChild (/typescript-main/built/local/typescript.js:32167:35)
    at NodeObject.forEachChild (/typescript-main/built/local/typescript.js:148193:12)
    at createChildren (/typescript-main/built/local/typescript.js:148218:8)
    at NodeObject.getChildren (/typescript-main/built/local/typescript.js:148172:83)
    at getTokenAtPositionWorker (/typescript-main/built/local/typescript.js:136554:32)
    at getTouchingToken (/typescript-main/built/local/typescript.js:136527:10)
    at getTouchingPropertyName (/typescript-main/built/local/typescript.js:136524:10)
    at /typescript-main/built/local/typescript.js:169126:33
    at mapDefined (/typescript-main/built/local/typescript.js:2572:22)
    at getPossibleSymbolReferenceNodes (/typescript-main/built/local/typescript.js:169125:12)
    at /typescript-main/built/local/typescript.js:169647:25
    at flatMap (/typescript-main/built/local/typescript.js:2502:17)
    at getReferencesForStringLiteral (/typescript-main/built/local/typescript.js:169645:24)
    at Object.getReferencedSymbolsForNode (/typescript-main/built/local/typescript.js:168531:16)
    at Object.findReferencedSymbols (/typescript-main/built/local/typescript.js:168136:34)
    at Object.findReferences (/typescript-main/built/local/typescript.js:149601:41)
    at /typescript-main/built/local/typescript.js:188666:43
    at searchPosition (/typescript-main/built/local/typescript.js:188808:28)
    at getPerProjectReferences (/typescript-main/built/local/typescript.js:188787:32)
    at getReferencesWorker (/typescript-main/built/local/typescript.js:188658:29)
    at IOSession.getReferences (/typescript-main/built/local/typescript.js:190642:24)
    at references (/typescript-main/built/local/typescript.js:189091:43)
    at /typescript-main/built/local/typescript.js:191691:15
    at IOSession.executeWithRequestId (/typescript-main/built/local/typescript.js:191680:14)
    at IOSession.executeCommand (/typescript-main/built/local/typescript.js:191689:29)
    at IOSession.onMessage (/typescript-main/built/local/typescript.js:191737:68)
    at Interface.<anonymous> (/typescript-main/built/local/tsserver.js:501:14)

Affected repos

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

Last few requests

{"seq":13089,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/meteor/ee/tests/unit/server/federation/server/infrastructure/rocket-chat/converters/RoomSender.spec.ts","line":186,"offset":61,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":13090,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/apps/meteor/ee/tests/unit/server/federation/server/infrastructure/rocket-chat/converters/RoomSender.spec.ts","line":187,"offset":21}}
{"seq":13091,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/meteor/ee/tests/unit/server/federation/server/infrastructure/rocket-chat/converters/RoomSender.spec.ts","line":212,"offset":124,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"'"}}
{"seq":13092,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/apps/meteor/ee/tests/unit/server/federation/server/infrastructure/rocket-chat/converters/RoomSender.spec.ts","line":223,"offset":70}}

Repro steps

#!/bin/bash

git clone https://github.com/RocketChat/Rocket.Chat --recurse-submodules
git -C "./Rocket.Chat" reset --hard 48ea8fce837d3059300ed8f399130cd58da305bb
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/RocketChat.Rocket.Chat.replay.txt > RocketChat.Rocket.Chat.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 ./Rocket.Chat ./RocketChat.Rocket.Chat.replay.txt <PATH_TO_tsserver.js>
New server no longer reports this error: Error: Debug Failure. False expression.
Req #10018 - references
    at Object.resetTokenState (/typescript-main/built/local/typescript.js:14397:11)
    at addSyntheticNodes (/typescript-main/built/local/typescript.js:148224:11)
    at createSyntaxList (/typescript-main/built/local/typescript.js:148252:3)
    at processNodes (/typescript-main/built/local/typescript.js:148213:19)
    at visitNodes (/typescript-main/built/local/typescript.js:31651:14)
    at forEachChildInFunctionType (/typescript-main/built/local/typescript.js:31720:111)
    at forEachChild (/typescript-main/built/local/typescript.js:32167:35)
    at NodeObject.forEachChild (/typescript-main/built/local/typescript.js:148193:12)
    at createChildren (/typescript-main/built/local/typescript.js:148218:8)
    at NodeObject.getChildren (/typescript-main/built/local/typescript.js:148172:83)
    at getTokenAtPositionWorker (/typescript-main/built/local/typescript.js:136554:32)
    at getTouchingToken (/typescript-main/built/local/typescript.js:136527:10)
    at getTouchingPropertyName (/typescript-main/built/local/typescript.js:136524:10)
    at /typescript-main/built/local/typescript.js:169126:33
    at mapDefined (/typescript-main/built/local/typescript.js:2572:22)
    at getPossibleSymbolReferenceNodes (/typescript-main/built/local/typescript.js:169125:12)
    at /typescript-main/built/local/typescript.js:169194:25
    at flatMap (/typescript-main/built/local/typescript.js:2502:17)
    at getAllReferencesForKeyword (/typescript-main/built/local/typescript.js:169192:24)
    at getReferencedSymbolsSpecial (/typescript-main/built/local/typescript.js:168734:14)
    at Object.getReferencedSymbolsForNode (/typescript-main/built/local/typescript.js:168514:23)
    at Object.findReferencedSymbols (/typescript-main/built/local/typescript.js:168136:34)
    at Object.findReferences (/typescript-main/built/local/typescript.js:149601:41)
    at /typescript-main/built/local/typescript.js:188666:43
    at searchPosition (/typescript-main/built/local/typescript.js:188808:28)
    at getPerProjectReferences (/typescript-main/built/local/typescript.js:188787:32)
    at getReferencesWorker (/typescript-main/built/local/typescript.js:188658:29)
    at IOSession.getReferences (/typescript-main/built/local/typescript.js:190642:24)
    at references (/typescript-main/built/local/typescript.js:189091:43)
    at /typescript-main/built/local/typescript.js:191691:15
    at IOSession.executeWithRequestId (/typescript-main/built/local/typescript.js:191680:14)
    at IOSession.executeCommand (/typescript-main/built/local/typescript.js:191689:29)
    at IOSession.onMessage (/typescript-main/built/local/typescript.js:191737:68)
    at Interface.<anonymous> (/typescript-main/built/local/tsserver.js:501:14)

Affected repos

invoke-ai/InvokeAI Raw error text: RepoResults8/invoke-ai.InvokeAI.rawError.txt in the artifact folder
Replay commands: RepoResults8/invoke-ai.InvokeAI.replay.txt in the artifact folder

Last few requests

{"seq":20176,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/BoardFieldInputComponent.tsx"}}
{"seq":20177,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/BoardFieldInputComponent.tsx","line":1,"offset":12,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":20178,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/BoardFieldInputComponent.tsx","line":1,"offset":56}}
{"seq":20179,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/BoardFieldInputComponent.tsx","line":2,"offset":40}}

Repro steps

#!/bin/bash

git clone https://github.com/invoke-ai/InvokeAI --recurse-submodules
git -C "./InvokeAI" reset --hard 7905a46ca4001ebd748b91aea0ba04a790250ed5
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
pnpm --dir "./InvokeAI/invokeai/frontend/web" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
npm --prefix "./InvokeAI/invokeai/frontend/web/scripts" install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/invoke-ai.InvokeAI.replay.txt > invoke-ai.InvokeAI.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 ./InvokeAI ./invoke-ai.InvokeAI.replay.txt <PATH_TO_tsserver.js>
New server no longer reports this error: Error: Debug Failure. False expression.
Req #19058 - organizeImports
    at Object.resetTokenState (/typescript-main/built/local/typescript.js:14397:11)
    at addSyntheticNodes (/typescript-main/built/local/typescript.js:148224:11)
    at createSyntaxList (/typescript-main/built/local/typescript.js:148252:3)
    at processNodes (/typescript-main/built/local/typescript.js:148213:19)
    at visitNodes (/typescript-main/built/local/typescript.js:31651:14)
    at forEachChildInFunctionType (/typescript-main/built/local/typescript.js:31720:111)
    at forEachChild (/typescript-main/built/local/typescript.js:32167:35)
    at NodeObject.forEachChild (/typescript-main/built/local/typescript.js:148193:12)
    at createChildren (/typescript-main/built/local/typescript.js:148218:8)
    at NodeObject.getChildren (/typescript-main/built/local/typescript.js:148172:83)
    at getTokenAtPositionWorker (/typescript-main/built/local/typescript.js:136554:32)
    at getTouchingToken (/typescript-main/built/local/typescript.js:136527:10)
    at getTouchingPropertyName (/typescript-main/built/local/typescript.js:136524:10)
    at /typescript-main/built/local/typescript.js:169126:33
    at mapDefined (/typescript-main/built/local/typescript.js:2572:22)
    at getPossibleSymbolReferenceNodes (/typescript-main/built/local/typescript.js:169125:12)
    at eachSymbolReferenceInFile (/typescript-main/built/local/typescript.js:169072:25)
    at Object.isSymbolReferencedInFile (/typescript-main/built/local/typescript.js:169066:12)
    at isDeclarationUsed (/typescript-main/built/local/typescript.js:172042:221)
    at /typescript-main/built/local/typescript.js:172017:66
    at removeUnusedImports (/typescript-main/built/local/typescript.js:172017:52)
    at processImportsOfSameModuleSpecifier (/typescript-main/built/local/typescript.js:171905:39)
    at /typescript-main/built/local/typescript.js:171873:175
    at flatMap (/typescript-main/built/local/typescript.js:2502:17)
    at organizeDeclsWorker (/typescript-main/built/local/typescript.js:171873:28)
    at organizeImportsWorker (/typescript-main/built/local/typescript.js:171910:5)
    at /typescript-main/built/local/typescript.js:171852:57
    at Object.organizeImports (/typescript-main/built/local/typescript.js:171852:28)
    at Object.organizeImports2 [as organizeImports] (/typescript-main/built/local/typescript.js:149772:39)
    at IOSession.organizeImports (/typescript-main/built/local/typescript.js:191325:50)
    at organizeImports (/typescript-main/built/local/typescript.js:189461:43)
    at /typescript-main/built/local/typescript.js:191691:15
    at IOSession.executeWithRequestId (/typescript-main/built/local/typescript.js:191680:14)
    at IOSession.executeCommand (/typescript-main/built/local/typescript.js:191689:29)
    at IOSession.onMessage (/typescript-main/built/local/typescript.js:191737:68)
    at Interface.<anonymous> (/typescript-main/built/local/tsserver.js:501:14)

Affected repos

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

Last few requests

{"seq":19353,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/app/menus/menus/darwin.ts"}}
{"seq":19354,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/app/menus/menus/darwin.ts"}}
{"seq":19355,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/app/menus/menus/darwin.ts"}}
{"seq":19356,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/app/menus/menus/darwin.ts","line":2,"offset":42,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}

Repro steps

#!/bin/bash

git clone https://github.com/vercel/hyper --recurse-submodules
git -C "./hyper" reset --hard 2a7bb18259d975f27b30b502af1be7576f6f5656
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./hyper" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./hyper/app" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/vercel.hyper.replay.txt > vercel.hyper.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 ./hyper ./vercel.hyper.replay.txt <PATH_TO_tsserver.js>
New server no longer reports this error: Error: Debug Failure. False expression.
Req #14048 - references
    at Object.resetTokenState (/typescript-main/built/local/typescript.js:14397:11)
    at addSyntheticNodes (/typescript-main/built/local/typescript.js:148224:11)
    at createSyntaxList (/typescript-main/built/local/typescript.js:148252:3)
    at processNodes (/typescript-main/built/local/typescript.js:148213:19)
    at visitNodes (/typescript-main/built/local/typescript.js:31651:14)
    at forEachChildInFunctionType (/typescript-main/built/local/typescript.js:31720:111)
    at forEachChild (/typescript-main/built/local/typescript.js:32167:35)
    at NodeObject.forEachChild (/typescript-main/built/local/typescript.js:148193:12)
    at createChildren (/typescript-main/built/local/typescript.js:148218:8)
    at NodeObject.getChildren (/typescript-main/built/local/typescript.js:148172:83)
    at getTokenAtPositionWorker (/typescript-main/built/local/typescript.js:136554:32)
    at getTouchingToken (/typescript-main/built/local/typescript.js:136527:10)
    at getTouchingPropertyName (/typescript-main/built/local/typescript.js:136524:10)
    at getReferencesAtLocation (/typescript-main/built/local/typescript.js:169218:31)
    at getReferencesInContainer (/typescript-main/built/local/typescript.js:169211:7)
    at getReferencesInSourceFile (/typescript-main/built/local/typescript.js:169204:12)
    at searchForName (/typescript-main/built/local/typescript.js:169018:7)
    at getReferencesInContainerOrFiles (/typescript-main/built/local/typescript.js:168819:9)
    at getReferencedSymbolsForSymbol (/typescript-main/built/local/typescript.js:168801:7)
    at Object.getReferencedSymbolsForNode (/typescript-main/built/local/typescript.js:168551:24)
    at Object.findReferencedSymbols (/typescript-main/built/local/typescript.js:168136:34)
    at Object.findReferences (/typescript-main/built/local/typescript.js:149601:41)
    at /typescript-main/built/local/typescript.js:188666:43
    at searchPosition (/typescript-main/built/local/typescript.js:188808:28)
    at getPerProjectReferences (/typescript-main/built/local/typescript.js:188787:32)
    at getReferencesWorker (/typescript-main/built/local/typescript.js:188658:29)
    at IOSession.getReferences (/typescript-main/built/local/typescript.js:190642:24)
    at references (/typescript-main/built/local/typescript.js:189091:43)
    at /typescript-main/built/local/typescript.js:191691:15
    at IOSession.executeWithRequestId (/typescript-main/built/local/typescript.js:191680:14)
    at IOSession.executeCommand (/typescript-main/built/local/typescript.js:191689:29)
    at IOSession.onMessage (/typescript-main/built/local/typescript.js:191737:68)
    at Interface.<anonymous> (/typescript-main/built/local/tsserver.js:501:14)

Affected repos

marmelab/react-admin Raw error text: RepoResults7/marmelab.react-admin.rawError.txt in the artifact folder
Replay commands: RepoResults7/marmelab.react-admin.replay.txt in the artifact folder

Last few requests

{"seq":14564,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/create-react-admin/templates/common/src/index.tsx"}}
{"seq":14565,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/packages/create-react-admin/templates/common/src/index.tsx"}}
{"seq":14566,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/packages/create-react-admin/templates/common/src/index.tsx"}}
{"seq":14567,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/create-react-admin/templates/common/src/index.tsx","line":5,"offset":55}}

Repro steps

#!/bin/bash

git clone https://github.com/marmelab/react-admin --recurse-submodules
git -C "./react-admin" reset --hard aa4f26b2e10aac5cc0c31865b6a8b9f77bc463bc
yarn --cwd "./react-admin" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults7&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults7.zip "$downloadUrl"
unzip -p RepoResults7.zip RepoResults7/marmelab.react-admin.replay.txt > marmelab.react-admin.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 ./react-admin ./marmelab.react-admin.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

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

Last few requests

{"seq":95,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/scripts/prepare-release.js","line":378,"offset":67}}
{"seq":96,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/scripts/prepare-release.js","line":386,"offset":2}}
{"seq":97,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/scripts/prepare-release.js","line":386,"offset":2,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":98,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/microsite/typings.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/backstage/backstage --recurse-submodules
git -C "./backstage" reset --hard febf7d60412d1064b6d1579a39b44266206e84da
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./backstage" install --no-immutable --mode=skip-build
yarn --cwd "./backstage/storybook" install --no-immutable --mode=skip-build
yarn --cwd "./backstage/microsite" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/backstage.backstage.replay.txt > backstage.backstage.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

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

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults5/calcom.cal.com.rawError.txt in the artifact folder
Replay commands: RepoResults5/calcom.cal.com.replay.txt in the artifact folder

Last few requests

{"seq":139,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/prisma/zod-utils.test.ts","line":45,"offset":5,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":140,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/prisma/zod-utils.test.ts","line":45,"offset":5,"entryNames":["beforeAll"]}}
{"seq":141,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/types/next.d.ts"],"openFiles":[]}}
{"seq":142,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/lib/weekday.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/calcom/cal.com --recurse-submodules
git -C "./cal.com" reset --hard 539a2ea301954f3d8e37c32787a6ee743e27b238
yarn --cwd "./cal.com" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults5&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults5.zip "$downloadUrl"
unzip -p RepoResults5.zip RepoResults5/calcom.cal.com.replay.txt > calcom.cal.com.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

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

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

labring/sealos Raw error text: RepoResults15/labring.sealos.rawError.txt in the artifact folder
Replay commands: RepoResults15/labring.sealos.replay.txt in the artifact folder

Last few requests

{"seq":131,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/frontend/providers/license/next-i18next.config.js","line":3,"offset":4,"includeExternalModuleExports":true,"triggerKind":1}}
{"seq":132,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/frontend/providers/license/next-i18next.config.js","line":3,"offset":4,"entryNames":["@abstract"]}}
{"seq":133,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/frontend/providers/terminal/next.config.js"],"openFiles":[]}}
{"seq":134,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/frontend/providers/kubepanel/tailwind.config.js","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

#!/bin/bash

git clone https://github.com/labring/sealos --recurse-submodules
git -C "./sealos" reset --hard 26604f99fa5eca579a6123a8cdae6d4cf3c00dbb
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
pnpm --dir "./sealos/service/license" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
pnpm --dir "./sealos/frontend" install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
yarn --cwd "./sealos/docs/website" install --ignore-engines --ignore-scripts --silent
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults15&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults15.zip "$downloadUrl"
unzip -p RepoResults15.zip RepoResults15/labring.sealos.replay.txt > labring.sealos.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 ./sealos ./labring.sealos.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser Here are some more interesting changes from running the top 300 repos suite

Details

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

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

Last few requests

{"seq":154,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/x-pack/test/localization/config.fr_fr.ts","line":8,"offset":43}}
{"seq":155,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/kbn-eslint-plugin-eslint/index.js"],"openFiles":[]}}
{"seq":156,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/x-pack/plugins/task_manager/jest.config.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":157,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

#!/bin/bash

git clone https://github.com/elastic/kibana --recurse-submodules
git -C "./kibana" reset --hard 15345b639710ba81e0cf20a02feb6ed15bee69b8
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./kibana" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test_serverless/functional/test_suites/security/cypress" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test_serverless/functional/test_suites/observability/cypress" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/task_manager_claimer_mget/plugins/sample_task_plugin_mget" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/security_solution_cypress" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/security_solution_api_integration" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/security_api_integration/packages/helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/plugin_api_perf/plugins/task_manager_performance" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/plugin_api_integration/plugins/sample_task_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/plugin_api_integration/plugins/event_log" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/plugin_api_integration/plugins/elasticsearch_client" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/functional_with_es_ssl/plugins/cases" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/functional_with_es_ssl/plugins/alerts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/functional_execution_context/plugins/alerts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/functional_embedded/plugins/iframe_embedded" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/functional_cors/plugins/kibana_cors_test" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/cases_api_integration/common/plugins/security_solution" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/cases_api_integration/common/plugins/observability" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/cases_api_integration/common/plugins/cases" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/alerting_api_integration/packages/helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/alerting_api_integration/common/plugins/alerts_restricted" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/alerting_api_integration/common/plugins/alerts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/alerting_api_integration/common/plugins/actions_simulators" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/test/alerting_api_integration/common/plugins/aad" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/threat_intelligence" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/session_view" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/serverless_search" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/serverless_observability" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/serverless" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/security_solution_serverless" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/security_solution_ess" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/security_solution" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/search_notebooks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/search_connectors" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/osquery" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/observability_solution/apm/scripts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/ml" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/kubernetes_security" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/fleet" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/elastic_assistant" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/plugins/cases" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/upselling" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/storybook/config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/side_nav" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/navigation" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/features" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/ecs_data_quality_dashboard" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security-solution/data_table" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security/plugin_types_server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security/plugin_types_public" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security/plugin_types_common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security/form_components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/security/api_key_management" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/rollup" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/observability/get_padded_alert_time_range_util" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/observability/alerting_test_data" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/observability/alert_details" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/url_state" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/ui_actions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/trained_models_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/time_buckets" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/string_hash" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/runtime_field_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/route_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/response_stream" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/random_sampler_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/query_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/number_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/nested_property" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/local_storage" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/kibana_theme" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/json_schemas" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/is_populated_object" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/is_defined" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/inference_integration_flyout" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/in_memory_table" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/error_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/date_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/date_picker" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/data_view_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/data_grid" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/data_frame_analytics_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/creation_wizard_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/chi2test" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/category_validator" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/cancellable_search" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/anomaly_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_test_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_log_rate_analysis" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_log_pattern_analysis" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/aiops_change_point_detection" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/ml/agg_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/maps/vector_tile_utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-slo-schema" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-random-sampling" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-langchain" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-infra-forge" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-entities-schema" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-elastic-assistant-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-elastic-assistant" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-data-forge" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-alerting-state-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/kbn-alerting-comparators" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/x-pack/packages/index-management" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/server_integration/plugins/status_plugin_b" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/server_integration/plugins/status_plugin_a" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/usage_collection" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/ui_settings_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/telemetry" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/session_notifications" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/saved_objects_hidden_type" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/saved_object_import_warnings" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/saved_object_export_transforms" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/rendering_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/management_test_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/kbn_tp_custom_visualizations" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/kbn_top_nav" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/kbn_sample_panel_action" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/index_patterns" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/elasticsearch_client_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/data_search" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_provider_plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_static_assets" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_route_timeouts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_helpmenu" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_execution_context" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_deprecations" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_deep_links" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_chromeless" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_b" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_appleave" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_plugin_a" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_http" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_history_block" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_dynamic_resolving_b" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_dynamic_resolving_a" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/core_app_status" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/plugin_functional/plugins/app_link_test" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/node_roles_functional/plugins/core_plugin_initializer_context" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/interpreter_functional/plugins/kbn_tp_run_pipeline" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/health_gateway/plugins/status" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/analytics/plugins/analytics_plugin_a" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/test/analytics/plugins/analytics_ftr_helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/src/plugins/esql_datagrid" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/src/plugins/esql" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/src/plugins/chart_expressions/common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/storybook/mock" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/storybook/config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/router/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/router/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/router/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/prompt/not_found" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/prompt/no_data_views/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/prompt/no_data_views/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/prompt/no_data_views/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/solution_nav" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data_config/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data_config/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data_config/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/no_data/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_template/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_template/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_template/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_no_data/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_no_data/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/kibana_no_data/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/analytics_no_data/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/analytics_no_data/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/page/analytics_no_data/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/modal/tabbed" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/markdown/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/markdown/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/markdown/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/link/redirect_app/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/link/redirect_app/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/link/redirect_app/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/util" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/image/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/image/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/file_upload/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/file_picker/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/file/context" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/error_boundary" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/code_editor/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/code_editor/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/chrome/navigation" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/card/no_data/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/card/no_data/mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/card/no_data/impl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/button_toolbar" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/button/exit_full_screen" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/shared-ux/avatar/solution" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/storybook/config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/settings/security_project" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/settings/search_project" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/settings/observability_project" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/settings/common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/serverless/project_switcher" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/response-ops/feature_flag_service" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_mount" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_context/theme" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_context/styled" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_context/root" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_context/render" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/react/kibana_context/common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/presentation/presentation_publishing" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/presentation/presentation_containers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-zod-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-yarn-lock-validator" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-xstate-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-whereis-pkg-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-web-worker-stub" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-visualization-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-visualization-ui-components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-validate-next-docs-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-utility-types-jest" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-utility-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-utility-types/src/tsd_tests" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-user-profile-components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-use-tracked-promise" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-unsaved-changes-prompt" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-unsaved-changes-badge" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-unified-field-list" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-unified-doc-viewer" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-unified-data-table" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ui-theme" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ui-shared-deps-src" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ui-shared-deps-npm" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ui-actions-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-typed-react-router-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ts-type-check-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ts-projects" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-try-in-console" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-triggers-actions-ui-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-tooling-log" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-tinymath" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-timerange" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-timelion-grammar" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-text-based-editor" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-test-subj-selector" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-test-jest-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-test-eui-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-test" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-telemetry-tools" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-storybook" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-storybook/preset" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-stdio-dev-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-std" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-spec-to-console" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-sort-predicates" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-sort-package-json" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-some-dev-log" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-shared-ux-utility" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-shared-svg" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-set-map" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-server-route-repository" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-server-http-tools" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-t-grid" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-rules" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-lists-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-list-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-list-hooks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-list-constants" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-list-api" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-io-ts-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-io-ts-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-io-ts-list-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-io-ts-alerting-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-hook-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-exceptions-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-exception-list-components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-es-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-ecs" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-securitysolution-autocomplete" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-security-hardening" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-response-warnings" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-index-documents" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-errors" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-connectors" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-search-api-panels" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-saved-objects-settings" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-safer-lodash-set" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-rule-data-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-rrule" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-router-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-router-to-openapispec" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-rison" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-resizable-layout" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/public" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/mocks_server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/get_csv_panel_actions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/png_common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/png" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/pdf_common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/pdf" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/csv_common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/export_types/csv" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-reporting/common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-source-classifier-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-source-classifier" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-path" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-packages" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-linter" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-info" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-repo-file-maps" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-recently-accessed" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-react-hooks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-react-field" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-profiling-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-plugin-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-plugin-generator" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-plugin-check" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-picomatcher" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-performance-testing-dataset-extractor" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-peggy-loader" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-peggy" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-panel-loader" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-osquery-io-ts-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-optimizer-webpack-helpers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-optimizer" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-openapi-generator" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-openapi-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-openapi-bundler" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-object-versioning" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-monaco" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-mock-idp-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-mock-idp-plugin" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-mapbox-gl" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/storybook/config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/utilities" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/setting_ids" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/section_registry" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/field_definition" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/components/form" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/components/field_row" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/components/field_input" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/components/field_category" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/settings/application" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-management/cards_navigation" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-managed-vscode-config-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-managed-vscode-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-managed-content-badge" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-logging-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-logging" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-lint-ts-projects-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-lint-packages-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-lens-formula-docs" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-lens-embeddable-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-language-documentation-popover" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-kibana-manifest-schema" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-json-ast" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-journeys" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-jest-serializers" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ipynb" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-io-ts-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-interpreter" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-import-resolver" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-import-locator" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-i18n-react" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-i18n" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-health-gateway-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-hapi-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-handlebars" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-guided-onboarding" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-grouping" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-get-repo-files" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-generate-csv" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-generate-console-definitions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-generate" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ftr-screenshot-filename" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ftr-common-functional-ui-services" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ftr-common-functional-services" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-formatters" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-flot-charts" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-find-used-node-modules" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-field-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-field-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-failed-test-reporter-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-expect" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-expandable-flyout" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-event-annotation-components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-event-annotation-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-esql-validation-autocomplete" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-esql-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-esql-ast" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-plugin-telemetry" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-plugin-imports" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-plugin-i18n" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-plugin-eslint" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-plugin-disable" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-eslint-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-es-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-es-query" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-es-errors" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-es-archiver" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-es" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-elastic-agent-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ebt-tools" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-dom-drag-drop" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-docs-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-doc-links" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-discover-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-dev-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-dev-proc-runner" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-dev-cli-runner" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-dev-cli-errors" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-datemath" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-data-view-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-data-stream-adapter" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-data-service" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-cypress-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-custom-integrations" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-custom-icons" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-crypto-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-crypto" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-content-management-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-config-schema" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-config-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-coloring" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-code-owners" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-cli-dev-mode" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ci-stats-shipper-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ci-stats-reporter" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ci-stats-performance-metrics" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ci-stats-core" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-check-mappings-update-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-chart-icons" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-cell-actions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-cases-components" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-capture-oas-snapshot-cli" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-calculate-width-from-char-count" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-calculate-auto" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-bfetch-error" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-bazel-runner" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-babel-transform" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-babel-register" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-babel-preset" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-axe-config" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-apm-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-apm-synthtrace-client" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-apm-synthtrace" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-apm-data-view" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-apm-config-loader" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-analytics" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ambient-ui-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ambient-storybook-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ambient-ftr-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ambient-common-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-alerts-ui-shared" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-alerts-grouping" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-alerts-as-data-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-alerting-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-actions-types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/kbn-ace" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/home/sample_data_types" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/home/sample_data_tab" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/home/sample_data_card" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/default-nav/ml" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/default-nav/management" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/default-nav/devtools" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/default-nav/analytics" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/shared" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/security" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/search" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/observability" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/ml" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/management" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/fleet" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/devtools" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/deeplinks/analytics" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-settings/core-user-settings-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-settings/core-user-settings-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-settings/core-user-settings-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/user-profile/core-user-profile-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/usage-data/core-usage-data-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/usage-data/core-usage-data-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/usage-data/core-usage-data-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/usage-data/core-usage-data-base-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/ui-settings/core-ui-settings-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/theme/core-theme-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/theme/core-theme-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/theme/core-theme-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-test-utils" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-so-type-serializer" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-model-versions" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-kbn-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-http-setup-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/test-helpers/core-test-helpers-deprecations-getters" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/status/core-status-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/status/core-status-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/status/core-status-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/status/core-status-common-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/status/core-status-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/security/core-security-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-utils-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-migration-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-migration-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-import-export-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-import-export-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-common" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-base-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-base-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-api-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-api-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-api-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/saved-objects/core-saved-objects-api-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/root/core-root-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/root/core-root-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/rendering/core-rendering-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/rendering/core-rendering-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/rendering/core-rendering-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/rendering/core-rendering-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/preboot/core-preboot-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/preboot/core-preboot-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/preboot/core-preboot-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-server-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-contracts-server" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-contracts-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/plugins/core-plugins-base-server-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/overlays/core-overlays-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/overlays/core-overlays-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/overlays/core-overlays-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/notifications/core-notifications-browser-mocks" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/notifications/core-notifications-browser-internal" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packages/core/notifications/core-notifications-browser" install --ignore-engines --ignore-scripts --silent
yarn --cwd "./kibana/packa
:error: Truncated - see log for full output :error:
</details>

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser Here are some more interesting changes from running the top 300 repos suite

Details

RangeError: Maximum call stack size exceeded

Req #18254 - definitionAndBoundSpan
    at checkExpressionCached (/typescript-59282/built/local/typescript.js:82391:33)
    at /typescript-59282/built/local/typescript.js:80876:20
    at traverse (/typescript-59282/built/local/typescript.js:17574:16)
    at visitNodes (/typescript-59282/built/local/typescript.js:31656:22)
    at forEachChildInBlock (/typescript-59282/built/local/typescript.js:32126:10)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:93)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNodes (/typescript-59282/built/local/typescript.js:31656:22)
    at forEachChildInBlock (/typescript-59282/built/local/typescript.js:32126:10)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at forEachReturnStatement (/typescript-59282/built/local/typescript.js:17570:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-59282/built/local/typescript.js:80857:5)
    at getReturnTypeFromBody (/typescript-59282/built/local/typescript.js:80670:21)
    at getReturnTypeOfSignature (/typescript-59282/built/local/typescript.js:62153:426)
    at getReturnTypeOfSingleNonGenericCallSignature (/typescript-59282/built/local/typescript.js:82694:14)
    at getQuickTypeOfExpression (/typescript-59282/built/local/typescript.js:82745:94)
    at checkDeclarationInitializer (/typescript-59282/built/local/typescript.js:82423:18)
    at getTypeForVariableLikeDeclaration (/typescript-59282/built/local/typescript.js:58516:66)
    at getWidenedTypeForVariableLikeDeclaration (/typescript-59282/built/local/typescript.js:58966:48)
    at getTypeOfVariableOrParameterOrPropertyWorker (/typescript-59282/built/local/typescript.js:59111:14)
    at getTypeOfVariableOrParameterOrProperty (/typescript-59282/built/local/typescript.js:59047:20)
    at getTypeOfSymbol (/typescript-59282/built/local/typescript.js:59370:14)
    at getNarrowedTypeOfSymbol (/typescript-59282/built/local/typescript.js:74131:18)
    at checkIdentifier (/typescript-59282/built/local/typescript.js:74273:16)
    at checkExpressionWorker (/typescript-59282/built/local/typescript.js:82820:16)
    at checkExpression (/typescript-59282/built/local/typescript.js:82774:32)
    at checkExpressionCached (/typescript-59282/built/local/typescript.js:82401:28)
    at /typescript-59282/built/local/typescript.js:80876:20
    at traverse (/typescript-59282/built/local/typescript.js:17574:16)
    at visitNodes (/typescript-59282/built/local/typescript.js:31656:22)
    at forEachChildInBlock (/typescript-59282/built/local/typescript.js:32126:10)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:51)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNodes (/typescript-59282/built/local/typescript.js:31656:22)
    at forEachChildInBlock (/typescript-59282/built/local/typescript.js:32126:10)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at forEachReturnStatement (/typescript-59282/built/local/typescript.js:17570:10)
    at checkAndAggregateReturnExpressionTypes (/typescript-59282/built/local/typescript.js:80857:5)
    at getReturnTypeFromBody (/typescript-59282/built/local/typescript.js:80670:21)
    at getReturnTypeOfSignature (/typescript-59282/built/local/typescript.js:62153:426)
    at checkCallExpression (/typescript-59282/built/local/typescript.js:79583:24)
    at checkExpressionWorker (/typescript-59282/built/local/typescript.js:82864:16)
    at checkExpression (/typescript-59282/built/local/typescript.js:82774:32)
    at checkExpressionCached (/typescript-59282/built/local/typescript.js:82401:28)
    at /typescript-59282/built/local/typescript.js:80876:20
    at traverse (/typescript-59282/built/local/typescript.js:17574:16)
    at visitNodes (/typescript-59282/built/local/typescript.js:31656:22)
    at forEachChildInBlock (/typescript-59282/built/local/typescript.js:32126:10)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)
    at visitNode2 (/typescript-59282/built/local/typescript.js:31648:18)
    at forEachChildInIfStatement (/typescript-59282/built/local/typescript.js:31881:51)
    at forEachChild (/typescript-59282/built/local/typescript.js:32169:35)
    at traverse (/typescript-59282/built/local/typescript.js:17590:16)

Affected repos

angular/angular-cli Raw error text: RepoResults6/angular.angular-cli.rawError.txt in the artifact folder
Replay commands: RepoResults6/angular.angular-cli.replay.txt in the artifact folder

Last few requests

{"seq":18251,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":54159,"offset":43,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":18252,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":54159,"offset":43,"entryNames":["__copyProps"]}}
{"seq":18253,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":54197,"offset":21,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}}
{"seq":18254,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js","line":54217,"offset":55}}

Repro steps

#!/bin/bash

git clone https://github.com/angular/angular-cli --recurse-submodules
git -C "./angular-cli" reset --hard b16894868796aae82de174c80884100672191ca1
# Install packages (exact steps are below, but it might be easier to follow the repo readme)
yarn --cwd "./angular-cli" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-angular-5" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-peer-dependencies-1" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-package-group-2" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-package-group-1" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-migrations-external" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-migrations" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/schematics/update/packages/update-base" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/ng-snapshot" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/schematic-allow-scripts" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-main" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-dependency" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-good" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-bad" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/add-collection" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack" install --no-immutable --mode=skip-build
yarn --cwd "./angular-cli/tests/legacy-cli/e2e/assets/15.0-project" install --no-immutable --mode=skip-build
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/162760/artifacts?artifactName=RepoResults6&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults6.zip "$downloadUrl"
unzip -p RepoResults6.zip RepoResults6/angular.angular-cli.replay.txt > angular.angular-cli.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 ./angular-cli ./angular.angular-cli.replay.txt <PATH_TO_tsserver.js>

Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The crashes in the extended suites are obviously concerning, too. Probably shouldn't stack overflow when printing language service stuff. 😆

@dragomirtitian
Copy link
Contributor Author

@jakebailey Thank you for the review. Could we run the perf and top300 tests again? I will look in the failures if they still happen

@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparing main and refs/pull/59282/merge:

Something interesting changed - please have a look.

Details

effect

tsconfig.base.json

lodash

/mnt/ts_downloads/_/m/lodash/tsconfig.json

  • [NEW] error TS2345: Argument of type '{ after: (n: number, func: Function) => Function; ary: (func: Function, n?: number | undefined, guard: any) => Function; before: (n: number, func: Function) => Function; ... 19 more ...; wrap: (value: any, wrapper?: Function | undefined) => Function; }' is not assignable to parameter of type 'string'.
    • /mnt/ts_downloads/_/m/lodash/node_modules/lodash/fp/function.js(2,26)
  • [NEW] error TS2345: Argument of type '{ at: Function; chain: (value: any) => any; commit: () => any; lodash: typeof lodash; next: typeof wrapperNext; plant: (value: any) => any; reverse: () => any; tap: (value: any, interceptor: Function) => any; ... 5 more ...; wrapperChain: () => any; }' is not assignable to parameter of type 'string'.
    • /mnt/ts_downloads/_/m/lodash/node_modules/lodash/fp/seq.js(2,26)
  • [MISSING] error TS2345: Argument of type '{ after: (n: number, func: Function) => Function; ary: (func: Function, n?: number | undefined, guard: any) => Function; ... 20 more ...; wrap: (value: any, wrapper?: Function | undefined) => Function; }' is not assignable to parameter of type 'string'.
    • /mnt/ts_downloads/_/m/lodash/node_modules/lodash/fp/function.js(2,26)
  • [MISSING] error TS2345: Argument of type '{ at: Function; chain: (value: any) => any; commit: () => any; lodash: typeof lodash; next: typeof wrapperNext; plant: (value: any) => any; reverse: () => any; ... 6 more ...; wrapperChain: () => any; }' is not assignable to parameter of type 'string'.
    • /mnt/ts_downloads/_/m/lodash/node_modules/lodash/fp/seq.js(2,26)

@typescript-bot
Copy link
Collaborator

@jakebailey
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 30 30 ~ ~ ~ p=1.000 n=6
Symbols 62,340 62,340 ~ ~ ~ p=1.000 n=6
Types 50,378 50,378 ~ ~ ~ p=1.000 n=6
Memory used 193,376k (± 0.75%) 193,999k (± 0.95%) ~ 192,644k 196,396k p=0.748 n=6
Parse Time 1.30s (± 0.76%) 1.31s (± 0.48%) ~ 1.30s 1.32s p=0.058 n=6
Bind Time 0.71s (± 0.57%) 0.71s (± 0.57%) ~ 0.71s 0.72s p=1.000 n=6
Check Time 9.55s (± 0.21%) 9.54s (± 0.17%) ~ 9.51s 9.56s p=0.243 n=6
Emit Time 2.71s (± 1.82%) 2.71s (± 1.31%) ~ 2.64s 2.74s p=0.808 n=6
Total Time 14.27s (± 0.37%) 14.27s (± 0.29%) ~ 14.21s 14.33s p=1.000 n=6
angular-1 - node (v18.15.0, x64)
Errors 7 7 ~ ~ ~ p=1.000 n=6
Symbols 947,102 947,113 +11 (+ 0.00%) ~ ~ p=0.001 n=6
Types 410,738 410,746 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 1,224,018k (± 0.00%) 1,223,494k (± 0.00%) -524k (- 0.04%) 1,223,450k 1,223,538k p=0.005 n=6
Parse Time 6.63s (± 0.73%) 6.60s (± 0.91%) ~ 6.54s 6.69s p=0.469 n=6
Bind Time 1.87s (± 0.22%) 1.87s (± 0.40%) ~ 1.86s 1.88s p=0.389 n=6
Check Time 31.25s (± 0.34%) 31.36s (± 0.44%) ~ 31.19s 31.60s p=0.226 n=6
Emit Time 15.03s (± 0.30%) 15.02s (± 0.52%) ~ 14.88s 15.09s p=0.872 n=6
Total Time 54.78s (± 0.16%) 54.85s (± 0.32%) ~ 54.58s 55.02s p=0.336 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,521,651 2,521,651 ~ ~ ~ p=1.000 n=6
Types 936,037 936,037 ~ ~ ~ p=1.000 n=6
Memory used 2,351,728k (± 0.00%) 2,351,780k (± 0.00%) ~ 2,351,728k 2,351,827k p=0.066 n=6
Parse Time 9.29s (± 0.19%) 9.29s (± 0.28%) ~ 9.26s 9.33s p=0.746 n=6
Bind Time 2.14s (± 0.35%) 2.13s (± 0.48%) ~ 2.12s 2.14s p=0.530 n=6
Check Time 73.56s (± 0.63%) 73.34s (± 0.46%) ~ 72.80s 73.79s p=0.378 n=6
Emit Time 0.27s (± 2.98%) 0.28s (± 1.86%) ~ 0.27s 0.28s p=0.235 n=6
Total Time 85.26s (± 0.55%) 85.04s (± 0.38%) ~ 84.55s 85.49s p=0.298 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,250,056 1,251,158 +1,102 (+ 0.09%) ~ ~ p=0.001 n=6
Types 264,970 264,802 -168 (- 0.06%) ~ ~ p=0.001 n=6
Memory used 2,404,519k (± 0.05%) 2,406,596k (± 0.05%) +2,076k (+ 0.09%) 2,405,414k 2,408,614k p=0.013 n=6
Parse Time 6.08s (± 0.52%) 6.17s (± 0.64%) +0.09s (+ 1.40%) 6.13s 6.22s p=0.005 n=6
Bind Time 2.28s (± 0.77%) 2.27s (± 0.72%) ~ 2.25s 2.29s p=0.124 n=6
Check Time 41.40s (± 0.75%) 41.31s (± 0.70%) ~ 40.94s 41.63s p=0.575 n=6
Emit Time 3.52s (± 3.12%) 3.68s (± 6.16%) ~ 3.44s 4.04s p=0.298 n=6
Total Time 53.27s (± 0.83%) 53.44s (± 0.60%) ~ 52.79s 53.68s p=0.810 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,250,056 1,251,158 +1,102 (+ 0.09%) ~ ~ p=0.001 n=6
Types 264,970 264,802 -168 (- 0.06%) ~ ~ p=0.001 n=6
Memory used 2,478,966k (± 0.04%) 2,600,502k (±11.29%) 🔻+121,536k (+ 4.90%) 2,479,367k 3,200,267k p=0.031 n=6
Parse Time 6.33s (± 0.93%) 6.39s (± 0.65%) ~ 6.35s 6.47s p=0.128 n=6
Bind Time 2.06s (± 0.40%) 2.04s (± 1.00%) -0.03s (- 1.21%) 2.00s 2.06s p=0.012 n=6
Check Time 41.82s (± 0.52%) 41.90s (± 0.54%) ~ 41.53s 42.11s p=0.575 n=6
Emit Time 3.56s (± 1.50%) 3.69s (± 3.76%) +0.14s (+ 3.89%) 3.57s 3.95s p=0.025 n=6
Total Time 53.80s (± 0.52%) 54.04s (± 0.34%) ~ 53.71s 54.27s p=0.109 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 260,936 261,015 +79 (+ 0.03%) ~ ~ p=0.001 n=6
Types 106,385 106,217 -168 (- 0.16%) ~ ~ p=0.001 n=6
Memory used 436,567k (± 0.02%) 437,005k (± 0.02%) +438k (+ 0.10%) 436,915k 437,164k p=0.005 n=6
Parse Time 2.87s (± 0.82%) 2.85s (± 0.48%) ~ 2.84s 2.87s p=0.357 n=6
Bind Time 1.08s (± 0.75%) 1.09s ~ ~ ~ p=0.073 n=6
Check Time 15.46s (± 0.49%) 15.43s (± 0.50%) ~ 15.31s 15.54s p=0.470 n=6
Emit Time 1.28s (± 1.34%) 1.29s (± 0.65%) ~ 1.28s 1.30s p=0.170 n=6
Total Time 20.69s (± 0.44%) 20.66s (± 0.30%) ~ 20.57s 20.76s p=0.469 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 68 68 ~ ~ ~ p=1.000 n=6
Symbols 225,916 225,916 ~ ~ ~ p=1.000 n=6
Types 94,414 94,414 ~ ~ ~ p=1.000 n=6
Memory used 370,887k (± 0.01%) 370,967k (± 0.02%) ~ 370,847k 371,045k p=0.128 n=6
Parse Time 2.76s (± 0.77%) 2.77s (± 0.98%) ~ 2.73s 2.81s p=0.747 n=6
Bind Time 1.58s (± 1.12%) 1.58s (± 1.94%) ~ 1.55s 1.62s p=1.000 n=6
Check Time 15.78s (± 0.38%) 15.80s (± 0.36%) ~ 15.71s 15.87s p=0.422 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.11s (± 0.33%) 20.15s (± 0.42%) ~ 20.04s 20.26s p=0.422 n=6
vscode - node (v18.15.0, x64)
Errors 1 1 ~ ~ ~ p=1.000 n=6
Symbols 3,103,679 3,103,679 ~ ~ ~ p=1.000 n=6
Types 1,069,681 1,069,681 ~ ~ ~ p=1.000 n=6
Memory used 3,199,136k (± 0.00%) 3,199,156k (± 0.00%) ~ 3,199,088k 3,199,260k p=0.748 n=6
Parse Time 13.98s (± 0.34%) 14.00s (± 0.40%) ~ 13.93s 14.07s p=0.872 n=6
Bind Time 4.41s (± 2.06%) 4.45s (± 2.42%) ~ 4.36s 4.59s p=0.210 n=6
Check Time 82.33s (± 0.49%) 82.36s (± 0.46%) ~ 81.90s 83.04s p=0.936 n=6
Emit Time 22.42s (± 0.46%) 22.34s (± 0.42%) ~ 22.21s 22.44s p=0.228 n=6
Total Time 123.13s (± 0.33%) 123.15s (± 0.27%) ~ 122.80s 123.77s p=0.936 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 278,997 278,997 ~ ~ ~ p=1.000 n=6
Types 113,861 113,861 ~ ~ ~ p=1.000 n=6
Memory used 428,606k (± 0.02%) 428,644k (± 0.04%) ~ 428,369k 428,820k p=0.575 n=6
Parse Time 4.90s (± 0.17%) 4.90s (± 0.24%) ~ 4.89s 4.92s p=1.000 n=6
Bind Time 2.11s (± 1.19%) 2.10s (± 1.07%) ~ 2.08s 2.13s p=1.000 n=6
Check Time 21.87s (± 0.19%) 21.88s (± 0.55%) ~ 21.68s 22.03s p=0.688 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 28.88s (± 0.13%) 28.88s (± 0.40%) ~ 28.68s 29.00s p=0.575 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 540,027 540,027 ~ ~ ~ p=1.000 n=6
Types 181,292 181,292 ~ ~ ~ p=1.000 n=6
Memory used 483,542k (± 0.01%) 483,606k (± 0.02%) ~ 483,544k 483,817k p=0.230 n=6
Parse Time 4.02s (± 0.40%) 4.02s (± 0.29%) ~ 4.00s 4.03s p=1.000 n=6
Bind Time 1.44s (± 0.72%) 1.43s (± 0.72%) ~ 1.41s 1.44s p=0.134 n=6
Check Time 22.93s (± 0.26%) 22.94s (± 0.19%) ~ 22.88s 23.01s p=0.935 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 28.39s (± 0.22%) 28.39s (± 0.13%) ~ 28.34s 28.45s p=1.000 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@dragomirtitian
Copy link
Contributor Author

@jakebailey Thanks for the CI run :). Performance looks good. DT looks good. There are some small differences in some error messages, but they don't seem significant (just minor changes in type printing)

@weswigham Can you please have a look at the PR again, and my comments above?

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 400 repos with tsc comparing main and refs/pull/59282/merge:

Something interesting changed - please have a look.

Details

vuejs/core

4 of 6 projects failed to build with the old tsc and were ignored

tsconfig.json

tsconfig.build.json

src/compiler/checker.ts Outdated Show resolved Hide resolved
@jakebailey
Copy link
Member

Hm, self check is now failing...

@dragomirtitian dragomirtitian force-pushed the isolated-declarations-syntactic-builder-refactor branch from c8cca30 to 91da5ae Compare September 27, 2024 17:10
@dragomirtitian
Copy link
Contributor Author

Hm, self check is now failing...

Fixed.

Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through all of the baselines; this all seems fine, I think?

Comment on lines 49 to +51
export type LocalInterface = import("pkg", { with: {} });
export declare const a: any;
export declare const b: any;
export declare const a: import("pkg", { with: {} });
export declare const b: import("pkg", { with: {} });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any issues with preserving these attributes? I assume not, and that it's probably good to keep them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that they're not nightly-only, it should be fine to keep them around - you're more likely to randomly start breaking your consumers on older TS that you incidentally hadn't before, but... 🤷

@@ -32,5 +32,5 @@ exports.b = null;

//// [index.d.ts]
export type LocalInterface = import("pkg", { with: { "resolution-mode": "require" } }).RequireInterface & import("pkg", { with: { "resolution-mode": "import" } }).ImportInterface;
export declare const a: import("pkg").RequireInterface;
export declare const a: import("pkg", { with: { "resolution-mode": "require" } }).RequireInterface;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a behavior change, but, I think an okay one since we're trying to make it so that isolatedDeclaration doesn't have to reason about this at all.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually elide them if they weren't needed because they matched the default mode for the file, yeah, but there's no harm (other than ascetic) in including them if they were written explicitly.

Comment on lines +63 to +74
~
!!! error TS9039: Type containing private name 'a' can't be used with --isolatedDeclarations.
!!! related TS9027 v2.ts:2:14: Add a type annotation to the variable v2.
/** module var */
n: typeof n,
~
!!! error TS9013: Expression type can't be inferred with --isolatedDeclarations.
!!! related TS9027 v2.ts:2:14: Add a type annotation to the variable v2.
!!! related TS9035 v2.ts:6:5: Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit.
~
!!! error TS9039: Type containing private name 'n' can't be used with --isolatedDeclarations.
!!! related TS9027 v2.ts:2:14: Add a type annotation to the variable v2.
Copy link
Member

@jakebailey jakebailey Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all new and interesting but I think still correct errors.

Copy link
Contributor Author

@dragomirtitian dragomirtitian Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these errors are redundant. I'll suppress them

Edit: It's a bit more complicated to suppress these. I'll get to them on Monday :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's a requirement; the errors seem correct to me?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It's correct. It's pointing out the exact parts that are causing the issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I wouldn't worry about suppressing them; my original comment wasn't meant to be a complaint! 😅

@weswigham weswigham merged commit 476e9ee into microsoft:main Sep 30, 2024
32 checks passed
@tchetwin tchetwin deleted the isolated-declarations-syntactic-builder-refactor branch September 30, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants