mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #1825] running two act commands in parallel results in timeout #890
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#890
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?
Originally created by @andre15silva on GitHub (May 27, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1825
Bug report info
Command used with act
Describe issue
I am trying to run two act commands in parallel (not necessarily on the same project, we also tried running different workflows from different projects in parallel).
The first command runs as usual.
However, the second and later commands always end up in the same error: `Error: timeout.
Does act support parallel executions of different workflows? I could not find any mention to that in the documentation nor the issues.
Link to GitHub repository
https://github.com/ASSERT-KTH/flacoco
Workflow content
Relevant log output
Additional information
No response
@andre15silva commented on GitHub (May 27, 2023):
Seems like the bug only occurs in version
0.2.45. The issue does not arise in version0.2.44@grahul commented on GitHub (Jun 17, 2023):
Hi @andre15silva , Please can you let me know how you have install
0.2.44i want to use0.2.44@andre15silva commented on GitHub (Jun 17, 2023):
Hi @grahul ,
You can get the binary from the release: https://github.com/nektos/act/releases/tag/v0.2.44
@andre15silva commented on GitHub (Jun 23, 2023):
We have tracked it down to the cache server (introduced in
v0.2.45). When we run with--no-cache-server, the problem with running act in parallel no longer exists.@ChristopherHX commented on GitHub (Jun 25, 2023):
bolthold db used by cache server doesn't support concurrent access to database.
github.com/nektos/act@4fc176f556/pkg/artifactcache/handler.go (L65C13-L65C26)Using a different
--cache-server-pathalso resolves the problem.@andre15silva commented on GitHub (Jun 25, 2023):
Hi @ChristopherHX,
Thanks for confirming this works! We were experimenting with this and have positive results on our end :)