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

test: Update metabase tests for latest vitest version #4223

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Jan 28, 2025

What's the problem?

API tests on main are failing following the merge of #4072

What's the cause?

We upgraded vitest from v2 to v3 (PR here) in order to resolve CVE-2025-24010. Vitest v3 has some changes to how spies are handled (release notes here) which wasn't picked up in #4072 as it wasn't rebased to main.

We could force all PRs to be rebase to main before merge using GH branch protection but I think this would be a real pain to manage for little benefit. Very few issues like this make it to main and can be easily identified and resolves before reach production.

@DafyddLlyr DafyddLlyr requested a review from a team January 28, 2025 18:15
Copy link

github-actions bot commented Jan 28, 2025

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr merged commit 9227ee2 into main Jan 28, 2025
13 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/metabase-test-fix-vitest-version branch January 29, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants