mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8081] ci: investigate recurring Windows cold server-import timeout #7554
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#7554
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 @SpicyMarinara on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8081
Originally assigned to: @SpicyMarinara on GitHub.
Follow-up to #6743, observed during dependency refresh #8074. Owner: @SpicyMarinara.
The native Windows restart regression intermittently reaches its existing 60-second first-boot deadline while dynamically importing the source server. The failing fixture logs
Loading the server moduleand never reachesBuilding the app; restart ownership assertions and app/listener startup have not run. The cause remains unproven.Evidence:
6dd282ba47a3b99dbc3f5015e532073dcb7c9004, synthetic merge5decde6b15071026f916312a286ec2a580d755ac. Frozen install, production build, NSIS and launcher/data-preservation checks passed. Restart first boot failed after 60,381 ms. Runner 2.338.0, Windows image20261007.264.1, Node 24.21.0, pnpm 10.34.7.d6ed1141used the same JavaScript dependency graph, Node 24.21.0 and Windows image20261007.264.1. Initial boot 9,933 ms, replacement 4,625 ms; restart, native shutdown and update-policy checks passed. The subsequent two-file change only regenerates the Apple MLX utility lock and its manifest SHA.5decde6b15071026f916312a286ec2a580d755ac, initial boot 4,693 ms and replacement 3,246 ms. Restart ownership, Windows console shutdown/data flush and update policy all passed. This runner had changed to Windows image20261018.275.1and Node 24.22.0, so it is not an identical-environment control.#6743 documents earlier intermittent cold Windows startup timeouts on staging before this dependency change. Its previous 20-second deadline has already been raised to 60 seconds. The present observation exceeds that existing bound during module import; it does not establish the same underlying cause as the older issue or a fix in Node 24.22.
Investigation should capture which eager import or loader phase stalls on a cold Windows runner, retain the precise image/Node/cache conditions, and compare source-loader startup with the compiled production server. Preserve restart ownership, old-process exit, saved-data and shutdown assertions; do not hide the failure with skips or a larger deadline. No source, assertion or timeout changes were made to obtain the passing run.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Additional native Windows observation from the assigned-issue cleanup: job 119962687294 for PR #8097 head
31cacefdad9a7f9a114630e8d651849728666376passes the unchanged restart regression.windows-2025-vs2026, version20261018.275.1.The successful log was preserved separately. This provides another passing observation, not a reproduction of the original 60-second source-import stall or proof of a fix. The previous failing runner image/Node combination remains different. Keeping this investigation open; no timeout increase, skipped assertion or production startup change was used to obtain the pass.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
@SpicyMarinara owns the bounded diagnostic follow-up in draft PR #8132. It will retain fixture-only slow-start evidence and compare source startup with the compiled server on the same native runner. The existing restart deadlines and ownership assertions remain required; the intermittent Windows source-import stall is still unproven, so this work will not close the investigation as fixed.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
The bounded diagnostic follow-up #8132 is merged into
stagingase54fbd4394350f85feb021da91ab44d9c7130ee1, after the required checks, platform checks and final-head Dottore review passed.The native Windows job now records a redacted diagnostic before the existing replacement-process deadline, compares the source startup/restart with the compiled server on the same runner, and preserves diagnostic artifacts on failure or cancellation. No startup/restart timeout was increased and no assertion was skipped. The passing final-head Windows run measured source startup/restart at 5,558 / 3,463 ms and compiled startup/restart at 2,028 / 2,633 ms; these are observations from that runner, not a reproduction of the intermittent stall.
Keeping this investigation open. The recurring cold-import timeout's cause is still unproven. The new diagnostics should let the next occurrence distinguish source loading, a stuck child, and launcher/restart ownership without exposing environment credentials.
Review and validation details: https://github.com/Pasta-Devs/Marinara-Engine/pull/8132#issuecomment-6355155091
@DSBwizzard commented on GitHub (Nov 5, 2026):
New observation from PR #8851, with no claim that it shares the original cold-import timeout's cause:
cb050f00f15bdda3e6b00bc5437964a2d0ee2c7f. The retained state records synthetic merge1ebab1054623e071f6aa91627408f0d6fa530655, Node 24.22.2, Windows image20261103.298.1.Building the app after 13816ms. The last retained snapshot is phase build, 18289ms, with 497 active resources. The supervisor exited before the listener, around 20 seconds into the test; this was not the existing 60-second import deadline. The old assertion did not retain exit code/signal, so the exit reason is unknown.4f15905b7025223b7b596a21c743e52c39eb1dc1: preserve supervisor exit code/signal in the failure and detect a signal exit directly. Real-child controls verified exit42 and SIGTERM remain failures with the expected status reported; successful real startup/restart still passes. No readiness/restart deadline or ownership assertion was increased or skipped. CodeRabbit's signal-guard finding was reproduced and fixed; final review has zero findings.Reusable controls and validation are included as
restart-diagnostic-proof.mdand the three small.mjsfiles. Fresh hosted replay is run41954570759. I have not reopened/reassigned this issue or claimed the intermittent startup defect fixed.