Commit Graph
7 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 54eaae2d26 v1.48.1: the pair test of a lane of 16 weighs the counts it sets too
test_a_lane_of_16_keeps_a_conversation_5_ahead had the race the far-apart test had: a turn
sent the moment the one before it answered was weighed with that one still counted, or before
the five it holds were. It waits, as its neighbour now does, until this box says it runs none,
then the five (until_running); 20 runs in a row in the test's process, all green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 00:12:29 +01:00
Hasan BasbunarandClaude Opus 5.5 17039394d3 v1.48.1: the pair test of boxes far apart weighs the counts it sets, not a request still ending
test_boxes_far_apart_share_even_a_conversation failed once on GitHub's runner (2026-11-13,
"two idle boxes: the entry serves it, no hop", the turn served by spark2), green when run
again. A client has its answer before the entry's handler ends and stops counting it: the
last request of the test before was still counted on spark1 when the first turn was
weighed, and the first turn when the second was (4 held + 1 = 5 apart, moved). Slowing the
handler's end by 0.3 s reproduces both, every time. Each turn now waits until spark1 says,
on its pair list as spark2 reads it, the 0, 4 and 5 generations the test set: green with the
handler's end slowed by 0.3 and 1.0 s, and the four mutants of the decision that failed it
before (the gap rule off, > as >=, its 1.5 times as an or, a tie to the other box) fail it
the same way after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 00:12:29 +01:00
Hasan BasbunarandClaude Fable 5.2 8f309a3e03 v1.46.4: what its second review found: --units-only keeps the level with its template, and the note is for a run that names none
--units-only wrote the template apart from lane_template, so its choice was kept by the render after it only: given
with a window that was refused, the level was in the template and not in its file, and the Load after wrote lean
back. It goes through lane_template when the checkpoint is in the cache. The note of the lane going to lean was said
to a run that asked for lean by name, and at each --units-only with no checkpoint: it is said to a run that names no
level, where the template is written. pi-gen.py reads the kept choice as the installer does (its first line, as it
is). docs/pi.md and the CHANGELOG say what omp reads and when.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 13:24:36 +01:00
Hasan BasbunarandClaude Fable 5.2 ed413863cf v1.46.4: what its review found: the Agent view's server is not restarted, omp follows the choice, the choice is kept with its template
The generated opencode config listed the lane's default first: it changed on every box, and an update restarted the
Agent view's server for an order that decides no request. The provider keeps the order it had (xhigh first).
pi-gen.py read the lane's template, which an update writes after omp's config: omp stayed at the xhigh of v1.46.3's
template. It reads the choice the lane's installer keeps. A level given with a window that was refused left a template
without its choice: it is kept with the template that took it. The installer says once that the lane goes from xhigh
to lean, with the command that keeps xhigh. The test of a refused certificate names the ends of a connection it takes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 12:58:22 +01:00
Hasan BasbunarandClaude Fable 5.2 bc1dd74307 tests: a certificate refused under TLS 1.3 is said by its alert or by the end of the connection
test_a_box_that_refuses_this_boxs_certificate_never_had_the_request waited for "refused this box's certificate" in
the journal. Under TLS 1.3 that box refuses after this box's side of the handshake: when it had closed the
connection before this box's request went out, this box met the end of the connection first and said "does not
answer (EOF occurred in violation of protocol ...)", the request served here as it must be, and the test failed on
the wording (GitHub, main, 2026-11-11). The test takes either line, and still refuses a box said to have "had the
request". Saying the refusal in that case too is the proxy's to do, in a version that changes it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 12:18:59 +01:00
Hasan BasbunarandClaude Fable 5.2 85f2b70645 tests: a stop during a dead stream's reads waits for the read before to leave the pair's count
test_a_stop_during_a_dead_streams_reads_counts_nothing_and_holds_nothing_back sends two requests in a row to a
box whose engine dies. A handler leaves the pair's count (busy_here) a moment after its client read the last byte:
sent in that moment, the second request went to the other box, whose answer has no death in it, and the test failed
on b"EngineCore" (GitHub, main, 2026-11-11). The test now waits for busy_here() to be 0 before each read. Shown both
ways: with a generation counted 0.5 s longer, the test as it was fails as on the runner, and this one passes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 12:18:59 +01:00
Hasan BasbunarandClaude Fable 5.2 3640b441ac tests: the pair's tests are four files, and CI measures their coverage four files at a time
tests/test_proxy_pair.py held 498 tests in 8,054 lines and took 892 s of every
pass that ran it, in one piece: half of the pass that runs every module of
tests/ (1,808 s on 2026-11-10), most of the coverage step that runs its files
one after the other (1,283 s), and the tail of the offline suite.

It is cut by class, each class copied line for line:
- tests/test_proxy_pair.py keeps the two boxes that serve two models, the
  pair's pieces and the lane names (185 tests);
- tests/test_proxy_pair_inprocess.py has the same cases with the entry in the
  test's process (58, and the check that this twin declares every case);
- tests/test_proxy_pair_one_model.py has the two boxes that serve one model (127);
- tests/test_proxy_pair_one_model_inprocess.py has its in-process cases (127,
  and the same check for this twin);
- tests/pairbox.py is what they share and holds no test: the identities, the
  fake engines, peers and cockpits, PairFixture.

A twin names its base class by its module: unittest runs every TestCase a
module names, so the class itself, imported, would run its cases a second
time. The check that each twin declares every case of its class is one test
in each twin's file where it was one test for both: 499 tests where there
were 498, every other one with the body it had (compared by the syntax tree,
method by method, before and after).

The coverage step of the root modules names the four files and runs its
files four at a time, the longest first.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 20:48:46 +01:00