mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5086] [MERGED] Stop dev process trees when the terminal disconnects #6620
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#6620
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/5086
Author: @SpicyMarinara
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5062-dev-launcher-sighup📝 Commits (7)
a90aae4fix: stop dev children on terminal hangupfb7b2b4Merge remote-tracking branch 'origin/staging' into fix/5062-dev-launcher-sighup99945a1test: bound launcher health probes4fab3d9Merge remote-tracking branch 'origin/staging' into fix/5062-dev-launcher-sighupa940019Merge branch 'staging' into fix/5062-dev-launcher-sighup774d3dbMerge remote-tracking branch 'origin/staging' into fix/5062-dev-launcher-sighup7cc5343Merge remote-tracking branch 'origin/fix/5062-dev-launcher-sighup' into fix/5062-dev-launcher-sighup📊 Changes
3 files changed (+43 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+1 -1)📝
scripts/dev.mjs(+4 -0)📝
scripts/regressions/dev-launcher-process.regression.mjs(+38 -6)📄 Description
Why
The original #5062 fix cleans up detached server/client process groups on SIGINT and SIGTERM, but a terminal disconnect sends SIGHUP. Without a SIGHUP handler,
scripts/dev.mjscan exit while its detachedpnpm -> tsx watchprocess tree survives, eventually blocking the next launch with its storage writer lease.What changed
The storage writer lease and its concurrent-writer safety behavior are unchanged.
Closes #5062
Automated evidence
pnpm regression:launcher-update— passedpnpm check— passedManual verification
pnpm devleaves no Engine server, watcher, or.writer-lease.Manual verification boxes are intentionally left unchecked for maintainers.
Summary by CodeRabbit
Bug Fixes
Tests
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.