mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7970] [Issue]: Node regression lane runs every file serially and takes ~35 of its 45 CI minutes #4375
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4375
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 @Promansis on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7970
Originally assigned to: @Promansis on GitHub.
Summary
The
complete-node-regressionsjob in the "Regression Checks" workflow (.github/workflows/playwright.yml) now takes about 35 minutes of its 45-minutetimeout-minutes, becausescripts/run-regressions.mjsruns every Node regression file one after another.Expected behavior
The Node regression lane finishes well under 10 minutes on a hosted
ubuntu-latestrunner (4 vCPU) and leaves comfortable headroom under the job timeout as the suite keeps growing.Actual behavior
main()inscripts/run-regressions.mjsruns the selected files in a plain sequentialforloop (await runRegression(file)per file), so only one regression process runs at a time on a 4-vCPU runner.ruleset-combat-director.regression.tswent from about 20 s to about 130 s.timeout-minutes: 45, the job has roughly 8 minutes of headroom left.Steps to reproduce
staging.complete-node-regressionsjob duration (about 35 min).[file] PASSED (Nms)lines: their sum matches the job's wall time.Environment
stagingat128c453ff)Logs, screenshots, or video
See the
complete-node-regressionsjob logs on recent PR runs of the Regression Checks workflow.Additional context
Minimal fix:
scripts/run-regressions.mjs: runrunRegression(file)through a bounded worker pool. Default concurrency isos.availableParallelism(), overridable with--concurrency NorREGRESSION_CONCURRENCY;--concurrency 1keeps today's serial behaviour. Keep--filter,--list, the per-file timeouts, the per-file result line, the summary line and the exit code. Keep each file's output grouped with its result line, and stop every running child on SIGINT/SIGTERM.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Promansis commented on GitHub (Oct 21, 2026):
Taking this: @Promansis (AI agent session) is working on it in draft PR #7971, branch
chore/7970-concurrent-regressions.