Skip to content

[stable35] chore(deps-dev): upgrade vitest and its coverage provider to 5 - #8312

Merged
vitormattos merged 2 commits into
stable35from
backport/8306/stable35
Sep 9, 2026
Merged

vitormattos merged 2 commits into
stable35from
backport/8306/stable35

Conversation

@backportbot-libresign

@backportbot-libresign backportbot-libresign Bot commented Sep 9, 2026

Copy link
Copy Markdown

Backport of #8306

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

chore(deps-dev): upgrade vitest and its coverage provider to 5

Dependabot proposed vitest 5 alone in #8295 and the install failed,

because @vitest/coverage-v8 pins the vitest version it supports. The two

packages have to move together.

Grouping them in the Dependabot configuration keeps future updates in a

single pull request, so the pair cannot drift apart again.

Vitest 5 reports a pending dynamic import as an unhandled rejection when

the module runner closes. The router test asserted that the lazy route

loader returns a thenable but never awaited it, so the import outlived

the test. Awaiting it keeps what the test checks and also proves the

component actually loads.

Ref #8299

Assisted-by: Claude Code:claude-opus-5

Signed-off-by: André Maia <andrefnkmm@gmail.com>

[skip ci]
@github-project-automation github-project-automation Bot moved this from 0. Backlog to 1. to do in Roadmap Sep 9, 2026
@vitormattos
vitormattos marked this pull request as ready for review September 9, 2026 14:06
@vitormattos
vitormattos force-pushed the backport/8306/stable35 branch from bb3df97 to 1c7ff95 Compare September 9, 2026 14:06
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos force-pushed the backport/8306/stable35 branch from 1c7ff95 to 4943025 Compare September 9, 2026 14:07
@vitormattos
vitormattos merged commit 36d129e into stable35 Sep 9, 2026
59 checks passed
@vitormattos
vitormattos deleted the backport/8306/stable35 branch September 9, 2026 14:23
@github-project-automation github-project-automation Bot moved this from 1. to do to 4. to release in Roadmap Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

2 participants