-
fork: explicit Gitea selection reports its own state when it is the host's only connection (gitea#64)
fork-tests / verify (pull_request) Successful in 8m46sreleased this
2026-10-20 20:36:32 +00:00 | 3467 commits to local since this releaseselectGiteaIdentity returned { configured: false } whenever no live
connection was for the requested host, before it looked at an explicit
selection. A selected connection that is the host's only one and is draft
or archived therefore degraded to "not a Gitea host" instead of
selectedDraft / selectedGone; the domain test hid this with a second live
same-host connection.The early return now yields to a selected company connection whose own
normalized host is the requested host, so the selected-connection branch
(audience first, then state) answers. A selection for another host, a
removed row, or another company's connection still leaves an unknown host
unconfigured and discloses nothing.Co-Authored-By: Claude Opus 5.5 [email protected]
Downloads