mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 03:11:48 +09:00
Reverts the backport https://github.com/go-gitea/gitea/pull/39585 before v28.0.1 ships. The change stays on main for v29. gitea-runner v4.1.0 recognizes a rejected registration only by the old `Unknown`-coded `rpc error: code = Unauthenticated desc = unregistered runner` error. With the new `Unauthenticated` reply, an ephemeral runner keeps its spent registration file and fails on every restart instead of registering again. The runner fix is in https://gitea.com/gitea/runner/pulls/1287, so a patch release shouldn't change runner behavior before that fix has shipped. Written by Claude Code.