Hello everyone,

I've just opened
https://issues.apache.org/jira/projects/INFRA/issues/INFRA-20978 about it
but I think it's best to start discussion here at builds as well. So I just
copy what I wrote in the ticket:

At Apache Airflow, we are starting to hit - more and more often -
concurrency limits in GitHub Actions where we seem to compete with other
Apache projects.

>From the GitHub support ticket I opened. it seems that yesterday we had
some real and huge delays in our builds (> 3 hours) because of this very
problem. We have - apparently 180 concurrency limit for all Apache projects.

https://docs.github.com/en/free-pro-team@latest/actions/reference/usage-limits-billing-and-administration#usage-limits

We recently moved to much more optimized builds which are far smaller and
we run much lower number of those.

You can see PRS which I merged recently:
* https://github.com/apache/airflow/pull/11402
* https://github.com/apache/airflow/pull/11417
* https://github.com/apache/airflow/pull/11471
* https://github.com/apache/airflow/pull/11460

We've also implemented automated cancelling of duplicate workflows
(including a custom cancel-workflow-run Action I developed:
https://github.com/potiuk/cancel-workflow-runs and shared with Skywalking
and Apache Beam projects.

But I think we are getting close to the limits of what we can do to
minimize the strain on the jobs from our project, also we have no influence
(besides Skywalking and Beam) on other projects.

Is there something we can do here? Guaranteed number of runners per
project? Negotiating with GitHub higher concurrency?

I am afraid It will become similiar problem as we had with Travis, if we do
not take any coordinated action here.

I will continue working on optimizing our builds (there are still some
small things I can optimize),

I am also happy to donate my time to help other apache projects to learn
from that and optimize the use of Github Actions, but I do not have enough
information that I could act on - like to know which projects are using
resources etc.

Happy to be involved in solving the problem if I get some help from infra
and other projects on those!

Who else is using GitHub Actions extensively?

J.

-- 

Jarek Potiuk
Polidea <https://www.polidea.com/> | Principal Software Engineer

M: +48 660 796 129 <+48660796129>
[image: Polidea] <https://www.polidea.com/>

Reply via email to