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

Update vitest npm packages to v3 (major) #6192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jan 19, 2025

This PR contains the following updates:

Package Type Update Change
@vitest/coverage-istanbul (source) devDependencies major 2.1.8 -> 3.0.4
vitest (source) devDependencies major 2.1.8 -> 3.0.4

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

vitest-dev/vitest (@​vitest/coverage-istanbul)

v3.0.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.0.3

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v3.0.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v3.0.0

Compare Source

Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@hash-worker hash-worker bot enabled auto-merge January 19, 2025 14:38
@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team area/tests New or updated tests area/tests > integration New or updated integration tests area/apps labels Jan 19, 2025
hashdotai
hashdotai previously approved these changes Jan 19, 2025
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.13%. Comparing base (72a325f) to head (2dc2ec5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6192      +/-   ##
==========================================
- Coverage   21.21%   21.13%   -0.09%     
==========================================
  Files         573      572       -1     
  Lines       19658    19638      -20     
  Branches     2870     2870              
==========================================
- Hits         4171     4151      -20     
  Misses      15435    15435              
  Partials       52       52              
Flag Coverage Δ
blockprotocol.type-system 37.50% <ø> (-8.93%) ⬇️
local.harpc-client 48.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

hashdotai
hashdotai previously approved these changes Jan 19, 2025
hashdotai
hashdotai previously approved these changes Jan 19, 2025
hashdotai
hashdotai previously approved these changes Jan 20, 2025
hashdotai
hashdotai previously approved these changes Jan 24, 2025
hashdotai
hashdotai previously approved these changes Jan 26, 2025
hashdotai
hashdotai previously approved these changes Jan 28, 2025
hashdotai
hashdotai previously approved these changes Jan 28, 2025
@hash-worker hash-worker bot force-pushed the deps/js/major-vitest-npm-packages branch from 2dc2ec5 to 2545573 Compare January 28, 2025 17:38
Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 25 entities $$3.39 \mathrm{ms} \pm 18.4 \mathrm{μs}\left({\color{red}6.14 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.00 \mathrm{ms} \pm 11.3 \mathrm{μs}\left({\color{gray}1.33 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.03 \mathrm{ms} \pm 14.4 \mathrm{μs}\left({\color{gray}2.86 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.13 \mathrm{ms} \pm 9.03 \mathrm{μs}\left({\color{gray}-1.999 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.15 \mathrm{ms} \pm 18.3 \mathrm{μs}\left({\color{lightgreen}-16.710 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.1 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{lightgreen}-25.101 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$15.5 \mathrm{ms} \pm 156 \mathrm{μs}\left({\color{lightgreen}-33.508 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.8 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}4.93 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.7 \mathrm{ms} \pm 202 \mathrm{μs}\left({\color{red}7.26 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.6 \mathrm{ms} \pm 212 \mathrm{μs}\left({\color{gray}2.17 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.4 \mathrm{ms} \pm 180 \mathrm{μs}\left({\color{gray}2.25 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$15.7 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}1.35 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.3 \mathrm{ms} \pm 171 \mathrm{μs}\left({\color{lightgreen}-8.122 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$15.7 \mathrm{ms} \pm 176 \mathrm{μs}\left({\color{gray}-1.001 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$2.12 \mathrm{ms} \pm 7.78 \mathrm{μs}\left({\color{gray}1.09 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$84.8 \mathrm{ms} \pm 513 \mathrm{μs}\left({\color{gray}-0.822 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$80.3 \mathrm{ms} \pm 357 \mathrm{μs}\left({\color{gray}-1.457 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$72.9 \mathrm{ms} \pm 545 \mathrm{μs}\left({\color{gray}0.817 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$88.4 \mathrm{ms} \pm 452 \mathrm{μs}\left({\color{gray}-0.705 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$97.5 \mathrm{ms} \pm 447 \mathrm{μs}\left({\color{gray}-1.046 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.3 \mathrm{ms} \pm 214 \mathrm{μs}\left({\color{gray}-2.756 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$51.9 \mathrm{ms} \pm 245 \mathrm{μs}\left({\color{gray}-1.408 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$47.2 \mathrm{ms} \pm 149 \mathrm{μs}\left({\color{gray}-0.830 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$43.2 \mathrm{ms} \pm 379 \mathrm{μs}\left({\color{gray}2.96 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$55.4 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}-1.315 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$64.3 \mathrm{ms} \pm 241 \mathrm{μs}\left({\color{gray}-1.325 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.4 \mathrm{ms} \pm 219 \mathrm{μs}\left({\color{gray}-1.947 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 25 entities $$84.6 \mathrm{ms} \pm 397 \mathrm{μs}\left({\color{lightgreen}-51.620 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$21.1 \mathrm{ms} \pm 106 \mathrm{μs}\left({\color{gray}4.43 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.0 \mathrm{ms} \pm 105 \mathrm{μs}\left({\color{gray}2.34 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$58.3 \mathrm{ms} \pm 257 \mathrm{μs}\left({\color{gray}2.98 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.36 \mathrm{s} \pm 535 \mathrm{ms}\left({\color{gray}-4.494 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 100 entities $$2.13 \mathrm{ms} \pm 14.8 \mathrm{μs}\left({\color{gray}2.84 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.93 \mathrm{ms} \pm 8.97 \mathrm{μs}\left({\color{gray}0.484 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.38 \mathrm{ms} \pm 91.7 \mathrm{μs}\left({\color{lightgreen}-29.896 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.99 \mathrm{ms} \pm 6.88 \mathrm{μs}\left({\color{gray}1.63 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.01 \mathrm{ms} \pm 8.41 \mathrm{μs}\left({\color{gray}2.50 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/apps area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) area/tests > integration New or updated integration tests area/tests New or updated tests type/eng > backend Owned by the @backend team
Development

Successfully merging this pull request may close these issues.

3 participants