-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
buildbot errors #1878
Comments
The issue here is that one derivation depends on all derivations. So effectively everything gets evaluated twice |
Yes, so I made that change for the following reason. Our test suite has one derivation per configuration we want to test. |
The issue is that in the end our tests require a derivation each (as we launch neovim with the supplied configuration). Would launching each plugin (so ~100 derivations) independently be less though on buildbot? |
So effectively a tree of link farm derivations? In total we'd have more derivations, but maybe having a tree structure would be easier on buildbot? As another approach, would it be easier on buildbot if we split up our Currently Worth noting: while we have many wrapped nvim test derivations, they should all be wrapping the same nvim package derivation, so that should only need to be built/downloaded once. |
Yes, what matters for build-bot is the number of top-level derivations. In this sense, it is better to have ~60 total top-level derivations (what we have now) rather than ~600+ that we would have without the linkFarm. |
I've disabled buildbot on this repo for now. Even after the recent changes it's still using a lot of memory, can reproduce it by running the eval manually:
|
nixvim/tests/default.nix
Line 46 in b9ed900
The problem seems to be the linkfarm test that was added in #892, it is using a lot of memory.
@GaetanLepage Do you recall the details of this problem, we may be able to find another way of addressing it?
cc @Mic92
The text was updated successfully, but these errors were encountered: