-
Notifications
You must be signed in to change notification settings - Fork 696
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
cabal-install-3.9.0.0 downloads packages even if --dry-run is passed #8706
Comments
I think this behaviour started after #8500, but I might have missed couple of nightly builds in between. |
This is actually somewhat bad for CI which only cache cabal store. Previously: if everything is in store, the package sources are not redownloaded, and everything proceeds. With this (buggy) behaviour, CI should either cache package download location (for no real reason) or redownload the package sources (for no real reason either). EDIT: actually |
perhaps related: #8708 |
Could you kindly check if the bug if perhaps gone in this version with some fixes: https://gitlab.haskell.org/haskell/cabal/-/pipelines/63307 The commandline to get the Linux version via ghcup is |
@Mikolaj is there any particular fix that would handle this? I don't recall seeing one come across my way yet, and I was intending to get to looking at this soon... |
Not at all, no particular fix; that's just a 100% blind shot in the hopes that it "fixed itself" by laying around long enough. |
Or perhaps the symptoms change slightly... But, anyway, the new dogfooding binary would be exercised and often good things emerge from that. |
Another one to try. This one is not a hip shot, but should really fix it (artifacts at the bottom of the right pane of this page): https://github.com/haskell/cabal/actions/runs/4179798663 |
I'm adding a label that we should consider closing it because it's pending verification that #8769 indeed fixed it. |
3.10.1.0 doesn't seem to do this anymore. Thans! |
This issue is labeled |
I can confirm our eventual understanding was this has been introduced between the last point release of 3.6.* and the first of 3.8.* and so no published release has been affected (so a more precisely label would be regression_in_master). We might have been right. |
E.g. on
haskell-ci
CI:https://github.com/haskell-CI/haskell-ci/actions/runs/4025432861/jobs/6918641652
At least
cabal-install
doesn't actually build anything, but even downloading (and hitting the internet) is not good.EDIT: previously the
cabal build
also first told what it would build and then start downloading, not it first downloads and then tells, and then starts building.The text was updated successfully, but these errors were encountered: