Files
CatoandClaude Opus 5.5 e727405020 fix(sites): new sites skip ports in use; private sites' deploys are actually gated on CI (#948)
Found by the untouched end-to-end test (probe-loop2):

1. Registration took the next port after the register's highest. annushka's
   enquiry API has held 4030 for days with no register row, so the new site
   got 4030, crash-looped on EADDRINUSE and every deploy rolled back. Ports
   something already listens on (ss -Htln on the box) are now skipped, and
   the skip is said out loud.

2. selfhost-deploy's CI gate reads the commit's workflow runs with the job
   token. The org default token is read-only on contents, and a private
   repo's Actions runs are not public, so the call was refused on EVERY
   private deploy and read as "API unreachable — passing open": no private
   site was ever gated on CI (farmhouse too). Both deploy.yml templates now
   grant actions: read; a shim without it is rewritten on the next
   registration; the gate now says "NOT gated" with the fix instead of
   blaming the network.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 13:54:04 -07:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00