Run cabal outdated on CI#11971
Conversation
99a9efe to
598a6cc
Compare
598a6cc to
997d062
Compare
|
First time for me testing Whether I comment out Could you please add some manual QA notes on what to expect? Can we manually tweak a dependency to trigger an outdated dependency warning? Footnotes
|
|
@philderbeast yes, manually tweaking some dependency works, that is what I did to test this locally. |
|
e.g. change this to < 0.8 Line 46 in 5fe8d8d |
|
Why part of validate though? This will hit unsuspected contributors at random time. I think if anything it should be a separate cron job. |
|
To be clear, I don't think it's a contributors responsibility to fix this as part of a feature. I imagine a core developer will take care of it. If I'm around, and somebody pings me, I am happy to do it. The effect for contributors will be:
@ulysses4ever does this address your concerns? |
I'm afraid it's worse that that. CI on PRs will start failing out of the blue. Not when a contributor rebases his PR on the master branch, but suddenly, overnight. Let me quote from the matrix channel: "PR authors use CI a lot to help them debug their PR long before they propose to merge it. Also, conceivably, we may occasionally release without cabal outdated passing (I think this hasn't happened yet, though), e.g., if we have to release ASAP for GHC, but a dependency can't be fixed in time." Also, fixing any possible upstream problems can take a long time: "Unfortunately, some of the time, this involves fixing the dependencies themselves (cabal's CI has a history of exposing bugs in cabal deps) or other lengthy tasks, during which the CI is broken for all PR authors." |
This was part of the pre-flight checklist, which I would like to get rid of.
https://github.com/haskell/cabal/wiki/Making-a-release/_compare/a04bbb077297d496d2609a5ca35619427c245fa0...1848c319688beed33254efcf612d01c737c8a78e