Status: accepted 2026-10-24 by the owner ("if we can test it without breaking anything, I am fine with the work being done"); being built. Ends the July pin of ADR-067's patch once every node has moved.
Every desktop, the VPS and the container image build liblogosdelivery at
logos-delivery 7a3a064b (2026-07-03). The phones use a prebuilt library of the
same revision. ADR-067's shard fix is carried as a patch against it. Upstream's
latest release was v0.39.2, 237 commits on; v0.40.0 was prepared on
2026-10-21 (branch chore/prepare-release-v0.40.0, 1a3b6c7d) but not yet
tagged. It is the first release with the shard fix (#4513).
What changed for us between the two, from the changelogs and tried on this laptop on 2026-10-24:
upstream-master job reported from 2026-10-22.logos_delivery_ prefix; libp2p's kept their names.Loam (jimmy-crib/vpavlin) builds its own Android library at v0.38.1, with a DNS-deadlock fix and an arm64 Android target that upstream doesn't have. Its desktop and hubs use delivery_module 0.3.0 (v0.39.0), pinned because later modules break reliable-channel receive (logos-delivery-module#169).
Target v0.40.0, the release branch until it is tagged. Build both bindings
from one package, internal/waku, behind one API: the July one by default, and
v0.40's with -tags ld040. Nodes move one at a time; the default flips, and
the July binding and ADR-067's patch go, once every node, phones included, runs
v0.40.
{"_bytes": …}.shrooms_delivery_*), mapped from
either library's, so the dashboards don't change..so for both apps' phones. Desktops build
from source as now.On this laptop, against the v0.40 release branch built by
docker/build-lib.Dockerfile:
-race -tags ld040, and the management
end-to-end suite with a v0.40 daemon;scripts/e2e-two-nodes.sh in a privileged container, 14 of 14 in all four
pairings (July–July, v0.40–v0.40, July–v0.40, v0.40–July). The script takes
BIN and BIN_B for that. The pairings cover admission, a tunnel, a restart
onto remembered endpoints, and a revocation;TAGS=ld040: max glibc 2.34.Start answers only after about 10 s,
and a Stop straight after it never answers: the call times out at 30 s,
and destroy then fails ("in-flight handlers did not drain", the context
quarantined).TestANodeCanBeMadeAgainAfterClose fails under -tags ld040 until this
is understood. The daemon replaces a stuck node in-process, so this must
work first. Next step: find which start-time task stop waits on, and
report it upstream.