Files
av-club/sidecar
pastilhasandClaude Opus 5 e2ed76eac4 bind a free port, do not assert one
a plugin sidecar does not choose a port. it binds whatever is free and REPORTS
it, which is how every other sidecar here works and why none of them can collide.
av-club asserted 3020 because it started life as a standalone service.

that assumption cost a deploy the same day it became a plugin: fofos still had a
copy of the pre-plugin code running from ~/garbage/av-club, on `main`, holding
3020 — so the plugin's sidecar died on EADDRINUSE in a restart loop while the
platform reported "sidecar not available". two things claiming one number, and
neither able to say so.

AV_CLUB_PORT still pins it, for running outside Officer — the standalone mode
fofos/platform was written against, where the other side has to know where to
look. inside Officer nothing sets it.

the announcement now sends `server.port`, never the requested value. reporting
what you asked for rather than what you got is how a sidecar ends up advertising
a port it is not on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043
2026-08-28 22:41:52 +01:00
..
2026-08-28 22:36:53 +01:00
2026-08-28 22:36:53 +01:00
2026-08-28 22:36:53 +01:00
2026-08-28 22:36:53 +01:00
2026-08-28 22:41:52 +01:00
2026-08-28 22:36:53 +01:00
2026-08-28 22:41:52 +01:00