Skip to content

[Backport release-1.0] fix(api): skip OpenAPI post-processor for non-apps group versions#2216

Merged
kvaps merged 3 commits intorelease-1.0from
backport-2212-to-release-1.0
Mar 13, 2026
Merged

[Backport release-1.0] fix(api): skip OpenAPI post-processor for non-apps group versions#2216
kvaps merged 3 commits intorelease-1.0from
backport-2212-to-release-1.0

Conversation

@github-actions
Copy link

Description

Backport of #2212 to release-1.0.

kvaps 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 <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
(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 <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
(cherry picked from commit f906a0d)
This reverts commit f906a0d.

Signed-off-by: Andrei Kvapil <[email protected]>
(cherry picked from commit 2b60c01)
@kvaps kvaps merged commit c0ea9da into release-1.0 Mar 13, 2026
1 check passed
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant