mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6543] [Bug]: image-dimension-limit regression intermittently times out after passing #3668
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#3668
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 @kolacheee on GitHub (Sep 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6543
What happened
scripts/regressions/image-dimension-limit.regression.tsintermittently failspnpm regression:nodewith a timeout, even though every assertion in it passed.The runner output shows the regression completing and printing its own success line, then being killed by the 30-second budget:
So this is not a failing assertion. The process finishes its work and then does not exit, and the runner reports the file as failed.
How often
Three times across a long working session, in full-suite runs only. Each re-run of the full suite passed, so it is roughly a one-in-three full run.
Run on its own it has never reproduced:
node ./scripts/run-regressions.mjs --filter image-dimension-limitpassed 3/3 in 351ms, 377ms and 427ms.What it is not
The HTTP stub is closed properly. The file awaits
server.close()in afinally, and the success line prints after that resolves, so the listening server is not what holds the loop open. Regressions run in separate child processes, so it is also not something a previous file left behind.That points at a handle created during the run that outlives it, most likely a socket or timer from the image-generation retry path the test exercises (the log shows several
[image-gen] Retrying rejected FLUX.2 size ...warnings just before the hang).Why it is worth fixing
The failure is indistinguishable from a real regression in the summary line (
351/352 passed; 1 failed) and the runner prints noFAILEDline for it, onlyTIMEOUT, so anyone grepping forFAILEDsees a failure count with nothing named. Working out which file it was took acommof START lines against result lines.Two things would each help on their own:
Environment
Linux x64, Node v24.21.0, staging at
eecfd4b08.@kolacheee commented on GitHub (Sep 22, 2026):
Duplicate of #6529, which has the better diagnosis: the leaked handle is a keep-alive socket from the spec's own
fetchcalls, andserver.close()stops accepting without destroying an idle keep-alive connection. Sibling regressions already callcloseAllConnections().Closing this. The only thing here not already in #6529 is a frequency data point: three occurrences across one long session, full-suite runs only, and 3/3 passes in isolation at 351-427 ms. Adding that there.