Task · SKT-0164

Bind the non-HA control listener before logging so tests need no reserved port

Description

SKT-0161 (loop52) converted 8 of 9 reserve-and-close sites; declarative_sources_test.go:40 runs the shipped binary whose non-HA path (cmd/synthkit/main.go:903) has no WrapHTTPListener and logs only the configured address. Bind first and log the bound address so a :0 config is observable, then convert the test.

Acceptance Criteria

Definition of Done

Implementation Notes

loop52 BATCH11: landed dea5f12. First gate (BATCH7) hit TestHALeadershipSessionAcrossRestart once under load (15/15 pass focused on base and candidate); re-gated once on the SKT-0162 base: gaterun 20261022T060919Z-synthkit-e3ea9bd6 exit 0. CodeRabbit 0.

View the source file on GitHub