Skip to content

refactor!: remove sequential test/suite options in favor of concurrent#10198

Merged
sheremet-va merged 10 commits intovitest-dev:mainfrom
hi-ogawa:docs/vitest-5-sequential-removal
Apr 27, 2026
Merged

refactor!: remove sequential test/suite options in favor of concurrent#10198
sheremet-va merged 10 commits intovitest-dev:mainfrom
hi-ogawa:docs/vitest-5-sequential-removal

Conversation

@hi-ogawa
Copy link
Copy Markdown
Collaborator

@hi-ogawa hi-ogawa commented Apr 26, 2026

Description

Test plan

In test/core, test/config, we already have equivalent tests enumerating both test.sequential and test(.., { concurrent: false }), so just removing sequential ones.

In test/cli, { concurrent: false } tests are missing so replacing existing sequential test with { concurrent: false } with improved coverage.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Co-authored-by: Codex <noreply@openai.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 26, 2026

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit a16fc88
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/69eeafb1a87e33000877f155
😎 Deploy Preview https://deploy-preview-10198--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

hi-ogawa and others added 4 commits April 26, 2026 11:44
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
{
"basic.test.js": {
"test 1": {
"concurrent": true,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This shouldn't be concurrent: true. The bug is due to

Co-authored-by: Codex <noreply@openai.com>
@hi-ogawa hi-ogawa force-pushed the docs/vitest-5-sequential-removal branch from abc3fb4 to 3d684fe Compare April 27, 2026 00:35
@hi-ogawa hi-ogawa marked this pull request as ready for review April 27, 2026 01:19
@hi-ogawa
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 621d047227

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/vitest/src/node/ast-collect.ts
@sheremet-va sheremet-va merged commit 9229f2e into vitest-dev:main Apr 27, 2026
16 of 17 checks passed
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.

Deprecate and remove sequential: boolean from test/suite options in favor of its negation concurrent: boolean

2 participants