Files
mesh-delivery/modules/mesh-delivery-pipeline/cmd
jschoubben b71bc6fbaf Runner: the test-run test waits on what it causes, never on a clock across a restart (issue 1984)
Test 109 (TestTestRunsAreAskedOncePerLevelAndMoveEveryReader) failed on a loaded build node and passed on the same
commit when it ran again. Test-only; no behaviour of the runner changes.

- The first start has a step bound of a minute, longer than the restart; the setting is rewritten to two seconds between
  stop() and start(), so the clock the first runner armed at the take cannot end the run before the restarted runner
  hears the first progress.
- start() waits for one more "take-ins: heard on the consumer" line than before it (takeInsHeardMore), where it matched
  the first start's line still in the shared buffer.
- An ask is read from the stream, and said taken, only once it is on the stream (askPut, waited for with waitFor): the run
  names its ask before the runner has written the ask key and put the ask, so the one read of the stream failed with
  "message not found", and an ask-taken heard before the ask key is written moves nothing (read at the silent-bound
  wait: the ask key was absent when the take was said), so the clock of the ask never began and the wait ran 60 s.
- The progress wait stops at once, naming the run, when the run has ended.

Builds: design 47 H2 H-A-637
2026-11-24 02:17:55 +01:00
..