mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8949] [MERGED] fix(regressions): keep the notices lookup out of the restart and shutdown fixtures #8905
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#8905
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/8949
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/restart-supervisor-stall📝 Commits (2)
b1aefdbfix(regressions): keep the notices lookup out of the restart-supervisor fixtured2508acfix(regressions): keep the notices lookup out of the signal-shutdown fixtures📊 Changes
2 files changed (+16 additions, -1 deletions)
View changed files
📝
scripts/regressions/restart-supervisor.regression.ts(+13 -1)📝
scripts/regressions/server-signal-shutdown.regression.ts(+3 -0)📄 Description
Linked issue
Closes #8947
Why this change
restart-supervisorfailed intermittently onNative install/build (macos-15-intel): four attempts across two days (jobs 128414895936 and 126018830056). The issue guessed the server stalled after seeding. It didn't:process.exit(75), then took ~29 s to actually exit, past the test's 20 s window. No replacement process ever started.GetAddrInfoReqWrapat ready. That's the notices fetch's DNS lookup forraw.githubusercontent.com(notices.routes.ts), started during route registration.process.exit()waits for pending libuv threadpool work, so a stalled resolver held the exit for about 30 s.What changed
scripts/regressions/restart-supervisor.regression.ts:MARINARA_NOTICES_ENABLED=false. Notices aren't under test, so the fixture makes no outbound network call. The restart route, supervisor, old-process exit and launcher wiring are still all tested.scripts/regressions/server-signal-shutdown.regression.ts: the same setting for its 7 servers (spawn, POSIX PTY and Windows console). This step runs next in the same CI job and has the same exposure: under a simulated stalled lookup, its server ran its exit handlers and was then SIGKILLed.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agents (not a substitute for the boxes above):
fetch failed). After it, they pass (source restart ~4.1 s, compiled ~1.6 s), with zero DNS lookups traced.137 !== 0after a SIGKILL; after, exit 0 (21.8 s and 21.9 s), with zero lookups.pnpm check, plus theadmin-server-restart,restart-diagnostics,shutdown-deadlineandrobustness-shutdown-safetyregressions: pass.Docs and release impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #8949] fix(regressions): keep the notices lookup out of the restart and shutdown fixturesto [PR #8949] [MERGED] fix(regressions): keep the notices lookup out of the restart and shutdown fixtures