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(tlon): transport tests leak socket writes after close (unhandled ECONNRESET) #192567
P2Normal backlog priority with limited blast radius.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
In 2026.11.5-beta.1 FRVs, plugin prerelease extensions-shard-4 failed repeatedly with a Vitest unhandled write ECONNRESET from the tlon urbit channel-ops.transport.test.ts, even though all 354 tests passed. Earlier runs had a single-case failure in the tlon monitor SSE shutdown. The test passes 24/24 alone, so the cause depends on load or file order. Each occurrence cost a 55-minute shard rerun.
Proposed
Make the tlon transport tests close or abort sockets before teardown, so no write happens after close, and assert there are no unhandled errors.
Summary
Keep this issue open: it is member-authored and reports repeated release-validation failures, but current evidence does not establish which socket operation causes the unhandled reset.
Reproducibility: no. high-confidence reproduction is available: this read-only review ran no tests, and the reported standalone pass does not reproduce the shard failure.
Next step
Recover the failing shard’s trace, candidate SHA, runtime, and file order, then establish a failing regression that identifies the socket-error owner before changing teardown.
Review details
Best possible solution:
Make the responsible fixture settle its streams and socket errors before teardown while preserving the existing cancellation assertions.
Do we have a high-confidence way to reproduce the issue?
No high-confidence reproduction is available: this read-only review ran no tests, and the reported standalone pass does not reproduce the shard failure.
Is this the best way to solve the issue?
Fixture lifecycle repair is a sensible direction, but adding more socket destruction without locating the emitting error could preserve or worsen the reset.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
The failing candidate SHA, run logs, runtime version, and file order are missing, so fixture writes, request-body errors, and client cleanup remain unseparated.
The earlier monitor shutdown failure may be independent of the transport reset.
Codex review notes: model internal, reasoning medium; reviewed against ff8fe07318eb.
Label changes
Label changes:
add P2: Repeated release-validation reruns warrant investigation, but the report establishes no current user-facing runtime outage.
add impact:other: The demonstrated impact is unreliable release-validation automation and expensive shard reruns.
add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
Label justifications:
P2: Repeated release-validation reruns warrant investigation, but the report establishes no current user-facing runtime outage.
impact:other: The demonstrated impact is unreliable release-validation automation and expensive shard reruns.
Evidence reviewed
What I checked:
Maintainer-authored incident report: The live issue confirms MEMBER association and repeated release-validation failures despite passing test assertions; it supplies no failing run link, stack trace, runtime version, or shard ordering.
Existing fixture teardown: The fixture already awaits server.close and calls closeAllConnections; its streaming body is destroyed when the response closes. These mechanisms do not establish that all asynchronous error events have settled. (extensions/tlon/src/urbit/channel-ops.transport.test.ts:15, ff8fe07318eb)
Related-work search: GitHub searches for Tlon ECONNRESET, socket, teardown, transport, and references to this issue found related historical repairs but no demonstrated canonical fix for this failure.
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Reviewed November 4, 2026, 12:38 AM ET / 05:38 UTC.
P2Normal backlog priority with limited blast radius.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
Activity
clawsweeper commentedon Nov 4, 2026
Codex review: this still needs some work.
Summary
Keep this issue open: it is member-authored and reports repeated release-validation failures, but current evidence does not establish which socket operation causes the unhandled reset.
Reproducibility: no. high-confidence reproduction is available: this read-only review ran no tests, and the reported standalone pass does not reproduce the shard failure.
Next step
Recover the failing shard’s trace, candidate SHA, runtime, and file order, then establish a failing regression that identifies the socket-error owner before changing teardown.
Review details
Best possible solution:
Make the responsible fixture settle its streams and socket errors before teardown while preserving the existing cancellation assertions.
Do we have a high-confidence way to reproduce the issue?
No high-confidence reproduction is available: this read-only review ran no tests, and the reported standalone pass does not reproduce the shard failure.
Is this the best way to solve the issue?
Fixture lifecycle repair is a sensible direction, but adding more socket destruction without locating the emitting error could preserve or worsen the reset.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against ff8fe07318eb.
Label changes
Label changes:
P2: Repeated release-validation reruns warrant investigation, but the report establishes no current user-facing runtime outage.impact:other: The demonstrated impact is unreliable release-validation automation and expensive shard reruns.issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.Label justifications:
P2: Repeated release-validation reruns warrant investigation, but the report establishes no current user-facing runtime outage.impact:other: The demonstrated impact is unreliable release-validation automation and expensive shard reruns.Evidence reviewed
What I checked:
extensions/tlon/src/urbit/channel-ops.transport.test.ts:15, ff8fe07318eb)extensions/tlon/src/urbit/fetch.ts:35, ff8fe07318eb)extensions/tlon/src/monitor/index.test.ts:449, 7ed6b4716743)extensions/tlon/src/urbit/channel-ops.transport.test.ts:43, f0f88b28bd56)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed November 4, 2026, 12:38 AM ET / 05:38 UTC.