Skip to content

feat: only mode - #2

Merged
antfu merged 1 commit into
mainfrom
feat/only-mode
Dec 4, 2021
Merged

antfu merged 1 commit into
mainfrom
feat/only-mode

Conversation

@patak-cat

Copy link
Copy Markdown
Member

Basic only mode support. If there are two suites marked as only, they will both run. I didn't check exactly how this is implemented in Jest, but at least this will allow you to focus on a single test for fixes in the lib at this point.

@pkg-pr-new

pkg-pr-new Bot commented Aug 18, 2025

Copy link
Copy Markdown
@vitest/browser

npm i https://pkg.pr.new/@vitest/browser@2

@vitest/coverage-istanbul

npm i https://pkg.pr.new/@vitest/coverage-istanbul@2

@vitest/coverage-v8

npm i https://pkg.pr.new/@vitest/coverage-v8@2

@vitest/expect

npm i https://pkg.pr.new/@vitest/expect@2

@vitest/mocker

npm i https://pkg.pr.new/@vitest/mocker@2

@vitest/pretty-format

npm i https://pkg.pr.new/@vitest/pretty-format@2

@vitest/runner

npm i https://pkg.pr.new/@vitest/runner@2

@vitest/snapshot

npm i https://pkg.pr.new/@vitest/snapshot@2

@vitest/spy

npm i https://pkg.pr.new/@vitest/spy@2

@vitest/ui

npm i https://pkg.pr.new/@vitest/ui@2

@vitest/utils

npm i https://pkg.pr.new/@vitest/utils@2

vite-node

npm i https://pkg.pr.new/vite-node@2

vitest

npm i https://pkg.pr.new/vitest@2

@vitest/web-worker

npm i https://pkg.pr.new/@vitest/web-worker@2

@vitest/ws-client

npm i https://pkg.pr.new/@vitest/ws-client@2

commit: dd6186e

macarie added a commit to macarie/vitest that referenced this pull request Jan 23, 2026
macarie added a commit to macarie/vitest that referenced this pull request Jan 23, 2026
blitzy Bot referenced this pull request in blitzy-research/vitest Jul 16, 2026
…shard sidecar

Addresses QA FINAL report findings (HEAD 516555c):

Finding #1 (MINOR, blocking): the duration-aware sharding feature had bumped
picomatch 4.0.3 -> 4.0.5 in pnpm-lock.yaml, contradicting the AAP's binding
'no dependency changes' rule (0.3/0.6.2/0.7) and the in-source comments that
state picomatch is pinned at 4.0.3. Revert pnpm-lock.yaml to the base
resolution so no dependency is added/updated. The picomatch CVEs remain
mitigated in code, version-independently, via isUnsafeAffinityPattern() +
AFFINITY_PICOMATCH_OPTIONS (noextglob) in shard-affinity.ts, so reverting
does not reintroduce an exploitable path. The three source comments claiming
'pinned 4.0.3' are now factually accurate again.

Finding #2 (INFO): document the per-shard duration-history sidecar behavior
in docs/config/sequence.md (recordFileDurations 'deliberate limits'): when a
run is sharded, durations are written to duration-history.shard-<i>-of-<n>.json
beside the base file so each shard partitions from an identical frozen
snapshot; non-sharded runs write the base file directly.

Verification: tsc --noEmit, eslint, vitest build, and vitepress docs build all
pass; sequencers (294) + cli + shard/record e2e (12) suites green;
git diff <base> -- pnpm-lock.yaml is empty (zero dependency drift).
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.

2 participants