Skip to content

fix(ports): survive a client reset during uplink authenticate - #1140

Merged
V3RON merged 3 commits into
mainfrom
bug/1035
Oct 31, 2026
Merged

V3RON merged 3 commits into
mainfrom
bug/1035

Conversation

@V3RON

@V3RON V3RON commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1035

Status

Implement: done (1/1 green, audit complete) Review: round 1 passed, 0 findings Hardware: n/a Gate: not run
Next: gate

  • A client that resets during the upgrade is dropped, and the daemon keeps running — src/ports/uplink-websocket.test.ts "client reset" test: a raw /v1/uplink upgrade resets while authenticate is pending, no uncaught error and accept never called; red with the listener deleted

Assumptions

none

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 41.0M.
Runs: 7. Cost USD: 0.9868. Agent seconds: 375.
Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 3cad258

Runs: 7. Cost USD: 0.9868. Agent seconds: 375.
Tokens input 120, output 23651, cache read 1567708, cache write 180886.
- build implementer: claude-sonnet-5-5 55 s $0.0975
- audit implementer: claude-sonnet-5-5 61 s $0.1266
- review 1 reviewer: claude-sonnet-5-5 63 s $0.1477
- review 1 reviewer: claude-sonnet-5-5 123 s $0.21
- review 1 spec: claude-sonnet-5-5 12 s $0.0689
- review 1 code both: claude-opus-5-5 51 s $0.2822
- review 1 claims: claude-sonnet-5-5 10 s $0.0539
Finding outcomes: {}. Classes: {}.
{"findings":[]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 31, 2026 12:05
@V3RON
V3RON merged commit 426c384 into main Oct 31, 2026
81 of 83 checks passed
@V3RON
V3RON deleted the bug/1035 branch October 31, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ports): a client reset during an uplink upgrade crashes the daemon

1 participant