mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8604] [MERGED] fix(ci): stop the dev-launcher regression from hanging on macOS #8697
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#8697
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/Pasta-Devs/Marinara-Engine/pull/8604
Author: @kolacheee
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-kicvis📝 Commits (3)
1972d5ffix(ci): stop the dev-launcher regression from hanging on macOScf07b30fix(ci): let a stopped launcher regression clean up before it is killedc66716bfix(ci): kill what is left of a stopped script's group once it exits📊 Changes
3 files changed (+173 additions, -25 deletions)
View changed files
📝
package.json(+1 -1)📝
scripts/regressions/dev-launcher-process.regression.mjs(+59 -24)➕
scripts/run-launcher-regressions.mjs(+113 -0)📄 Description
Linked issue
Closes #8601
Why this change
pnpm regression:launcher-updateand are cancelled at the 25-minute job limit. Since 10-22 this happened in 18 runs, on bothmacos-15andmacos-15-intel, and every time the log stops right afterDev launcher process regression checks passed., with twonodeprocesses left for cleanup.kill(-<worker pid>)fails with ESRCH because the worker leads no process group. That error was swallowed without killing the worker itself.What changed
dev-launcher-process.regression.mjs: the reuse and.envcases wait for their whole process trees before stopping the launcher, and afterwards check that every recorded process is gone, as the first two cases already did. Cleanup kills each recorded group and pid and drops its end of the launcher's output, so a leftover can no longer keep the script open. The script also runs that cleanup on SIGINT, SIGTERM and SIGHUP. Failure messages now list the processes still alive at the deadline, not at the start of the wait.regression:launcher-updateruns its eight scripts through the newscripts/run-launcher-regressions.mjs. It prints each script as it starts and gives each one 2 minutes (the whole step takes 21 to 34 s on recent green runs). On a timeout or Ctrl+C it sends SIGTERM to the script's process group so the script can clean up, then SIGKILLs whatever is left of the group once the script exits, or after 5 s if it hasn't. It names the script that timed out.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm regression:launcher-updatepasses on Linux (Node 24), with a START/PASS line per script.Launcher shutdown while reusing a server left descendants alive: <pid>and leaves nothing running.auditcheck is unrelated: new minimatch/glob advisories, see the comment below.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.