[PR #1003] [MERGED] feat: run jobs in parallel #1721

Closed
opened 2026-03-01 21:52:23 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: handle-parallel-work


📝 Commits (4)

  • 85370b1 feat: run jobs in parallel
  • 7344838 fix: correctly build job pipeline
  • 55e5876 test: correct test implementation
  • 1a7314e Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1003 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 2/16/2022 **Status:** ✅ Merged **Merged:** 2/25/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `handle-parallel-work` --- ### 📝 Commits (4) - [`85370b1`](https://github.com/nektos/act/commit/85370b136c5b2b647f79fa53737a90fcee675df5) feat: run jobs in parallel - [`7344838`](https://github.com/nektos/act/commit/7344838ea9c2ab055cca530aab53981cda85a06b) fix: correctly build job pipeline - [`55e5876`](https://github.com/nektos/act/commit/55e587680d4acfcebc52644ed62e107d375e7bfa) test: correct test implementation - [`1a7314e`](https://github.com/nektos/act/commit/1a7314e1343aab966f36d05fc004a63454803fdf) Merge branch 'master' into handle-parallel-work ### 📊 Changes **3 files changed** (+36 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `pkg/common/executor.go` (+17 -19) 📝 `pkg/common/executor_test.go` (+16 -4) 📝 `pkg/runner/runner.go` (+3 -9) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1721
No description provided.