Skip to content
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

Excessive use of builds.sr.ht #17479

Closed
ddevault opened this issue Mar 23, 2021 · 9 comments
Closed

Excessive use of builds.sr.ht #17479

ddevault opened this issue Mar 23, 2021 · 9 comments
Assignees

Comments

@ddevault
Copy link

ddevault commented Mar 23, 2021

Hi folks. I've spoken with ~araq about this several times, but it continues to be a problem. Nim makes excessive use of builds.sr.ht, far more than almost any other project does. You have submitted 275 builds today alone, totaling over 200 hours of build time. For context, a similar level of usage on CircleCI would cost you almost $75 per day. This is causing disruptions for other users.

Please reduce your OpenBSD builds to just one manifest, and do whatever testing you need to do in serial rather than in parallel. Please also disable your builds for pull requests and only build commits - your contributors are too often pushing and repushing tens of commits to each pull request, most of which don't need to be built.

I've been trying to address this issue with the Nim project for several months now. If a timely resolution is not found, I will be terminating service for your project.

@narimiran
Copy link
Member

Please also disable your builds for pull requests

Agreed. We should do this ASAP.

@Araq
Copy link
Member

Araq commented Mar 23, 2021

Please reduce your OpenBSD builds to just one manifest

This means to delete .builds/openbsd_1.yml, right?

Please also disable your builds for pull requests and only build commits - your contributors are too often pushing and repushing tens of commits to each pull request, most of which don't need to be built.

How to accomplish that?

@narimiran
Copy link
Member

How to accomplish that?

I've now disabled the webhooks which were triggered by pull requests. Now it should be commits-only. (I'll monitor new pull requests to see if that's really the case, to be sure.)

@ddevault
Copy link
Author

This means to delete .builds/openbsd_1.yml, right?

Yep, and merge anything it would have done into the other manifest.

Please also disable your builds for pull requests and only build commits - your contributors are too often pushing and repushing tens of commits to each pull request, most of which don't need to be built.

How to accomplish that?

Head to https://dispatch.sr.ht and disable the appropriate task.

@ddevault
Copy link
Author

Thanks @narimiran

@Araq
Copy link
Member

Araq commented Mar 23, 2021

Head to https://dispatch.sr.ht and disable the appropriate task.

Thanks, done.

@Araq
Copy link
Member

Araq commented Mar 23, 2021

I've now disabled the webhooks which were triggered by pull requests. Now it should be commits-only. (I'll monitor new pull requests to see if that's really the case, to be sure.)

Ooops...

narimiran added a commit to narimiran/Nim that referenced this issue Mar 23, 2021
@narimiran
Copy link
Member

@ddevault See #17480: no sr.ht BSD CIs anymore.

I've been trying to address this issue with the Nim project for several months now. If a timely resolution is not found, I will be terminating service for your project.

I had no information about this being an old well-known problem. Hopefully, this change should bring our usage way down. If there's a similar problem in the future, please ping me too (together with @Araq).

@ddevault
Copy link
Author

Thanks for the speedy response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants