这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow --affected to be combined with --filter #10689

@weyert

Description

@weyert

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

none

Which canary version will you have in your reproduction?

2.5.5.canary.1

Environment information

CLI:
   Daemon status: Running
   Package manager: pnpm9

Platform:
   Architecture: aarch64
   Operating system: macos
   WSL: false
   Available memory (MB): 9929
   Available CPU cores: 14

Environment:
   CI: None
   Terminal (TERM): xterm-256color
   Terminal program (TERM_PROGRAM): WarpTerminal
   Terminal program version (TERM_PROGRAM_VERSION): v0.2025.07.09.08.11.stable_01
   Shell (SHELL): /bin/zsh
   stdin: false

Expected behavior

I would expect to be still able to use --filter in combination with --affected. As I don't really want to run my playwright tests in some cases as this requires a lot of setup while I would like to run my other tests.

Actual behavior

ERROR the argument '--affected' cannot be used with '--filter '

To Reproduce

pnpm exec turbo run test --affected --filter=pkg

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions