Repository navigation
test(webapp): export generated workloads for release checks - #6712
Conversation
The pinned compiler and isolated native API-server suite passed with the actual production WebApp from the portal admission draft. The export contained one Deployment, one Service and one HTTPRoute with API-derived ownership labels. The ordinary compiler suite now checks that export contract too. Pointing the same command at a WebApp with a mismatched identity failed and left no output. Feeding the exported production children into the native Kyverno engine passed all 26 allow and deny controls for pod security, route hostname and ownership. The existing required compiler wiring and ShellCheck passed. Application CI integration is tracked in devantler-tech/business-site#647. |
✅
|
The blocking hosted lint finding was the parameter order of two Go test functions. The new signed head puts the context first. The same revive version and config passed locally, and the full native compiler suite reran with the actual Business Site WebApp and exported all three expected children. Fresh hosted CI is checking this revision. |
✅
|
Code coverage overviewLanguages: Go Go / code-coverage/go
Line coverage data for the main branch is not yet available. View coverage of the 10 most covered files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
@coderabbitai review |
Action not completed
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
The hosted native compiler job passed at the signed head. It exercised the export contract through the real KRO toolchain and isolated Kubernetes API server. The production-package probe checked all three generated workloads against Kyverno and refused a misbound WebApp input. The required CI and inherited workflows passed. Codex reviewed the exact signed head with no actionable findings. Review threads are clear. |

Why
The portal release can be blocked by admission rules on workloads generated by the platform. The release checks need those generated objects to catch a refusal before publication.
What
The existing WebApp compiler can export the generated Deployment, Service and HTTPRoute with their controller ownership. The business site's release checks can use that output to validate the same workload the platform will admit.
Fixes #6711