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

Take into account peerDependency versions when calculating packageId #57029

Merged
merged 9 commits into from
Apr 1, 2024

Conversation

sheetalkamat
Copy link
Member

Fixes #56762

@typescript-bot
Copy link
Collaborator

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up.

@jakebailey
Copy link
Member

@typescript-bot test top200
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot perf test this
@typescript-bot perf test public
@typescript-bot pack this

@typescript-bot user test tsserver
@typescript-bot test tsserver top100

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the diff-based top-repos suite (tsserver) on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the diff-based top-repos suite on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the parallelized Definitely Typed test suite on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the tarball bundle task on this PR at 3d33069. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the public perf test suite on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the regular perf test suite on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Heya @jakebailey, I've started to run the diff-based user code test suite (tsserver) on this PR at 3d33069. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 12, 2024

Hey @jakebailey, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/159472/artifacts?artifactName=tgz&fileId=38681BC9F1FA4920D0384603277DF2793551B3CB0FEB49D42BED378AA71D76C302&fileName=/typescript-5.4.0-insiders.20240112.tgz"
    }
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/pr-build@5.4.0-pr-57029-10".;

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user test suite comparing main and refs/pull/57029/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user test suite comparing main and refs/pull/57029/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

puppeteer

packages/browsers/test/src/tsconfig.json

@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
Angular - node (v18.15.0, x64)
Memory used 295,512k (± 0.02%) 295,533k (± 0.01%) ~ 295,516k 295,571k p=0.470 n=6
Parse Time 2.65s (± 0.52%) 2.65s (± 0.15%) ~ 2.65s 2.66s p=0.390 n=6
Bind Time 0.82s (± 0.50%) 0.83s (± 1.25%) ~ 0.82s 0.84s p=0.114 n=6
Check Time 8.14s (± 0.23%) 8.16s (± 0.35%) ~ 8.12s 8.20s p=0.570 n=6
Emit Time 7.08s (± 0.21%) 7.09s (± 0.29%) ~ 7.06s 7.12s p=0.454 n=6
Total Time 18.69s (± 0.20%) 18.72s (± 0.20%) ~ 18.69s 18.79s p=0.124 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 192,490k (± 1.23%) 191,534k (± 0.01%) ~ 191,516k 191,575k p=0.936 n=6
Parse Time 1.35s (± 0.38%) 1.36s (± 0.89%) ~ 1.35s 1.38s p=0.923 n=6
Bind Time 0.72s (± 0.00%) 0.72s (± 0.00%) ~ 0.72s 0.72s p=1.000 n=6
Check Time 9.37s (± 0.27%) 9.35s (± 0.34%) ~ 9.30s 9.39s p=0.197 n=6
Emit Time 2.62s (± 0.56%) 2.62s (± 0.62%) ~ 2.60s 2.64s p=0.870 n=6
Total Time 14.07s (± 0.18%) 14.05s (± 0.30%) ~ 13.98s 14.09s p=0.624 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,394k (± 0.01%) 347,391k (± 0.01%) ~ 347,354k 347,418k p=0.873 n=6
Parse Time 2.46s (± 0.51%) 2.46s (± 0.76%) ~ 2.44s 2.49s p=0.622 n=6
Bind Time 0.93s (± 0.44%) 0.93s (± 0.44%) ~ 0.92s 0.93s p=1.000 n=6
Check Time 6.87s (± 0.30%) 6.87s (± 0.43%) ~ 6.84s 6.92s p=0.935 n=6
Emit Time 4.04s (± 0.26%) 4.05s (± 0.16%) ~ 4.04s 4.06s p=0.203 n=6
Total Time 14.30s (± 0.14%) 14.30s (± 0.22%) ~ 14.27s 14.35s p=1.000 n=6
TFS - node (v18.15.0, x64)
Memory used 302,769k (± 0.00%) 302,777k (± 0.00%) ~ 302,768k 302,797k p=0.421 n=6
Parse Time 2.00s (± 0.68%) 2.00s (± 1.05%) ~ 1.98s 2.03s p=0.682 n=6
Bind Time 1.00s (± 0.63%) 1.00s (± 0.51%) ~ 1.00s 1.01s p=0.386 n=6
Check Time 6.30s (± 0.28%) 6.31s (± 0.49%) ~ 6.28s 6.36s p=0.935 n=6
Emit Time 3.59s (± 0.41%) 3.60s (± 0.72%) ~ 3.56s 3.63s p=0.558 n=6
Total Time 12.90s (± 0.23%) 12.91s (± 0.32%) ~ 12.87s 12.97s p=1.000 n=6
material-ui - node (v18.15.0, x64)
Memory used 508,272k (± 0.01%) 508,305k (± 0.00%) +33k (+ 0.01%) 508,289k 508,320k p=0.037 n=6
Parse Time 2.59s (± 0.65%) 2.59s (± 0.67%) ~ 2.57s 2.62s p=0.737 n=6
Bind Time 0.99s (± 1.37%) 0.99s (± 1.05%) ~ 0.98s 1.01s p=1.000 n=6
Check Time 17.04s (± 0.34%) 17.11s (± 0.50%) ~ 17.02s 17.23s p=0.173 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.62s (± 0.39%) 20.69s (± 0.46%) ~ 20.60s 20.85s p=0.229 n=6
xstate - node (v18.15.0, x64)
Memory used 512,994k (± 0.01%) 512,980k (± 0.01%) ~ 512,859k 513,039k p=0.936 n=6
Parse Time 3.28s (± 0.12%) 3.28s (± 0.31%) ~ 3.27s 3.30s p=0.390 n=6
Bind Time 1.54s (± 0.41%) 1.54s (± 0.41%) ~ 1.53s 1.55s p=1.000 n=6
Check Time 2.84s (± 0.36%) 2.83s (± 0.35%) ~ 2.82s 2.84s p=0.366 n=6
Emit Time 0.07s (± 0.00%) 0.07s (± 0.00%) ~ 0.07s 0.07s p=1.000 n=6
Total Time 7.72s (± 0.13%) 7.73s (± 0.14%) ~ 7.72s 7.74s p=0.255 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Angular - node (v18.15.0, x64)
  • Compiler-Unions - node (v18.15.0, x64)
  • Monaco - node (v18.15.0, x64)
  • TFS - node (v18.15.0, x64)
  • material-ui - node (v18.15.0, x64)
  • xstate - 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,343ms (± 0.60%) 2,338ms (± 0.74%) ~ 2,312ms 2,364ms p=0.809 n=6
Req 2 - geterr 5,551ms (± 1.72%) 5,515ms (± 1.47%) ~ 5,423ms 5,603ms p=0.575 n=6
Req 3 - references 324ms (± 0.60%) 324ms (± 1.21%) ~ 322ms 332ms p=0.677 n=6
Req 4 - navto 273ms (± 1.38%) 275ms (± 1.20%) ~ 270ms 278ms p=0.683 n=6
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) ~ 1,356 1,356 p=1.000 n=6
Req 5 - completionInfo 90ms (± 5.45%) 87ms (± 8.53%) ~ 78ms 94ms p=0.363 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,476ms (± 1.66%) 2,484ms (± 0.54%) ~ 2,474ms 2,508ms p=0.297 n=6
Req 2 - geterr 4,185ms (± 1.98%) 4,166ms (± 1.80%) ~ 4,101ms 4,266ms p=0.810 n=6
Req 3 - references 340ms (± 0.82%) 333ms (± 1.31%) -7ms (- 2.06%) 331ms 342ms p=0.029 n=6
Req 4 - navto 285ms (± 1.14%) 285ms (± 0.48%) ~ 283ms 287ms p=0.561 n=6
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) ~ 1,518 1,518 p=1.000 n=6
Req 5 - completionInfo 87ms (± 5.34%) 78ms (± 7.97%) 🟩-9ms (-10.19%) 74ms 90ms p=0.033 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,601ms (± 0.37%) 2,608ms (± 0.53%) ~ 2,584ms 2,624ms p=0.298 n=6
Req 2 - geterr 1,729ms (± 1.72%) 1,729ms (± 2.11%) ~ 1,662ms 1,768ms p=0.873 n=6
Req 3 - references 113ms (± 9.19%) 119ms (± 7.92%) ~ 106ms 126ms p=0.325 n=6
Req 4 - navto 365ms (± 0.33%) 365ms (± 0.27%) ~ 364ms 367ms p=0.867 n=6
Req 5 - completionInfo count 2,073 (± 0.00%) 2,073 (± 0.00%) ~ 2,073 2,073 p=1.000 n=6
Req 5 - completionInfo 311ms (± 1.57%) 312ms (± 1.48%) ~ 305ms 316ms p=0.624 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)
  • xstateTSServer - 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 154.07ms (± 0.20%) 154.05ms (± 0.19%) ~ 152.91ms 157.54ms p=0.997 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 230.29ms (± 0.16%) 230.21ms (± 0.15%) -0.07ms (- 0.03%) 229.02ms 235.87ms p=0.015 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 231.21ms (± 0.19%) 231.24ms (± 0.17%) ~ 229.74ms 236.36ms p=0.217 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 230.86ms (± 0.18%) 230.92ms (± 0.20%) ~ 229.42ms 238.71ms p=0.329 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

Hey @jakebailey, the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@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
mui-docs - node (v20.5.1, x64)
Memory used 1,716,682k (± 0.00%) 1,717,040k (± 0.00%) +358k (+ 0.02%) 1,716,999k 1,717,128k p=0.005 n=6
Parse Time 6.74s (± 0.28%) 6.76s (± 0.67%) ~ 6.73s 6.85s p=0.514 n=6
Bind Time 2.35s (± 5.67%) 2.35s (± 5.26%) ~ 2.10s 2.42s p=0.872 n=6
Check Time 52.34s (± 0.37%) 52.17s (± 0.52%) ~ 51.86s 52.61s p=0.423 n=6
Emit Time 0.15s (± 3.53%) 0.15s (± 3.36%) ~ 0.15s 0.16s p=0.640 n=6
Total Time 61.59s (± 0.45%) 61.43s (± 0.55%) ~ 60.85s 61.85s p=0.378 n=6
self-build-src - node (v20.5.1, x64)
Memory used 2,660,600k (± 5.36%) 2,578,276k (± 0.03%) ~ 2,577,598k 2,579,303k p=1.000 n=6
Parse Time 5.06s (± 0.93%) 5.06s (± 0.98%) ~ 4.99s 5.14s p=1.000 n=6
Bind Time 1.97s (± 1.32%) 1.98s (± 0.95%) ~ 1.95s 2.00s p=0.808 n=6
Check Time 32.15s (± 0.53%) 32.16s (± 0.30%) ~ 31.98s 32.27s p=0.873 n=6
Emit Time 2.87s (± 2.69%) 2.86s (± 2.12%) ~ 2.78s 2.96s p=0.873 n=6
Total Time 42.08s (± 0.37%) 42.05s (± 0.24%) ~ 41.92s 42.16s p=0.630 n=6
self-compiler - node (v20.5.1, x64)
Memory used 419,221k (± 0.01%) 419,385k (± 0.00%) +164k (+ 0.04%) 419,362k 419,405k p=0.005 n=6
Parse Time 2.89s (± 0.26%) 2.88s (± 0.51%) ~ 2.86s 2.90s p=0.503 n=6
Bind Time 1.13s (± 0.48%) 1.14s (± 0.36%) ~ 1.13s 1.14s p=0.282 n=6
Check Time 14.12s (± 0.12%) 14.15s (± 0.33%) ~ 14.09s 14.21s p=0.466 n=6
Emit Time 1.05s (± 1.56%) 1.05s (± 1.52%) ~ 1.04s 1.08s p=0.390 n=6
Total Time 19.19s (± 0.17%) 19.22s (± 0.27%) ~ 19.16s 19.29s p=0.573 n=6
vscode - node (v20.5.1, x64)
Memory used 2,835,099k (± 0.00%) 2,835,135k (± 0.00%) ~ 2,835,082k 2,835,182k p=0.128 n=6
Parse Time 10.73s (± 0.16%) 10.73s (± 0.43%) ~ 10.70s 10.82s p=0.225 n=6
Bind Time 3.45s (± 0.37%) 3.44s (± 0.51%) ~ 3.41s 3.46s p=0.187 n=6
Check Time 56.45s (± 0.23%) 56.44s (± 0.32%) ~ 56.27s 56.71s p=0.936 n=6
Emit Time 16.22s (± 0.57%) 16.16s (± 0.45%) ~ 16.06s 16.27s p=0.261 n=6
Total Time 86.85s (± 0.17%) 86.77s (± 0.22%) ~ 86.55s 87.00s p=0.471 n=6
webpack - node (v20.5.1, x64)
Memory used 391,337k (± 0.01%) 391,358k (± 0.01%) ~ 391,324k 391,399k p=0.298 n=6
Parse Time 3.31s (± 0.44%) 3.32s (± 0.23%) ~ 3.31s 3.33s p=0.241 n=6
Bind Time 1.42s (± 0.69%) 1.43s (± 0.62%) ~ 1.42s 1.44s p=0.208 n=6
Check Time 12.79s (± 0.20%) 12.82s (± 0.42%) ~ 12.72s 12.88s p=0.169 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 17.53s (± 0.22%) 17.57s (± 0.31%) ~ 17.46s 17.62s p=0.226 n=6
System info unknown
Hosts
  • node (v20.5.1, x64)
Scenarios
  • mui-docs - node (v20.5.1, x64)
  • self-build-src - node (v20.5.1, x64)
  • self-compiler - node (v20.5.1, x64)
  • vscode - node (v20.5.1, x64)
  • webpack - node (v20.5.1, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top-repos suite comparing main and refs/pull/57029/merge:

Something interesting changed - please have a look.

Details

chakra-ui/chakra-ui

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

packages/components/tsconfig.build.json

  • error TS5056: Cannot write file '/mnt/ts_downloads/chakra-ui/packages/components/dist/types/menu/menu.stories.d.ts' because it would be overwritten by multiple input files.
    • Project Scope

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top-repos suite comparing main and refs/pull/57029/merge:

Something interesting changed - please have a look.

Details

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: RepoResults7/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

{"seq":753,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","line":4,"offset":52}}
{"seq":754,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","line":4,"offset":52}}
{"seq":755,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/test/lib/middleware/withMiddleware.test.ts"],"openFiles":[]}}
{"seq":756,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/app/_trpc/client.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard 9c1e1d7312d028de93983f896dd08fe5c3a3ab6b
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults7/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@sheetalkamat
Copy link
Member Author

@typescript-bot test top200
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot perf test this
@typescript-bot perf test public
@typescript-bot pack this

@typescript-bot user test tsserver
@typescript-bot test tsserver top100

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the regular perf test suite on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the diff-based top-repos suite on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the public perf test suite on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the diff-based top-repos suite (tsserver) on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the diff-based user code test suite (tsserver) on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the parallelized Definitely Typed test suite on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the tarball bundle task on this PR at 9497cf8. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Heya @sheetalkamat, I've started to run the diff-based user code test suite on this PR at 9497cf8. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 22, 2024

Hey @sheetalkamat, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/159615/artifacts?artifactName=tgz&fileId=12E0ADA1B9697A3E756E379820A8E1AF384BB4BCEB820033C79003106F3A368002&fileName=/typescript-5.4.0-insiders.20240122.tgz"
    }
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/pr-build@5.4.0-pr-57029-27".;

@typescript-bot
Copy link
Collaborator

@sheetalkamat Here are the results of running the user test suite comparing main and refs/pull/57029/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@sheetalkamat Here are the results of running the user test suite comparing main and refs/pull/57029/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

puppeteer

packages/browsers/test/src/tsconfig.json

@typescript-bot
Copy link
Collaborator

@sheetalkamat
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
mui-docs - node (v20.5.1, x64)
Memory used 1,731,282k (± 0.00%) 1,731,648k (± 0.00%) +366k (+ 0.02%) 1,731,623k 1,731,662k p=0.005 n=6
Parse Time 6.80s (± 0.22%) 6.83s (± 0.42%) ~ 6.80s 6.88s p=0.053 n=6
Bind Time 2.39s (± 0.78%) 2.35s (± 6.10%) ~ 2.06s 2.44s p=0.746 n=6
Check Time 52.52s (± 0.74%) 52.50s (± 0.54%) ~ 52.27s 53.02s p=1.000 n=6
Emit Time 0.15s (± 2.69%) 0.15s (± 3.36%) ~ 0.15s 0.16s p=0.595 n=6
Total Time 61.87s (± 0.61%) 61.84s (± 0.60%) ~ 61.34s 62.46s p=0.810 n=6
self-build-src - node (v20.5.1, x64)
Memory used 2,605,242k (± 2.32%) 2,581,083k (± 0.02%) ~ 2,580,364k 2,582,034k p=0.689 n=6
Parse Time 5.05s (± 1.15%) 5.08s (± 1.20%) ~ 4.98s 5.14s p=0.471 n=6
Bind Time 1.98s (± 0.59%) 1.97s (± 0.59%) ~ 1.96s 1.99s p=0.185 n=6
Check Time 32.41s (± 0.27%) 32.45s (± 0.21%) ~ 32.36s 32.53s p=0.336 n=6
Emit Time 2.83s (± 2.08%) 2.82s (± 3.99%) ~ 2.64s 2.98s p=0.810 n=6
Total Time 42.28s (± 0.25%) 42.32s (± 0.34%) ~ 42.19s 42.59s p=0.810 n=6
self-compiler - node (v20.5.1, x64)
Memory used 419,428k (± 0.01%) 419,506k (± 0.02%) +78k (+ 0.02%) 419,379k 419,557k p=0.045 n=6
Parse Time 2.89s (± 0.55%) 2.90s (± 0.29%) ~ 2.89s 2.91s p=0.108 n=6
Bind Time 1.13s (± 0.00%) 1.13s (± 0.46%) ~ 1.13s 1.14s p=0.174 n=6
Check Time 14.17s (± 0.34%) 14.15s (± 0.26%) ~ 14.11s 14.21s p=0.419 n=6
Emit Time 1.03s (± 1.98%) 1.04s (± 0.61%) ~ 1.03s 1.05s p=0.555 n=6
Total Time 19.22s (± 0.22%) 19.22s (± 0.22%) ~ 19.18s 19.30s p=1.000 n=6
vscode - node (v20.5.1, x64)
Memory used 2,849,553k (± 0.00%) 2,849,529k (± 0.01%) ~ 2,849,170k 2,849,623k p=0.230 n=6
Parse Time 10.82s (± 0.18%) 10.81s (± 0.29%) ~ 10.75s 10.84s p=0.871 n=6
Bind Time 3.46s (± 0.40%) 3.45s (± 0.86%) ~ 3.40s 3.48s p=1.000 n=6
Check Time 56.96s (± 0.37%) 57.18s (± 0.52%) ~ 56.93s 57.66s p=0.092 n=6
Emit Time 16.31s (± 0.71%) 16.98s (± 8.42%) ~ 16.32s 19.90s p=0.108 n=6
Total Time 87.55s (± 0.30%) 88.41s (± 1.90%) ~ 87.50s 91.83s p=0.230 n=6
webpack - node (v20.5.1, x64)
Memory used 395,589k (± 0.01%) 395,644k (± 0.01%) +55k (+ 0.01%) 395,612k 395,697k p=0.013 n=6
Parse Time 3.31s (± 0.45%) 3.33s (± 0.24%) +0.02s (+ 0.60%) 3.32s 3.34s p=0.040 n=6
Bind Time 1.43s (± 0.96%) 1.45s (± 0.52%) ~ 1.44s 1.46s p=0.111 n=6
Check Time 12.97s (± 0.26%) 12.97s (± 0.37%) ~ 12.90s 13.02s p=0.871 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 17.72s (± 0.30%) 17.76s (± 0.24%) ~ 17.69s 17.81s p=0.226 n=6
System info unknown
Hosts
  • node (v20.5.1, x64)
Scenarios
  • mui-docs - node (v20.5.1, x64)
  • self-build-src - node (v20.5.1, x64)
  • self-compiler - node (v20.5.1, x64)
  • vscode - node (v20.5.1, x64)
  • webpack - node (v20.5.1, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

Hey @sheetalkamat, the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@typescript-bot
Copy link
Collaborator

@sheetalkamat
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
Angular - node (v18.15.0, x64)
Memory used 295,644k (± 0.00%) 295,666k (± 0.01%) ~ 295,634k 295,701k p=0.128 n=6
Parse Time 2.66s (± 0.19%) 2.67s (± 0.61%) ~ 2.64s 2.69s p=0.437 n=6
Bind Time 0.83s (± 1.45%) 0.84s (± 0.00%) ~ 0.84s 0.84s p=0.293 n=6
Check Time 8.17s (± 0.26%) 8.18s (± 0.29%) ~ 8.14s 8.21s p=0.803 n=6
Emit Time 7.10s (± 0.41%) 7.10s (± 0.35%) ~ 7.07s 7.14s p=0.807 n=6
Total Time 18.77s (± 0.21%) 18.78s (± 0.28%) ~ 18.69s 18.83s p=0.520 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 192,927k (± 1.23%) 192,523k (± 1.22%) ~ 191,535k 197,329k p=0.575 n=6
Parse Time 1.36s (± 1.83%) 1.37s (± 1.26%) ~ 1.35s 1.39s p=0.408 n=6
Bind Time 0.72s (± 0.57%) 0.72s (± 0.00%) ~ 0.72s 0.72s p=0.405 n=6
Check Time 9.34s (± 0.35%) 9.36s (± 0.48%) ~ 9.30s 9.43s p=0.572 n=6
Emit Time 2.62s (± 0.71%) 2.62s (± 0.52%) ~ 2.60s 2.64s p=0.935 n=6
Total Time 14.04s (± 0.18%) 14.06s (± 0.31%) ~ 14.01s 14.13s p=0.369 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,459k (± 0.01%) 347,465k (± 0.01%) ~ 347,435k 347,491k p=0.689 n=6
Parse Time 2.48s (± 0.36%) 2.48s (± 0.25%) ~ 2.47s 2.49s p=1.000 n=6
Bind Time 0.93s (± 0.44%) 0.93s (± 0.44%) ~ 0.92s 0.93s p=1.000 n=6
Check Time 6.94s (± 0.14%) 6.94s (± 0.42%) ~ 6.90s 6.98s p=0.869 n=6
Emit Time 4.05s (± 0.49%) 4.05s (± 0.43%) ~ 4.03s 4.08s p=1.000 n=6
Total Time 14.39s (± 0.14%) 14.39s (± 0.22%) ~ 14.34s 14.44s p=0.934 n=6
TFS - node (v18.15.0, x64)
Memory used 302,825k (± 0.01%) 302,850k (± 0.00%) +26k (+ 0.01%) 302,822k 302,861k p=0.020 n=6
Parse Time 2.02s (± 1.06%) 2.01s (± 0.73%) ~ 1.99s 2.03s p=0.807 n=6
Bind Time 1.00s (± 1.03%) 1.00s (± 1.22%) ~ 0.99s 1.02s p=0.931 n=6
Check Time 6.32s (± 0.34%) 6.34s (± 0.15%) ~ 6.33s 6.35s p=0.217 n=6
Emit Time 3.60s (± 0.57%) 3.60s (± 0.23%) ~ 3.59s 3.61s p=1.000 n=6
Total Time 12.94s (± 0.16%) 12.95s (± 0.13%) ~ 12.93s 12.97s p=0.330 n=6
material-ui - node (v18.15.0, x64)
Memory used 511,303k (± 0.00%) 511,326k (± 0.01%) ~ 511,292k 511,384k p=0.298 n=6
Parse Time 2.65s (± 0.66%) 2.66s (± 0.66%) ~ 2.63s 2.68s p=0.059 n=6
Bind Time 0.99s (± 0.55%) 0.99s (± 0.55%) ~ 0.99s 1.00s p=1.000 n=6
Check Time 17.24s (± 0.50%) 17.25s (± 0.32%) ~ 17.15s 17.30s p=0.630 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.88s (± 0.38%) 20.90s (± 0.23%) ~ 20.83s 20.96s p=0.470 n=6
mui-docs - node (v18.15.0, x64)
Memory used 1,696,102k (± 0.00%) 1,696,394k (± 0.00%) +293k (+ 0.02%) 1,696,371k 1,696,425k p=0.005 n=6
Parse Time 6.52s (± 0.44%) 6.54s (± 0.79%) ~ 6.50s 6.64s p=0.935 n=6
Bind Time 2.35s (± 0.35%) 2.35s (± 0.32%) ~ 2.34s 2.36s p=0.306 n=6
Check Time 55.63s (± 0.23%) 55.60s (± 0.23%) ~ 55.38s 55.72s p=0.810 n=6
Emit Time 0.16s (± 0.00%) 0.16s (± 0.00%) ~ 0.16s 0.16s p=1.000 n=6
Total Time 64.66s (± 0.21%) 64.64s (± 0.15%) ~ 64.53s 64.74s p=1.000 n=6
self-build-src - node (v18.15.0, x64)
Memory used 2,412,837k (± 0.03%) 2,414,005k (± 0.03%) +1,168k (+ 0.05%) 2,413,135k 2,414,552k p=0.031 n=6
Parse Time 4.92s (± 0.97%) 4.95s (± 0.58%) ~ 4.91s 4.98s p=0.149 n=6
Bind Time 1.88s (± 0.34%) 1.87s (± 0.56%) -0.01s (- 0.80%) 1.85s 1.88s p=0.024 n=6
Check Time 33.48s (± 0.22%) 33.43s (± 0.34%) ~ 33.26s 33.54s p=0.810 n=6
Emit Time 2.69s (± 1.67%) 2.68s (± 1.85%) ~ 2.61s 2.76s p=0.421 n=6
Total Time 42.99s (± 0.14%) 42.94s (± 0.20%) ~ 42.79s 43.03s p=0.378 n=6
self-compiler - node (v18.15.0, x64)
Memory used 419,719k (± 0.01%) 419,769k (± 0.01%) ~ 419,735k 419,798k p=0.093 n=6
Parse Time 2.78s (± 2.96%) 2.78s (± 1.92%) ~ 2.68s 2.82s p=0.628 n=6
Bind Time 1.12s (± 6.33%) 1.10s (± 5.11%) ~ 1.06s 1.21s p=0.391 n=6
Check Time 15.13s (± 0.27%) 15.13s (± 0.23%) ~ 15.08s 15.17s p=0.936 n=6
Emit Time 1.15s (± 1.77%) 1.16s (± 1.44%) ~ 1.14s 1.18s p=0.516 n=6
Total Time 20.18s (± 0.24%) 20.17s (± 0.25%) ~ 20.07s 20.20s p=1.000 n=6
vscode - node (v18.15.0, x64)
Memory used 2,807,299k (± 0.00%) 2,807,358k (± 0.00%) ~ 2,807,280k 2,807,408k p=0.066 n=6
Parse Time 10.67s (± 0.26%) 10.67s (± 0.43%) ~ 10.62s 10.74s p=1.000 n=6
Bind Time 3.39s (± 0.40%) 3.37s (± 0.36%) ~ 3.36s 3.39s p=0.165 n=6
Check Time 59.54s (± 0.47%) 59.54s (± 0.45%) ~ 59.26s 59.99s p=0.936 n=6
Emit Time 16.15s (± 0.73%) 16.16s (± 0.35%) ~ 16.10s 16.22s p=1.000 n=6
Total Time 89.75s (± 0.31%) 89.75s (± 0.28%) ~ 89.56s 90.22s p=0.873 n=6
webpack - node (v18.15.0, x64)
Memory used 392,472k (± 0.02%) 392,454k (± 0.01%) ~ 392,394k 392,534k p=0.630 n=6
Parse Time 3.06s (± 1.32%) 3.05s (± 0.57%) ~ 3.02s 3.07s p=0.257 n=6
Bind Time 1.40s (± 0.54%) 1.40s (± 0.54%) ~ 1.39s 1.41s p=1.000 n=6
Check Time 13.98s (± 0.50%) 13.96s (± 0.32%) ~ 13.88s 14.01s p=1.000 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 18.45s (± 0.44%) 18.42s (± 0.23%) ~ 18.35s 18.48s p=0.295 n=6
xstate - node (v18.15.0, x64)
Memory used 513,423k (± 0.01%) 513,436k (± 0.01%) ~ 513,364k 513,495k p=0.630 n=6
Parse Time 3.27s (± 0.25%) 3.29s (± 0.25%) +0.01s (+ 0.41%) 3.28s 3.30s p=0.026 n=6
Bind Time 1.54s (± 0.00%) 1.54s (± 0.26%) ~ 1.54s 1.55s p=0.405 n=6
Check Time 2.85s (± 0.60%) 2.84s (± 0.78%) ~ 2.80s 2.86s p=0.415 n=6
Emit Time 0.08s (± 6.19%) 0.08s (± 4.99%) ~ 0.08s 0.09s p=0.595 n=6
Total Time 7.76s (± 0.19%) 7.75s (± 0.31%) ~ 7.71s 7.78s p=0.515 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Angular - node (v18.15.0, x64)
  • Compiler-Unions - node (v18.15.0, x64)
  • Monaco - node (v18.15.0, x64)
  • TFS - node (v18.15.0, x64)
  • material-ui - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate - 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,348ms (± 0.56%) 2,354ms (± 0.78%) ~ 2,327ms 2,374ms p=0.630 n=6
Req 2 - geterr 5,439ms (± 0.20%) 5,455ms (± 0.45%) ~ 5,420ms 5,479ms p=0.230 n=6
Req 3 - references 323ms (± 0.55%) 323ms (± 0.72%) ~ 320ms 326ms p=0.624 n=6
Req 4 - navto 278ms (± 0.56%) 277ms (± 0.79%) ~ 275ms 279ms p=0.662 n=6
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) ~ 1,356 1,356 p=1.000 n=6
Req 5 - completionInfo 84ms (± 7.18%) 91ms (± 8.53%) ~ 84ms 102ms p=0.121 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,474ms (± 0.85%) 2,478ms (± 0.75%) ~ 2,451ms 2,508ms p=0.630 n=6
Req 2 - geterr 4,149ms (± 1.60%) 4,212ms (± 1.80%) ~ 4,125ms 4,286ms p=0.093 n=6
Req 3 - references 333ms (± 1.52%) 335ms (± 1.76%) ~ 329ms 346ms p=0.420 n=6
Req 4 - navto 286ms (± 0.91%) 284ms (± 0.49%) -3ms (- 0.87%) 282ms 286ms p=0.041 n=6
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) ~ 1,518 1,518 p=1.000 n=6
Req 5 - completionInfo 77ms (± 5.88%) 79ms (± 7.69%) ~ 73ms 90ms p=0.515 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,613ms (± 0.34%) 2,617ms (± 0.40%) ~ 2,600ms 2,628ms p=0.378 n=6
Req 2 - geterr 1,705ms (± 2.67%) 1,733ms (± 2.52%) ~ 1,660ms 1,769ms p=0.336 n=6
Req 3 - references 120ms (± 8.84%) 121ms (± 8.69%) ~ 106ms 128ms p=0.871 n=6
Req 4 - navto 371ms (± 0.23%) 369ms (± 0.88%) ~ 363ms 372ms p=0.867 n=6
Req 5 - completionInfo count 2,078 (± 0.00%) 2,078 (± 0.00%) ~ 2,078 2,078 p=1.000 n=6
Req 5 - completionInfo 308ms (± 1.50%) 310ms (± 1.30%) ~ 305ms 315ms p=0.418 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)
  • xstateTSServer - 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 153.97ms (± 0.20%) 153.98ms (± 0.20%) ~ 152.68ms 158.34ms p=0.824 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 230.04ms (± 0.16%) 229.84ms (± 0.15%) -0.20ms (- 0.09%) 228.37ms 232.86ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 231.72ms (± 0.20%) 231.81ms (± 0.18%) +0.09ms (+ 0.04%) 230.24ms 236.87ms p=0.006 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 231.25ms (± 0.18%) 231.24ms (± 0.17%) ~ 229.86ms 234.98ms p=0.802 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

@sheetalkamat Here are the results of running the top-repos suite comparing main and refs/pull/57029/merge:

Something interesting changed - please have a look.

Details

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: RepoResults7/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

{"seq":797,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/swagger/pages/_app.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":798,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/apps/swagger/pages/_app.tsx"}},"skipDestructiveCodeActions":true}}
{"seq":799,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/apps/swagger/pages/_app.tsx"}},"skipDestructiveCodeActions":false}}
{"seq":800,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard ede23572031a9d08a18dfd42550d54c5c82b7f80
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults7/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot
Copy link
Collaborator

@sheetalkamat Here are the results of running the top-repos suite comparing main and refs/pull/57029/merge:

Something interesting changed - please have a look.

Details

chakra-ui/chakra-ui

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

packages/components/tsconfig.build.json

  • error TS5056: Cannot write file '/mnt/ts_downloads/chakra-ui/packages/components/dist/types/menu/menu.stories.d.ts' because it would be overwritten by multiple input files.
    • Project Scope

StanGirard/quivr

1 of 2 projects failed to build with the old tsc and were ignored

frontend/tsconfig.json

@sheetalkamat
Copy link
Member Author

@weswigham @andrewbranch @jakebailey can you please take a look again so we can get this in for 5.5 early on.

const peerPackageJson = getPackageJsonInfo(nodeModules + key, /*onlyRecordFailures*/ false, state);
if (peerPackageJson) {
const version = (peerPackageJson.contents.packageJsonContent as PackageJson).version;
result += `+${key}@${version}`;
Copy link
Member

@weswigham weswigham Feb 21, 2024

Choose a reason for hiding this comment

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

Q: I could theoretically name a package on disk typescript@5.4.1+ and munge this cache key up pretty badly (all these separators are valid filepath characters after all). Shouldn't this use, eg, ? and | instead of + and @, since, at least on windows, those aren't valid path characters? Believe it or not, a require("typescript@5.4.1+") will work and resolve on disk, even if npm won't let you publish a package with those characters!

Copy link
Member Author

Choose a reason for hiding this comment

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

But that shouldnt matter right becaus this is just distinguisher and gets added as packageName@version+peerPackage@peerPackageversion... as the package ID for distinguishing.. Actually was wondering if peerPackageDependency should be array of { packageName, version} instead so that in future we can use it say in module specifier etc .

Copy link
Member Author

Choose a reason for hiding this comment

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

@andrewbranch do you think we would be able to use peer dependency to determine the "moduleSpecifier" name for transitive dependencies? If yes i will make change to make this object with packageName and version instead of a string of all peer dependencies together?

Copy link
Member

Choose a reason for hiding this comment

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

Where would we use that exactly? Usually when we’re trying to compute a module specifier, we’re starting from a source file or module symbol. So I’m not sure where this would come in.

Copy link
Member Author

Choose a reason for hiding this comment

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

eg. if your file has import whose peer dependency is the source File for the package then short cut to directly use package name?

Copy link
Member Author

Choose a reason for hiding this comment

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

import { a } from "foo";
export functopn bar() { 
return a.bar(); // This is from package Bar@BarVersion
}

then while going through all imports in the file: if you find say "foo" import whose peer dependency is "Bar@Bar.version" use that package name ?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe that could be leveraged somehow, but getting just the package name is usually fairly easy compared to figuring out what subpath can be used to get to the export we need.

Copy link
Member Author

Choose a reason for hiding this comment

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

@weswigham @andrewbranch do we still have concern about the string for peer dependency calculations.
Do we want this as array of package name and versions for future use or just some string is ok. Should i make this internal for now so we have option to change this later? Would like to get this in sooner than later

Copy link
Member

Choose a reason for hiding this comment

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

I think it should probably be internal if it’s a formatted string that only gets used as a lookup id. But if you want to go ahead and change it to be an object with name/version, that works too.

@sheetalkamat
Copy link
Member Author

@andrewbranch marked peerDependencies as internal for now

@sheetalkamat sheetalkamat merged commit 98f2c12 into main Apr 1, 2024
25 checks passed
@sheetalkamat sheetalkamat deleted the pnpmFileVersioning branch April 1, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Backlog Bug PRs that fix a backlog bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pnpm peer dependency handling conflicts with source file redirection / deduplication
6 participants