-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
builds.sr.ht: Split OpenBSD job causing resource usage concerns #17107
Comments
see #17108 for a start. When the time comes for netbsd (or if 2 is still too much), we can revisit this using several strategies (see aslso: faster CI · Issue #600 · timotheecour/Nim)
which we could offset by:
we do, testament uses |
Not supported by builds.sr.ht - instead you set an option. See here.
Easily done with
I believe there is a plan for caching in builds.sr.ht at some point, so we could cache the sources build for example. |
but we could handle this in
I suggest something simpler and that doesn't need to wait for them to support caching: given that this never changes:
we can replace it by fetching the resulting csources rarely changes, so we can manually change this when needed. |
After the concerns raised in #17479, sr.ht stuff is now disabled for PRs, and it will only run for commits. |
@euantorano do you have any idea how to run openbsd (or freebsd) CI in PRs when something BSD specific needs to be addressed? refs #17801 (comment) in which i suggested an opt-in approach via either It's hard to claim we support platform X in nim when PR authors can't test for platform X. refs #16282 (comment)
|
The ideal solution IMO would be to only run the tests that test anything that has been changed in each given PR. For example, if there’s a change to the tables module only run it’s tests, not tests for something entirely unrelated like regex or something.
I’m not sure exactly how that could be done, but it might be a good starting place.
…On Tue, 20 Apr 2021, at 21:24, Timothee Cour wrote:
@euantorano <https://github.com/euantorano> do you have any idea how to
run openbsd (or freebsd) CI in PRs when something BSD specific needs to
be addressed?
refs #17801 (comment)
<#17801 (comment)> in
which i suggested an opt-in approach via either `[ci bsd]` or a
`.builds/openbsd.yml.disabled` that PR authors can temporarily enable
in their PR, but for reasons that I don't understand, even that seems
to face push back.
It's hard to claim we support platform X in nim when PR authors can't
test for platform X.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17107 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW24NZDHHOCBLTI5P3VXDTJXPHDANCNFSM4X4QEQSA>.
|
that's a separate topic though, it's doable and worth it (speeding up CI) but would require care that dependencies are tracked correctly. But we're not facing a real problem with our other CI, only with BSD CI right now. |
Well the dispatch integration for builds is limited to only running either all PRs or only commits. When using git.sr.ht supports some special options that I don’t think the GitHub integration can support.
The other option is looking at other services like BuildKite or self hosted sr.ht where the Nim project is responsible for the hardware running the test suite - that way only Nim is affected by resource usage (and I suspect we will get a nasty shock about how heavy the test suite is...)
…On Tue, 20 Apr 2021, at 22:00, Timothee Cour wrote:
that's a separate topic though, it's doable and worth it (speeding up
CI) but would require care that dependencies are tracked correctly. But
we're not facing a real problem with our other CI, only with BSD CI
right now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17107 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW24P422B27NH6BGM4JW3TJXTPBANCNFSM4X4QEQSA>.
|
see also #17801 (comment) |
This was reported by Drew (maintainer of builds.sr.ht), the split build introduced here is causing resource usage headaches for the service and impacting other users.
We should revert back to a single build file.
Note that having multiple build files will cause other headaches, as the maximum number of builds allowed is 4 and once builds.sr.ht supports NetBSD (soon, hopefully) we'll be adding a build file for that platform too which will give is 5 build files. When there are more than 4 build files, the service will select 4 at random.
The text was updated successfully, but these errors were encountered: