aws / aws/aws-encryption-sdk-python
CI: Avoid GH throttling via Consolidation
- 主要语言
- Python
- 星标
- 255
- 派生
- 92
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 2
描述
#### 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_
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github-actions, python
- 领域
- ci-cd
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100