Files
alzeo/dashboard
Hasan BasbunarandClaude Opus 5.5 427872c2ed pair: what the code review at max effort and a pair simulated on the box found
Each found by the code review of feat/dual-spark at eda19f8 (9 finders, 4 verifiers,
2026-11-03) or by two proxies of this branch paired on the reference box with the
real clients, checked in the code, and fixed with a test that fails before it:

- pair.py add read each way through the other box's engine (GET /v1/models on its
  pair port): a lane loading, stopped or switching on either box failed the check,
  and add undid the pair on both boxes, a working one included. A box whose proxy
  answers over the pair's TLS, even with its engine's 503, is reached.
- No TCP keepalive between the boxes: a box that lost power or its cable held a
  request in flight to it for up to MAX_SILENCE_S (an hour in the unit), its client
  hearing nothing. Probes after 10 s, every 5 s, gone after 25 s, both ways.
- An error answer of the other box over 1 MiB went out cut to 1 MiB as if whole:
  error answers have the cap of a 200 now, and a 502 past it.
- A request the other box sent on could be held through a whole boot, then refused
  with a 409 inside the held stream, which its entry relayed as an answer: it is
  never held, its entry gets the 503 at once.
- pair.py remove asked the other box to forget a name, said it had whatever it
  answered, and a box renamed since was never forgotten: the other box forgets by
  the certificate it pins, and remove says when there was nothing to forget.
- NaN, Infinity and 1e400 in what the other box sends (its list, its summary) went
  into this box's answers and cockpit state, which a browser cannot parse: every view
  of the cockpit froze. Both read it as JSON.parse does now.
- The other box's cockpit stopped or not installed made its whole tile "HTTP 503":
  its summary says what it serves without its cockpit, and why.
- The tile's reads every 5 s wrote a journal line on both boxes, and pushed a paired
  box's requests out of the 800 lines the cockpit reads in about 34 minutes: a read
  of the tile writes no line, a box that does not answer is said once a minute.
- /api/chat, /api/generate and /invocations were not routed: a lane name there was
  answered by this box's model under the other's name.
- The first GET /v1/models after a start or a pairing listed this box's models
  alone: each peer's list is read as soon as the pair is.
- The docs say the pair port serves the tile's summary too, and what it holds.

Left for decisions: a lane name served by no box (404, decision 961) and GET
/v1/models while this box's engine is down (503), both against what a box alone
does; add run again on a working pair can leave it one way after a failure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 06:25:33 +01:00
..