mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #568] [MERGED] Pixelforge harness: a failing run always leaves — watchdog for the park class, bound for the sync child #1026
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1026
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-Agents/pull/568
Author: @kolacheee
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/554-harness-exit📝 Commits (2)
4757f9cfix(pixelforge): the harness that could print a failure and then never leavec739a66test(pixelforge): the one hang the watchdog cannot reach gets its own bound📊 Changes
1 file changed (+33 additions, -1 deletions)
View changed files
📝
packages/pixelforge/test-brief.mjs(+33 -1)📄 Description
Pull request
Linked issue
Closes #554
Why this change
AssertionErrorin the same tick, stray timers or not (measured). The shape that hangs is a parked await under stubbed timers: several lanes stubglobalThis.setTimeoutto record rather than fire, while two package paths await real backoff timers — a case that reaches one parks forever, printing nothing, with any live handle holding the loop open. Reproduced: atstagingthe staged park outlives a 150s kill bound; with this fix it exits 1 at the 120s deadline with diagnostics.What changed
packages/pixelforge/test-brief.mjsonly (the manual regression harness; nosrc/change, no artifact rebuild).Timeout, so the stubbing lanes cannot disarm it).unref()is what keeps the green path untouchable — proven load-bearing by negative control. On firing: diagnostic naming #554,process.getActiveResourcesInfo(), exit 1. It adds zero output and zero exit-path changes to a green run (output diffed identical modulo line numbers; runtime 0.96× baseline).spawnSyncchild in the cross-process determinism case — gets its owntimeout: 60_000, converting a hung child into a red instead of a block.Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Boxes are the human contributor's list. Agent-verified, independently replayed by a second adversarial agent:
unref()load-bearing.src/.Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.