Gate cluster-dependent k8s tests behind KC_INTEGRATION_TESTS#17909
Gate cluster-dependent k8s tests behind KC_INTEGRATION_TESTS#17909Copilot wants to merge 2 commits into
Conversation
❌ Deploy Preview for kubestellarconsole failed. Why did it fail? →
|
|
👋 Hey @Copilot — thanks for opening this PR!
This is an automated message. |
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff: DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Status CheckThis draft PR appears to be stalled with no activity since creation (~2h20m ago). This check ran outside business hours (05:43 UTC), so human follow-up when the team is online is fine. Current status:
Known blockers:
Recommended next steps:
|
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Status Check (Follow-Up)Item: PR #17909 — Gate cluster-dependent k8s tests behind KC_INTEGRATION_TESTS Current State
No new commits or human activity have occurred since the last status check (~6h 52m ago). The PR remains blocked on rebase, DCO, and build failures. Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17909 — Gate cluster-dependent k8s tests behind KC_INTEGRATION_TESTS Current State
Recommended Next StepsA human maintainer should:
|
Status CheckThis draft PR appears to be stalled and requires human intervention. Stuck since: 2026-06-12T03:17Z (≈ 14 hours) Blockers identified:
Build/Review:
Recommended next steps for a human maintainer:
|
Status Check — Still Stuck (~16 hours)This draft PR remains stalled with no progress since creation. Current blockers:
State: Draft · Not merged · Recommended next steps: A human maintainer should review this PR and either:
Note: Current time is outside business hours (UTC). Follow-up when the team is online is fine.
|
|
Closing: stale needs-rebase PR with WIP/DCO failures. Per #18190, these have been sitting without progress and should be re-opened with a fresh branch if still needed. |
📌 Fixes
Issue linkage is handled automatically by the system.
📝 Summary of Changes
Tests in k8s-related packages were executing live in-cluster API paths when
KUBERNETES_SERVICE_HOSTwas present, causing RBAC-forbidden failures in restricted CI environments. This change makes those tests explicitly opt-in as integration tests viaKC_INTEGRATION_TESTS=1.pkg/k8s/gateway_test.go(TestListGateways,TestListHTTPRoutes)pkg/k8s/client/client_test.go(TestGetAllClusterHealth)pkg/k8s/rbac_extra_test.go(TestGetAllClusterPermissions,TestGetAllPermissionsSummaries)pkg/k8s/workload_scaling_test.go(TestGetClusterCapabilities)pkg/stellar/observer/observer_event_test.go(TestFetchResourceStateNodeWithConditions)KC_INTEGRATION_TESTS=1.Changes Made
KC_INTEGRATION_TESTS=1before runningChecklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
N/A (test-only change).
👀 Reviewer Notes
Original prompt