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

fix(deps): update dependency vitest to v2 #1987

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 8, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest (source) ^1.6.0 -> ^2.0.5 age adoption passing confidence

Warning

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


Release Notes

vitest-dev/vitest (vitest)

v2.0.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.2

Compare Source

v2.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.0

Compare Source

Vitest 2.0 is here! 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 - At any time (no schedule defined), 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 this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

coderabbitai bot commented Jul 8, 2024

Warning

Rate limit exceeded

@renovate[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 7 minutes and 22 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between deff213 and 44eeff4.

Walkthrough

Walkthrough

The recent updates to the package.json focus on enhancing the testing framework by upgrading the versions of @vitest/coverage-v8 and vitest from 1.1.0 to 2.0.5. This strategic change aims to utilize the latest features and improvements in testing capabilities, fostering better performance and development efficiency. No other aspects of the code have been modified, indicating a targeted update on dependency management.

Changes

Files Change Summary
package.json Updated @vitest/coverage-v8 from ^1.1.0 to ^2.0.5; updated vitest from ^1.1.0 to ^2.0.5.

Poem

🐇 In the garden of code so bright,
Dependencies dance with new delight.
With Vitest and coverage so fine,
Our testing blooms, a joyous sign!
Hopping forward, we embrace the change,
In every version, our dreams rearrange! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

deepsource-io bot commented Jul 8, 2024

Here's the code health analysis summary for commits 34b6056..44eeff4. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

The code changes mostly revolve around updating the version of the 'vitest' package from 1.6.0 to 2.0.0 across multiple dependent packages. Generally speaking, this seems to be a straightforward upgrade. However, it's necessary to ensure compatibility of the 'vitest' version 2.0.0 with all packages. Additionally, if any breaking changes or additional features are introduced in version 2.0.0 of 'vitest', necessary changes should be implemented across all packages which utilize it. In addition, testing should be done to ensure no functionality is broken as a result of this version upgrade.

packages/cli/package.json Outdated Show resolved Hide resolved
packages/connection/package.json Outdated Show resolved Hide resolved
packages/database/package.json Outdated Show resolved Hide resolved
packages/gateway/package.json Outdated Show resolved Hide resolved
packages/patch/package.json Outdated Show resolved Hide resolved
packages/shard/package.json Outdated Show resolved Hide resolved
packages/shared/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

This review concerns several updates to the project's package dependencies. Specifically, 'vitest' has been updated from version '1.6.0' to '2.0.0' across multiple packages. There is also an update to '@vitest/coverage-v8' from version '1.6.0' to '2.0.0'. While code changes are not present, it is essential to confirm that the packages behave as expected after the upgrade, particularly taking into account possible breaking changes between major versions.

packages/cli/package.json Outdated Show resolved Hide resolved
packages/connection/package.json Outdated Show resolved Hide resolved
packages/database/package.json Outdated Show resolved Hide resolved
packages/gateway/package.json Outdated Show resolved Hide resolved
packages/patch/package.json Outdated Show resolved Hide resolved
packages/shard/package.json Outdated Show resolved Hide resolved
packages/shared/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

The Git diff reveals that the version update from version '1.6.0' to '2.0.0' for the package 'vitest' across different microservices. This is a major change and there should be comprehensive testing done to ensure nothing breaks after the update since major versions typically introduce breaking changes.

packages/cli/package.json Outdated Show resolved Hide resolved
packages/connection/package.json Outdated Show resolved Hide resolved
packages/database/package.json Outdated Show resolved Hide resolved
packages/gateway/package.json Outdated Show resolved Hide resolved
packages/patch/package.json Outdated Show resolved Hide resolved
packages/shard/package.json Outdated Show resolved Hide resolved
packages/shared/package.json Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.20%. Comparing base (34b6056) to head (44eeff4).
Report is 2 commits behind head on dev.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1987   +/-   ##
=======================================
  Coverage   33.20%   33.20%           
=======================================
  Files         207      207           
  Lines       13593    13593           
  Branches      409      460   +51     
=======================================
  Hits         4513     4513           
  Misses       9080     9080           
Flag Coverage Δ *Carryforward flag
cli 23.66% <ø> (ø)
connection 23.66% <ø> (ø)
core 100.00% <ø> (ø) Carriedforward from 34b6056
database 30.76% <ø> (ø)
gateway 7.91% <ø> (ø) Carriedforward from 34b6056
lobby 21.42% <ø> (ø) Carriedforward from 34b6056
login 40.28% <ø> (ø) Carriedforward from 34b6056
mcots 23.66% <ø> (ø)
nps 23.66% <ø> (ø)
patch 65.04% <ø> (ø)
persona 37.52% <ø> (ø) Carriedforward from 34b6056
shard 47.71% <ø> (ø)
shared 23.75% <ø> (ø)
shared-packets 23.66% <ø> (ø)
transactions 56.16% <ø> (ø) Carriedforward from 34b6056

*This pull request uses carry forward flags. Click here to find out more.

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

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 44a6a41 to d6b8703 Compare July 8, 2024 15:56
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for d6b8703

packages/cli/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for d6b8703

packages/cli/package.json Outdated Show resolved Hide resolved
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from d6b8703 to 1fd713f Compare July 8, 2024 15:58
Copy link

socket-security bot commented Jul 8, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/pino-pretty@11.2.2 environment Transitive: filesystem +9 642 kB matteo.collina
npm/pino@9.3.2 environment, unsafe Transitive: eval +5 936 kB matteo.collina

View full report↗︎

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 1fd713f

packages/database/package.json Outdated Show resolved Hide resolved
packages/gateway/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 1fd713f

packages/database/package.json Outdated Show resolved Hide resolved
packages/gateway/package.json Outdated Show resolved Hide resolved
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 1fd713f to d32dace Compare July 10, 2024 17:25
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for d32dace

packages/cli/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for d32dace

packages/cli/package.json Outdated Show resolved Hide resolved
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from d32dace to 7d7ad36 Compare July 15, 2024 11:45
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 7d7ad36

packages/cli/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 7d7ad36

packages/cli/package.json Outdated Show resolved Hide resolved
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 7d7ad36 to 9bab8c1 Compare July 22, 2024 11:06
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 9bab8c1 to 7d20c42 Compare July 31, 2024 12:05
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 7d20c42

packages/cli/package.json Outdated Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 7d20c42

packages/cli/package.json Outdated Show resolved Hide resolved
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 525c7de and 7742adb.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • package.json (2 hunks)
Files skipped from review due to trivial changes (1)
  • package.json

auto-merge was automatically disabled August 20, 2024 10:15

Head branch was modified

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 7742adb to deff213 Compare August 20, 2024 10:15
@renovate renovate bot changed the base branch from main to dev August 20, 2024 10:15
@renovate renovate bot dismissed coderabbitai’s stale review August 20, 2024 10:15

The base branch was changed.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7742adb and deff213.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • package.json

coderabbitai[bot]
coderabbitai bot previously approved these changes Aug 20, 2024
@renovate renovate bot enabled auto-merge August 20, 2024 10:26
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from deff213 to f5facbb Compare August 26, 2024 18:50
@renovate renovate bot changed the title chore(deps): update vitest monorepo to v2 (major) fix(deps): update dependency vitest to v2 Aug 26, 2024
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from f5facbb to 1a7f842 Compare August 27, 2024 12:13
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 1a7f842 to 44eeff4 Compare August 27, 2024 12:33
Copy link

sonarcloud bot commented Aug 27, 2024

@drazisil drazisil added this pull request to the merge queue Aug 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Aug 27, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@drazisil drazisil added this pull request to the merge queue Aug 27, 2024
Merged via the queue into dev with commit cb30166 Aug 27, 2024
13 checks passed
@drazisil drazisil deleted the renovate/major-vitest-monorepo branch August 27, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant