Files
mesh-delivery/modules/mesh-delivery-forge-bridge/cmd
jschoubben 8004bb98f0 Forge bridge whole test: read performed once the bridge acknowledged the act
TestBridgePerformsWhatIsOwedOnce read performed as soon as the first fill
key was purged, while the prune (run inside the write that keeps the act's
outcome) was still purging the others; on a loaded build node the count
landed mid-prune (main.278, 365, 401, 415: "performed holds 37116 bytes of
current values after its prune, want about its target 32768"). Made visible
locally by slowing each purge by 20 ms: the old test fails with the same
words, the new one passes.

The kind is a test acting on the first sign of an act (its owed.ended, one
purge) while the act's work goes on. The test now waits for the bridge's
acknowledgement of the named act on its durable, which comes only after the
outcome is kept and the prune ended: before reading performed after the
prune, and before stopping the bridge after the acts said while the forge
was away (a stop between outcome and keeping hears the act again, writing
performed while the test fills it).

Builds: design 47 H2 §812, §807
2026-11-23 10:02:46 +01:00
..