Fix nightly health reporting by correcting sync token helper usage#17936
Fix nightly health reporting by correcting sync token helper usage#17936Copilot wants to merge 2 commits into
Conversation
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 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 |
✅ Test Coverage CheckAll new source files in this PR have corresponding test files. Checked |
|
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 CheckThis draft PR appears to be stuck with no progress in the last ~90 minutes (last updated: 2026-06-12T08:04 UTC). Current status:
Findings
Recommended Next Steps
|
Status CheckThis draft PR appears stalled — no commits since creation (~5 hours ago, 06:24 UTC). Current status:
Blockers preventing merge:
Recommended next steps for a human maintainer:
|
Status Check (Follow-Up)Item: PR #17936 — Fix nightly health reporting by correcting sync token helper usage Current State
The Playwright failures appear to be from the broader test-suite instability tracked in issue #17846 (57+ pre-existing failures), not from changes in this PR. The functional build checks pass. Recommended Next StepsA human maintainer should:
|
Status CheckThis draft PR appears to be stalled and requires human intervention. Stuck since: 2026-06-12T06:24Z (≈ 11 hours) Blockers identified:
Build/Review:
Recommended next steps for a human maintainer:
|
Status Check — Still Stuck (~13 hours)This draft PR remains stalled since creation with failing test checks. 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. |
📝 Summary of Changes
Nightly health issue creation reported “test output could not be parsed,” but the workflow was failing earlier at web build due to Promise/boolean and Promise/headers type mismatches. This PR restores synchronous token helper usage at affected callsites so the nightly pipeline can reach test/report stages.
Promise<boolean>,Promise<Record<...>>) in runtime logic and fetch headers.getStoredAuthTokenSync) in affected modules.Changes Made
web/src/lib/demoMode.ts(isDemoToken,hasRealToken) to return sync booleansweb/src/hooks/useHelmActions.tsandweb/src/hooks/useUsers.tsto return sync header objectsweb/src/hooks/useFeatureRequests.tsto use sync token lookupChecklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
N/A (no UI changes)
👀 Reviewer Notes