mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6246] [MERGED] fix(ci): validate persisted shutdown outcomes after terminal exit #7104
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#7104
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/6246
Author: @SpicyMarinara
Created: 9/15/2026
Status: ✅ Merged
Merged: 9/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/shutdown-terminal-proof📝 Commits (2)
83c45dddocs: track shutdown terminal proof correction8846e92fix(ci): verify shutdown outcomes after terminal output is lost📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
scripts/regressions/fixtures/posix-terminal-shutdown.py(+1 -3)📄 Description
Linked issue
Closes #6245
Why this change
The POSIX shutdown fixture can reap the launcher before reading its final buffered terminal output, then fail its log assertion despite confirming clean exit, saved data and a released writer lease. This false failure appeared during v2.4.6 release validation.
What changed
Remove the two final PTY log-string assertions: a closed terminal can discard those unread bytes, and macOS returns EOF after reaping, even when shutdown succeeded. Keep the actual safety checks unchanged: pending-save precondition, exit0 before the backstop, elapsed<9s, released writer lease, persisted value, clean heartbeat/exitCode, and no surviving server. Startup still exercises the real colored pino-pretty worker, and the shared SIGINT pipe proof still checks the completion message. No application behavior changes or new helper.
The precise coverage change is that SIGHUP-specific final terminal log delivery/wording is no longer asserted after terminal closure.
Validation
pnpm check: PASS, including production build and localization.Evidence and exact commands/logs: https://gist.github.com/SpicyMarinara/cbade75da97f256cdbb409cd0a32f247
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
The controlled delayed-parent case and all six existing PTY cases were executed locally as described above. Hosted Linux validation remains required. No physical-device or browser behavior claim is made.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Contributor-facing validation fix is recorded under the release being prepared, v2.4.6. No version or user guide changes.
UI evidence (if applicable)
No UI change.
Summary by CodeRabbit
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.