-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Setuptools consuming excessive CI resources #3093
Comments
I too have noticed that Setuptools tests now take forever to run, and turning down concurrency, if that would help the other projects would only throttle Setuptools. Maybe the new platform tests could be set up to be run only for tagged commits (releases) or for PRs with a particular tag to drastically limit the scope of these platform tests. |
I believe that push should limit the execution of these tests. Let's see if that improves the situation. |
Thanks! |
I'm happy to open a PR to add Using concurrency to cancel any in-progress job or run as well |
Sure. Let’s give it a try! |
Something else I'd like to consider - the matrix of tests is doubled by the SETUPTOOLS_USE_DISTUTILS=local/stdlib. Soon I'd like to remove that matrix, maybe to replace it with a single job to capture regressions in that space. |
You can leave it out of the matrix and add an explicit include entry with that option. |
(I'm happy to do that as well) |
It seems the release process is broken due to concurrency cancellation: Because a tagged commit is also a mainline commit with the same SHA hash, the second one without the tag takes precedence, so the tagged commit gets cancelled and no release happens. I'm not sure what needs to be done to address the issue. |
We were discussing this on the original PR. I can move the release job to a separate workflow. We lose the |
@blink1073, @jaraco is a new workflow the best approach here or would it be better to add, for example separate workflow
|
We could move the |
Yeah, that would work! I am trying to think if there is another situation when tests other than integration might be skipped. I suppose if someone creates a few commits in a row, create a tag and than pushes that can happen. So this change would imply people with commit rights follow a more strict discipline, which is very reasonable. But probably it is good to check Jason's opinion first (if you plan to submit a PR, maybe it is good to highlight that so it can addressed in the review?). |
I can submit a PR, but I'll be afk for the next couple of hours. |
I have a couple of objections to creating a separate workflow.
Can we explore tweaking the concurrency group instead? |
Follows what was done to address pypa/setuptools#3093
I've got a few comments on this.
|
@jaraco I think the large # of jobs this introduces to setuptools' GitHub workflows is slowing down builds for other PyPA projects. There is a limit of 20 concurrent jobs org-wide for our plan, and setuptools has gone from 36 jobs in #3078 to 119 jobs here. I've noticed a significant backlog over at https://github.com/pypa/warehouse/actions over the last few days and suspect this might be why.
Any thoughts on how we could get this down to a more reasonable number of concurrent jobs per workflow run?
(cc @ewdurbin)
Originally posted by @di in #2923 (comment)
The text was updated successfully, but these errors were encountered: