Serve mode waits for its broker instead of crash-looping (issue 058) #10

Merged
jschoubben merged 1 commits from fix/the-runtime-waits-for-its-broker into main 2026-09-20 10:53:07 +00:00
Owner

At startup "the broker is not reachable yet" is the normal case — a container comes up in seconds, the overlay tunnel a moment later. Exiting delegated the retry to the container runtime, which read as a crash-loop to every restart-counting health check and every person watching. Serve mode now retries with capped backoff, aloud, indefinitely; a pinned-certificate mismatch still refuses at once, and one-shot commands (emit, invoke, run) still fail fast.

Proven by the built-store-cross-node bed, which asserts the joined consumer's container-runtime restart count is zero. Resolves hq issue 058.

At startup "the broker is not reachable yet" is the normal case — a container comes up in seconds, the overlay tunnel a moment later. Exiting delegated the retry to the container runtime, which read as a crash-loop to every restart-counting health check and every person watching. Serve mode now retries with capped backoff, aloud, indefinitely; a pinned-certificate mismatch still refuses at once, and one-shot commands (emit, invoke, run) still fail fast. Proven by the built-store-cross-node bed, which asserts the joined consumer's container-runtime restart count is zero. Resolves hq issue 058.
jschoubben added 1 commit 2026-09-18 00:53:29 +00:00
At startup 'the broker is not reachable yet' is the normal case — a
container comes up in seconds, the overlay tunnel a moment later.
Exiting delegated the retry to the container runtime, which read as a
crash-loop to every restart-counting health check and every person
watching docker ps. Serve mode now retries with capped backoff, aloud,
indefinitely; a pinned-certificate mismatch still refuses at once, and
one-shot commands (emit, invoke, run) still fail fast.
jschoubben merged commit 0ea3db3b20 into main 2026-09-20 10:53:07 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-tools#10