Passing the root workspace name as a package to --filter
does not work as expected
#9578
Open
1 task done
--filter
does not work as expected
#9578
Verify canary release
Link to code that reproduces this issue
https://github.com/dstaley/turborepo-root-filter
Which canary version will you have in your reproduction?
2.3.4-canary.2
Enviroment information
Expected behavior
turbo-ignore
correctly detects when the dependencies of a task defined for the root workspace have changed compared against themain
branch, and reports that the//#test:integration
task will be run.Actual behavior
The following error occurs:
To Reproduce
turbo-ignore --task test:integration --fallback main
Additional context
I believe passing the root workspace package name as
//
sort of works, but I'm not able to get it to correctly detect when a dependency has changed.To reproduce that,
main
packages/package-b/src/build.js
and commit it.npx turbo run "test:integration" --filter="//...[main]" --dry
Expected result:
Turbo reports that the
//#test:integration
,@repo/package-a#build
, and@repo/package-b#build
tasks will be run.The text was updated successfully, but these errors were encountered: