[Backport release-1.0] fix(api): skip OpenAPI post-processor for non-apps group versions by github-actions[bot] · Pull Request #2216 · cozystack/cozystack

and others added 3 commits

March 13, 2026 15:23
The OpenAPI PostProcessSpec callback is invoked for every group-version
(apps, core, version, etc.), but the Application schema cloning logic
only applies to apps.cozystack.io. When called for other GVs the base
Application schemas are absent, causing a spurious error log on every
API server start.

Return early instead of erroring when the base schemas are not found.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit ee83aaa)
When dependencies are not ready the reconciler returned without
requeueing, relying solely on watch events to re-trigger. If a watch
event was missed (controller restart, race condition, dependency already
ready before watch setup), the package would stay stuck in
DependenciesNotReady forever.

Add RequeueAfter: 30s so dependencies are periodically rechecked.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit f906a0d)
This reverts commit f906a0d.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit 2b60c01)

@kvaps kvaps deleted the backport-2212-to-release-1.0 branch

March 13, 2026 15:24

@dosubot dosubot bot added size:XS

This PR changes 0-9 lines, ignoring generated files.

bug

Something isn't working

labels

Mar 13, 2026