Guard nil MultiClusterClient accessors from scheduler/solver call paths#17482
Guard nil MultiClusterClient accessors from scheduler/solver call paths#17482Copilot wants to merge 3 commits into
Conversation
✅ Deploy Preview for kubestellarconsole canceled.
|
|
👋 Hey @Copilot — thanks for opening this PR!
This is an automated message. |
|
[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 |
|
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. |
Requires Human InterventionItem: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Findings
Failing Checks
Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors Summary
This PR remains blocked. Human intervention is still required.
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Current State
No new commits or activity have occurred since the previous status check. This PR remains blocked and requires human intervention to proceed. Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Current State
No new commits, no new checks, no human activity since the previous status check. This PR has been blocked for nearly 14 hours with no progress. Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Current State
No new commits, checks, or human activity since the previous status check. This PR has been blocked for over 16 hours. 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 — Still StalledItem: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Findings
Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Current State
This PR has now been blocked for over 30 hours with no commits and no human response to any of the multiple status check comments posted since yesterday. The no-spam window has elapsed again (~8h 46m since last comment). Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17482 — Guard nil MultiClusterClient accessors from scheduler/solver call paths Current State
This PR has received multiple status check comments over the past 33+ hours with no response. Recommended Next StepsA human maintainer should decide: close this PR or actively unblock it.
|
Status CheckThis draft PR appears to be stalled and requires human intervention. Stuck since: 2026-06-11T06:08Z (≈ 35 hours — oldest stuck PR) Blockers identified:
Build/Review:
Recommended next steps for a human maintainer:
|
Status Check — Still Stuck (~37 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
📝 Summary of Changes
NilAway flagged eight potential nil-pointer paths rooted in
scheduler.Dispatch/solver.SolveLoopcalling*k8s.MultiClusterClientmethods with a nil receiver. This change makes those accessor methods nil-safe and updates focused tests to assert error returns instead of panic behavior.Nil-safety in k8s client accessors
GetClient,GetRestConfig, andGetDynamicClientk8s.ErrNoClusterConfiguredCoverage for nil call paths
pkg/k8stests for nil*MultiClusterClientaccessDispatch(..., nil, ...)returns the expected errorBehavioral example
Changes Made
pkg/k8s/client_clients.goto guard nil receivers before touching client/config mapsMultiClusterClientaccessors and nil scheduler dispatch behaviorChecklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
Not applicable.
👀 Reviewer Notes
ErrNoClusterConfigured.parallel_validationcode review returned no findings; CodeQL timed out.