-
Notifications
You must be signed in to change notification settings - Fork 414
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
Strange error with directory targets #6168
Comments
Do you have directory targets enabled? |
Yup dune-project is:
|
to confirm, the action ran in |
Yes @emillon (it is very easy to reproduce, so if someone can confirm it'd be great) |
I'm adding this to the milestone as it could be understood as a regression. |
@ejgallego Does it work on a previous version of Dune? |
Yes (tho 3.3 didn't like the symlinks inside node, but we just clean them up and that works) |
@rgrinberg if that serves as a clue, it seems still related to links somehow, the following action still works fine on
|
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Repro case here #6189 |
Thanks a lot @Alizter ! This was a tricky one actually |
The digest computation for directory targets is broken because when it recuses on the subdirectory it forgets that symlinks are allowed inside and fails instead. |
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
As this is related to directory targets which are experimental, we said that it would be fine to release 3.5 without a fix to this. |
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com> ps-id: 81001677-82b6-4bb8-bf41-64dd64613eae Signed-off-by: Ali Caglayan <alizter@gmail.com>
Bumping this back to 3.5.0 as I have a fix ready. |
Hi folks, using this simple dune file:
dune build @node
fails withhowever
npm install
generates the directory just fine; this is in today's main. Adding sandboxing doesn't alter the result.The text was updated successfully, but these errors were encountered: