mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8037] [Feature]: Widen the native-export-memory regression timeout for the CI worker pool #7531
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#7531
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 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8037
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Two per-file regression timeouts in
scripts/run-regressions.mjs(regressionTimeoutMs) were set for a file running alone, but since #7971 every file runs in a 4-worker pool on a 4-vCPU runner, where a CPU-bound file takes 1.5–2.3× its solo time. The runner's ownponytail:note (near line 301) records that the timeouts assume one file at a time. Observed oncomplete-node-regressionsruns for #8033 and the single-runner runs before it:ruleset-combat-director.regression.tsnative-export-memory.regression.tsA pool timeout is not a lost result (the file is retried alone after the pool), but each one adds the full retry to the shard, about 2.5 min for the combat director, and it is the difference between a 4.5 min shard and a 7 min one.
Proposed solution
Widen
native-export-memory's timeout and comment inregressionTimeoutMs, and its assert inscripts/regressions/regression-timeout-policy.regression.mjs(line 12):The combat director keeps 300 s: with #8036 (PR #8045) it ran in 56 s and 124 s inside the CI pool on that PR's two runs (jobs 119678441872 and 119724308944), so 300 s keeps at least 2.4× headroom.
With #8033's shards, 90 s ties
restart-supervisorand dealsnative-export-memoryinto shard 1 beside the combat director instead of shard 3; every shard still takes one of the three slowest files. Confirm on the PR run that no shard grows.Results are otherwise the same: the pool and the serial retry behave the same. The only cost is that a genuinely hung run of this file holds its shard 30 s longer before being reported, and only on failure.
Proof:
node scripts/run-regressions.mjs --filter regression-timeout-policyand--filter native-export-memorypass locally; on the PR's own run, confirm noTIMEOUTline in the node-regressions logs.Alternatives considered
--concurrencyin CI: makes every shard slower to protect two files.Additional context
complete-node-regressionsjobs on PR #8033 (issue #8032), where the lane is split into three shards; the combat director sits in shard 1 andnative-export-memoryin shard 3.TIMEOUT after 300s; terminating child.), never as a failed check.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: