Files
cozystack/pkg/cmd
Aleksei Sviridkin 2cec60489d fix(api): preserve Application update concurrency constraints
Rebuild each Application update from the current release after a
conflict and rerun admission. Reusing the old result can lose concurrent
patch changes or retain validation against an obsolete snapshot.

Explicit resource versions below the current release conflict; one
that parses to zero is unconditional, as in the generic registry.
Monitor-triggered watch versions use the same numeric comparison.
Caller-supplied UID constraints are rechecked on every retry.
Unconstrained updates retain Kubernetes semantics and may target a
replacement object with the same name. A retried PUT is judged like a
fresh unconditional one: it drops a finalizer added between attempts,
and the API server rejects one it restores on a deleting release.

Fixes: 728f6761f1 ("fix(api): retry HelmRelease update on resourceVersion conflict")
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-28 03:54:59 +03:00
..