-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dune build @check
should pass if dune build @all
does
#9724
Comments
Do you have a small example reproducing this behaviour? |
Sadly I don't right now, it's complicated to extract a small example from that large repo. Especially as it's not even easy to identify which folder/file/rule is creating a rule with is then executed by |
So I've identified that in our case the problem happened because of a The project structure is something like this:
And you can reproduce the error with
|
Thanks. My understanding of this example is:
Does this match your understanding? |
yes, that is also my understanding (except that I believe you made a typo, in point 4 it should say "when building |
Indeed, thanks. |
If I remember correctly, the ocaml-ci team encountered the same behaviour. Personally (I don't know if that's shared by other maintainers), I don't have the expectation that (put differently: |
In this case, I think the issue is with the Btw, a way to answer the question if a target belongs to |
See also #3182 |
related to that issue, if I overwrite
but instead
|
I'm working on improving the build system in ahrefs' monorepo. Part of this work is allowing to build as many things as possible in one command, and to speed up the feedback loop from dune.
dune build @all
tends to be pretty slow, even in subparts of the monorepo. So I wanted to usedune build @check
instead, at least during development. But there are directories wheredune build @check
doesn't pass, while building the@all
alias is successful. It feels like a bug, given that@check
should be a subset of@all
.The text was updated successfully, but these errors were encountered: