mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1003] [MERGED] feat: run jobs in parallel #1721
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1721
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1003
Author: @KnisterPeter
Created: 2/16/2022
Status: ✅ Merged
Merged: 2/25/2022
Merged by: @mergify[bot]
Base:
master← Head:handle-parallel-work📝 Commits (4)
85370b1feat: run jobs in parallel7344838fix: correctly build job pipeline55e5876test: correct test implementation1a7314eMerge branch 'master' into handle-parallel-work📊 Changes
3 files changed (+36 additions, -32 deletions)
View changed files
📝
pkg/common/executor.go(+17 -19)📝
pkg/common/executor_test.go(+16 -4)📝
pkg/runner/runner.go(+3 -9)📄 Description
This changes fixes and restructures the parallel execution of jobs.
The previous changes limiting the parallel execution did break this
and allowed only one job in parallel.
While we run #CPU jobs in parallel now, the jobs added per job-matrix
add to this. So we might over-commit to the capacity, but at least
it is limited.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.