GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: match benchmark parent project (fix #11149) by copley · Pull Request #11155 · vitest-dev/vitest

Conversation

@copley

@copley copley commented Sep 6, 2026

Copy link
Copy Markdown

Written by Codex on behalf of @copley, who reviewed and approved this pull request.

Summary

  • let benchmark-only project clones match their configured parent project name
  • preserve matching by the generated (bench) name
  • cover positive selection, exclusion, and unchanged ordinary test-mode behavior

Root cause

Benchmark expansion adds the (bench) suffix before project filtering. The filter therefore only sees the generated name, so vitest bench --project=@workspace/test no longer matches a project configured as @workspace/test.

In benchmark-only mode this records the configured project name as an ancestor of its benchmark clone. That reuses the existing project-filter matcher and keeps exclusion semantics consistent.

Fixes #11149.

Verification

  • reproduced on 7c818153add03b0bca54453a54e76961dd5be18d
  • focused benchmark regression passed
  • adjacent benchmarking and project suites: 112 passed
  • pnpm --filter vitest build
  • pnpm build
  • CI=true pnpm lint
  • pnpm typecheck
  • pnpm test: 216 files passed; 2576 tests passed, 21 expected failures, 75 skipped, 25 todo

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@copley
fix: match benchmark parent project (fix vitest-dev#11149)
3d3220c
@copley copley mentioned this pull request Sep 6, 2026
docs: add Vitest benchmark filter contribution copley/paid-debugging-lab#5
Open
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Hello @copley. Thank you for taking the time to contribute!

Unfortunately, the team accepts pull requests only from maintainers and approved contributors, so this pull request was closed automatically. We are sorry about that, it is not a judgement of your work. The number of pull requests grew beyond what the team can review, and this policy gives maintainers the space to triage and prioritize issues at their own pace.

Please keep the discussion in #11149. Your changes are not lost: a maintainer can reopen this pull request if the team decides to go forward with it. See our pull request policy for more context.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Oct 5, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[5.0] --project filter does not match in benchmark mode, due to new project suffix

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@copley
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.