🐛 Fix build break: alias migrations import shadowed by local variable#17464
🐛 Fix build break: alias migrations import shadowed by local variable#17464Copilot wants to merge 2 commits into
Conversation
✅ Deploy Preview for kubestellarconsole canceled.
|
|
👋 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 |
Requires Human InterventionItem: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Findings
Failing Checks
Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Summary
This PR has been in a stuck state for ~9.7 hours total. Human intervention is still required to either fix the DCO/build issues or close this PR.
|
Status Check (Follow-Up)Item: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Current State
No new commits or activity have occurred since the previous status check. This PR has now been blocked for nearly 13 hours. Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Current State
No new commits, no new checks, no human activity since the previous status check. This PR has been blocked for nearly 17 hours with no progress. 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 #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Current State
No new commits or human activity since the last status check. This PR has now been blocked for nearly 20 hours. Prow also flagged a new rebase requirement at 20:04Z. Recommended Next Steps
|
Status Check — Still StalledItem: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Findings
Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Current State
This PR has been blocked for over 33 hours with no commits, no DCO fix, and no human response. Multiple status comments have been posted since yesterday morning with no follow-up. Recommended Next Steps
|
Status Check (Follow-Up)Item: PR #17464 — 🐛 Fix build break: alias migrations import shadowed by local variable Current State
This PR has received multiple status check comments over the past 36+ 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-11T03:06Z (≈ 38 hours — oldest stuck PR in this batch) Blockers identified:
Build/Review:
Recommended next steps for a human maintainer:
|
Status Check — Still Stuck (~40 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. |
The
pkg/storepackage failed to compile because a local variablemigrations := []string{...}insideSQLiteStore.migrate()shadowed the imported"github.com/kubestellar/console/pkg/store/migrations"package. The callmigrations.Run(ctx, s.db)at line 758 was resolved against the[]stringlocal rather than the package, producing two compiler errors.📝 Summary of Changes
migrationspackage import tomigrunnerto eliminate the name collision with the local variableChanges Made
pkg/store/sqlite_migrations.goline 10:migrunner "github.com/kubestellar/console/pkg/store/migrations"pkg/store/sqlite_migrations.goline 758:migrunner.Run(ctx, s.db)Checklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
👀 Reviewer Notes
Two-line fix only. No logic changes — purely resolves a package/local-variable name collision introduced when the inline migration slice was named
migrationsin the same scope as the imported package.Original prompt