aws / aws/aws-encryption-sdk-python
CI: Avoid GH throttling via Consolidation
- Ngôn ngữ chính
- Python
- Star
- 255
- Fork
- 92
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
#### Issue:
Our CI can fail due to GitHub throwing a 429.
i.e: Too many CI actions tried to pull from the repo and GitHub throttled us.
There are two causes of this:
1. We use GH Workflow Matrices, which spawn a job per entry
2. Every Dependabot PR updates on a merge
Thus the requests to pull the Repo from GitHub is:
```
|dependabot_prs| x 79
```
Where 79 is the current number of individual GitHub actions created through our matrix use.
#### A Solution:
Too prevent this in the future, we should consolidate are GitHub Workflow Jobs.
Technically, a Job could run all the tox envs for a OS Version,
even across Python versions.
That would dramatically reduce the requests to pull the repo down.
This reduce the number GitHub Jobs and increase the Steps per Job.
We would loose some of our high level test reporting,
but I believe that is acceptable.
_Originally posted by @texastony in https://github.com/aws/aws-encryption-sdk-python/issues/564#issuecomment-1441033254_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the GitHub Workflow matrix definitions and reviewing how tox environments are distributed across operating-system and Python-version jobs. Compare the current job count with a consolidated arrangement, then verify that CI still runs all tox environments and reports failures acceptably without triggering GitHub throttling.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, python
- Lĩnh vực
- ci-cd
- Loại issue
- Tái cấu trúc
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100