fix: gitea controller
This commit is contained in:
@@ -581,9 +581,12 @@ immediate teardown; failed jobs retain pre-destroy diagnostics. A healthy,
|
||||
bootstrapped terminal VM may stay running until the next hourly boundary
|
||||
measured from original VM creation, capped by its original hard TTL.
|
||||
|
||||
Retention first enters a durable retirement state. The controller disables the
|
||||
exact repository runner registration, deletes it, and confirms its absence
|
||||
before clearing repository, label, and runner ownership into generic idle. A
|
||||
Each controller-managed registration is ephemeral: Gitea permits it to accept
|
||||
exactly one task and revokes reuse credentials after assignment. Retention first
|
||||
enters a durable retirement state. The controller disables the exact repository
|
||||
runner registration, waits if a pre-upgrade non-ephemeral registration is still
|
||||
assigned to an in-progress job, then deletes it and confirms its absence before
|
||||
clearing repository, label, and runner ownership into generic idle. A
|
||||
queued job from any allowed repository can atomically claim generic idle only
|
||||
when persisted server type, location, architecture, and image match one of the
|
||||
job label's candidates. The VM then remains unschedulable while Hetzner rebuilds
|
||||
|
||||
Reference in New Issue
Block a user