You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(ui-server): wait for the held maintenance worker's real exit in the pre-receipt diagnostics test #3828
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.priority: p3Someday. Needs a driving use case before it starts.type: testCoverage, harness or proof work with no behaviour change.
held real worker retains bounded pre-receipt stderr and original exit before cleanup (packages/ui-server/tests/maintenance-temp-boundary-diagnostics.test.ts) failed in a hosted unit shard on a PR that touches neither the maintenance worker nor its test. It ran for 5029 ms, and the outer diagnostic reported exitStatus: null where the test expects 1 (:59). That pattern fits a child that had not exited when the observation closed on a loaded runner, rather than a wrong exit code.
Seen in CI run 42774965202 (job unit (4)), on head 459c4eba1 of #3824.
Acceptance criteria
The test waits for the held child's actual exit, or for a bounded, explicit deadline whose expiry fails with its own message. It no longer infers a null exit status from a 5 s budget.
The test still fails when the original exit status is not retained (a mutation receipt is recorded in the PR).
Verification
Run the file repeatedly under CPU load (for example stress-ng or a parallel bun run test) with no failure, plus the mutation above.
Not a flake. The failure came from #3824's own change: the writer gate's new indefinite cleanup retry slept on a referenced timer, so a process that released its hold and closed its database never exited. It fails on that branch and passes on main every time, and #3824 now fixes it (unreferenced retry timer). Closing; the existing test is the regression guard.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.priority: p3Someday. Needs a driving use case before it starts.type: testCoverage, harness or proof work with no behaviour change.
Activity
schlessera commentedon Nov 10, 2026
Not a flake. The failure came from #3824's own change: the writer gate's new indefinite cleanup retry slept on a referenced timer, so a process that released its hold and closed its database never exited. It fails on that branch and passes on main every time, and #3824 now fixes it (unreferenced retry timer). Closing; the existing test is the regression guard.