Skip to content

Commit 7703f8d

Browse files
kevinjqliuCopilot
andauthored
infra: set github actions max-parallel to 15 (#3057)
this is the guidance from apache infra, see https://s.apache.org/max-parallel * All workflows MUST have a job concurrency level less than or equal to 20. This means a workflow cannot have more than 20 jobs running at the same time across all matrices. * All workflows SHOULD have a job concurrency level less than or equal to 15. Just because 20 is the max, doesn't mean you should strive for 20. note that `max-parallel` limits the number of simultaneous runs ([see docs](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#defining-the-maximum-number-of-concurrent-jobs)), other jobs will just wait --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kevinjqliu <9057843+kevinjqliu@users.noreply.github.com>
1 parent 89a129c commit 7703f8d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/pypi-build-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
name: Build artifacts for PyPi on ${{ matrix.os }}
3232
runs-on: ${{ matrix.os }}
3333
strategy:
34+
max-parallel: 15
3435
matrix:
3536
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-latest ]
3637

.github/workflows/python-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
lint-and-unit-test:
4747
runs-on: ubuntu-latest
4848
strategy:
49+
max-parallel: 15
4950
fail-fast: true
5051
matrix:
5152
python: ['3.10', '3.11', '3.12', '3.13']

.github/workflows/svn-build-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
name: Build artifacts for SVN on ${{ matrix.os }}
3232
runs-on: ${{ matrix.os }}
3333
strategy:
34+
max-parallel: 15
3435
matrix:
3536
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-latest ]
3637

0 commit comments

Comments
 (0)