haskellPackages: re-enable tests for many packages#384127
haskellPackages: re-enable tests for many packages#384127maralorn merged 2 commits intoNixOS:haskell-updatesfrom
Conversation
|
Note I have only tested on x86_64-linux so far. |
98e575f to
7330805
Compare
maralorn
left a comment
There was a problem hiding this comment.
I fear that some of them are flaky. But I still think we should bite this bullet.
7330805 to
e08e9ce
Compare
My thoughts exactly. I kept a ton that "built on my machine" because their comments said they were flaky, but for the ones that offer no reason, I'd err on the side of taking them off and possibly adding back when they bite us with an explanation rather than keep them until some eventual manual fine-grained sweep. Maybe we ought to even require a reason added (e.g. issue/pull link) for new overrides so they don't stick around forever. Not too long ago, |
ad5a9eb to
e618571
Compare
e618571 to
918d67f
Compare
|
Love it. |
|
So, I was researching why |
|
I mean, if even upstream doesn't care for years to fix a test failure, will we do something about it ourselves? (except keep restarting the builds manually) When I enable tests, I think about what we do in case they fail, because otherwise they're more harm than good. |
|
I guess the why is that the test passed and alex probably overlooked the fact that the issue stated it was flaky. Let’s disable them. |
|
I think I'll just disable this test case (specifically) again. Looks like a bug in the Also, it seems to me that this |
There hasn't been movement on this in many years since the package seems to be in maintenance mode only, but it is a prominently used dependency, so we'll have to ignore this, pretty much. Reference haskellari/tree-diff#79. Reference NixOS#384127 (comment).
There hasn't been movement on this in many years since the package seems to be in maintenance mode only, but it is a prominently used dependency, so we'll have to ignore this, pretty much. Reference haskellari/tree-diff#79. Reference #384127 (comment). (cherry picked from commit 50b7532)
I've been prototyping a snippet that returns all derivations for which
doCheck = false, but with the flag set to true instead. Then I build the whole bunch againsthaskellPackagesand see which ones succeed. Out of ~300 ones, close to 100 built.I didn't remove a good chunk of them that had scary comments, e.g.
These ones also built but they have
doCheck = falseright inhackage-packages.nix. Not sure whyBefore and after this PR there's no failures when running
and there are exactly these failures when using
ghc910:HList,hindentghcideGiven the large volume, I wouldn't be surprised if we eventually end up having to add a few back, but hard to tell the reasons for a
doCheckwhen there's no comment.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.