-
Notifications
You must be signed in to change notification settings - Fork 86
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
hash-worker
wants to merge
1
commit into
main
Choose a base branch
from
deps/js/major-vitest-npm-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+354
−315
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
previously approved these changes
Jan 19, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 19, 2025 16:09
89ee85b
to
453292f
Compare
hashdotai
previously approved these changes
Jan 19, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 19, 2025 19:38
453292f
to
63b2fce
Compare
hashdotai
previously approved these changes
Jan 19, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 20, 2025 14:39
63b2fce
to
5613ac0
Compare
hashdotai
previously approved these changes
Jan 20, 2025
hashdotai
previously approved these changes
Jan 24, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 26, 2025 14:08
fd53d8b
to
bbce728
Compare
hashdotai
previously approved these changes
Jan 26, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 28, 2025 10:10
bbce728
to
d1fc5fe
Compare
hashdotai
previously approved these changes
Jan 28, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 28, 2025 12:14
d1fc5fe
to
2dc2ec5
Compare
hashdotai
previously approved these changes
Jan 28, 2025
hash-worker
bot
force-pushed
the
deps/js/major-vitest-npm-packages
branch
from
January 28, 2025 17:38
2dc2ec5
to
2545573
Compare
hashdotai
approved these changes
Jan 28, 2025
Benchmark results
|
Function | Value | Mean | Flame graphs |
---|---|---|---|
entity_by_id | 25 entities | Flame Graph | |
entity_by_id | 1 entities | Flame Graph | |
entity_by_id | 5 entities | Flame Graph | |
entity_by_id | 10 entities | Flame Graph | |
entity_by_id | 50 entities | 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
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1
|
Flame Graph | |
entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1
|
Flame Graph |
representative_read_entity_type
Function | Value | Mean | Flame graphs |
---|---|---|---|
get_entity_type_by_id | Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579
|
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 | Flame Graph | |
link_by_source_by_property | depths: DT=0, PT=0, ET=2, E=2 | Flame Graph | |
link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=2 | Flame Graph | |
link_by_source_by_property | depths: DT=2, PT=2, ET=2, E=2 | Flame Graph | |
link_by_source_by_property | depths: DT=255, PT=255, ET=255, E=255 | Flame Graph | |
link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=0 | Flame Graph | |
entity_by_property | depths: DT=0, PT=2, ET=2, E=2 | Flame Graph | |
entity_by_property | depths: DT=0, PT=0, ET=2, E=2 | Flame Graph | |
entity_by_property | depths: DT=0, PT=0, ET=0, E=2 | Flame Graph | |
entity_by_property | depths: DT=2, PT=2, ET=2, E=2 | Flame Graph | |
entity_by_property | depths: DT=255, PT=255, ET=255, E=255 | Flame Graph | |
entity_by_property | depths: DT=0, PT=0, ET=0, E=0 | Flame Graph |
scaling_read_entity_complete_one_depth
Function | Value | Mean | Flame graphs |
---|---|---|---|
entity_by_id | 25 entities | Flame Graph | |
entity_by_id | 1 entities | Flame Graph | |
entity_by_id | 5 entities | Flame Graph | |
entity_by_id | 10 entities | Flame Graph | |
entity_by_id | 50 entities | Flame Graph |
scaling_read_entity_linkless
Function | Value | Mean | Flame graphs |
---|---|---|---|
entity_by_id | 100 entities | Flame Graph | |
entity_by_id | 1000 entities | Flame Graph | |
entity_by_id | 10000 entities | Flame Graph | |
entity_by_id | 1 entities | Flame Graph | |
entity_by_id | 10 entities | 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1.8
->3.0.4
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
development|production
condition on Vites 6 by @hi-ogawa and @sheremet-va (#7301) (ef146)/__screenshot-error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7340 (ed9ae)View changes on GitHub
v3.0.3
Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.2
Compare Source
🐞 Bug Fixes
expect().resolves/rejects
chain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)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
spy.mockReset
changes - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 (db7a8)describe(..., { shuffle: boolean })
and inherit from parent suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6670 (aa1da)retry
andrepeats
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6817 (e8ce9)🚀 Features
diff
options and supportprintBasicPrototype
- by @hi-ogawa, @sheremet-va and Michał Grzegorzewski in https://github.com/vitest-dev/vitest/issues/6740 (39186)ctx.skip()
dynamically - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6805 (697c3)vitest/node
entry point and statically on Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7029 (be8d4)diff.printBasicPrototype: false
by default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7043 (2b5c5)describe.for
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7253 (0ad28)actionTimeout
as playwright provider options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6984 (e2c29)userEvent.copy, cut, paste
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6769 (843a6)--project=!pattern
- by @haines in https://github.com/vitest-dev/vitest/issues/6924 (ebfe9)thresholds
to support maximum uncovered items - by @jonahkagan in https://github.com/vitest-dev/vitest/issues/7061 (bde98)toHaveBeenCalledExactlyOnceWith
expect matcher - by @jacoberdman2147 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6894 (ff662)toHaveBeenCalledAfter
andtoHaveBeenCalledBefore
utility - by @Barbapapazes and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6056 (85e6f)toSatisfy
asymmetric matcher - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7022 (f691a)toBeOneOf
matcher - by @zirkelc and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6974 (3d742)summary
option forverbose
anddefault
reporters - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6893 (511b7)provide
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6813 (85c64)config
toresolveSnapshotPath
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6800 (746d8)coverageMap
in json report - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6606 (9c8f7)onTestsRerun
method to global setup context - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6803 (e26e0)🐞 Bug Fixes
cacheDir
when optimizer is enabled - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6910 (0b08b)finally
in case there is an error to avoid it getting stuck - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6951 (02194)Custom
type internally - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7032 (7957f)cancelCurrentRun
awaitsrunningPromise
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7168 (1dbf5)getMockImplementation
to return "once" implementation - by @chaptergy in https://github.com/vitest-dev/vitest/issues/7033 (39125)capturePrintError
logger duplicate event handlers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7197 (e89c3)vitest/reporters
entrypoint - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7241 (aec0b)forks
pool - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7090 (8cab9)VitestRunner
type fromvitest/runners
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7240 (9b218)vitest list
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7257 (1c2b2)log-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7019 (6d23f)vi.mock
is present - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6810 (8d179)entries
in the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7167 (423d6)console.time
with fake timers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7207 (903f3)isolate: false
is used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6957 (426ce)dot
reporter withoutlog-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6943 (be969)--hideSkippedTests
in base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6988 (721a5)retry
andrepeats
counts - by @AriPerkkio and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7004 (3496a)describe.todo
as'todo'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7171 (1d458)toMatchFileSnapshot
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7156 (a437b)toMatchSnapshot("...")
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7126 (ac9ba)@ts-expect-error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7125 (27d34)extends: true
correctly inherits all root config properties - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7232 (798c0)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.
This PR has been generated by Renovate Bot.