Skip to content

[scanner] refactor: split oversized RSSFeed source component - #22824

Merged
kubestellar-hive[bot] merged 1 commit into
mainfrom
scanner/fix-22775
Aug 28, 2026
Merged

[scanner] refactor: split oversized RSSFeed source component#22824
kubestellar-hive[bot] merged 1 commit into
mainfrom
scanner/fix-22775

Conversation

@kubestellar-hive

Copy link
Copy Markdown
Contributor

Fixes #22775

— hive: agent=scanner backend=copilot model=auto

@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Aug 26, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit c93895a
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6a91c29934f1b000080f3426
😎 Deploy Preview https://deploy-preview-22824.console-deploy-preview.kubestellar.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kubestellar-prow kubestellar-prow Bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!

🤖 This project is developed exclusively using AI coding assistants.

Please do not attempt to code anything for this project manually.
All contributions should be authored using an AI coding tool such as:

This ensures consistency in code style, architecture patterns, test coverage,
and commit quality across the entire codebase.


This is an automated message.

@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

✅ Test Coverage Check

All new source files in this PR have corresponding test files.

Checked web/src/hooks/ and web/src/components/ against origin/main.

@github-actions github-actions Bot added the needs-tests PR adds source files without corresponding tests label Aug 26, 2026
@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Auto Test Generator

The following new files have no corresponding test file:

  • web/src/components/cards/rss/useRSSFeedData.ts

Please add tests or apply the needs-tests label to track this PR.

@github-actions github-actions Bot added ai-generated Pull request generated by AI tier/2-standard labels Aug 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

♿ Accessibility Audit (WCAG 2.1 AA)

✅ No WCAG 2.1 AA violations detected in audited routes.


Powered by axe-core. Target: WCAG 2.1 AA compliance.

@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: Test (chromium, shard 1), Test (chromium, shard 2), Test (chromium, shard 3), build-gate

Raw failure evidence (from check-run annotations):

Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: Test (chromium, shard 1), Test (chromium, shard 2), Test (chromium, shard 3), build-gate

Raw failure evidence (from check-run annotations):

Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

@kubestellar-prow kubestellar-prow Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 27, 2026
Comment thread web/src/hooks/__tests__/useCachedData.sse-agent.fetchers.test.ts Fixed
Comment thread web/src/hooks/__tests__/useCachedData.sse-agent.paths.test.ts Fixed
@kubestellar-prow kubestellar-prow Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 27, 2026
Comment thread web/src/components/cards/__tests__/DynamicCard.main.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.main.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier2.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier2.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier1.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier2.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier2.test.tsx Fixed
Comment thread web/src/components/cards/__tests__/DynamicCard.tier1.test.tsx Fixed
Comment thread web/src/components/cards/rss/RSSFeed.tsx Fixed
Comment thread web/src/components/cards/rss/RSSFeed.tsx Fixed
@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: All Cards TTFI (Hard Gate), App Visual Regression, Build Frontend, build (linux/amd64, ubuntu-24.04, amd64), build (linux/arm64, ubuntu-24.04-arm, arm64), build-gate, fullstack-smoke

Raw failure evidence (from check-run annotations):

All Cards TTFI (Hard Gate): No files were found with the provided path: web/e2e/test-results/ttfi-report.json
All Cards TTFI (Hard Gate): Process completed with exit code 1.
All Cards TTFI (Hard Gate): 'setFetchSuccess' is declared but its value is never read.
All Cards TTFI (Hard Gate): 'setIsLoading' is declared but its value is never read.
All Cards TTFI (Hard Gate): 'PRESET_FEEDS' is declared but its value is never read.

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

@github-actions github-actions Bot removed the needs-tests PR adds source files without corresponding tests label Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: Test (chromium, shard 1), Test (chromium, shard 2), Test (chromium, shard 3), build-gate

Raw failure evidence (from check-run annotations):

Test (chromium, shard 1): Process completed with exit code 1.
Test (chromium, shard 1): web/[chromium] › e2e/compliance/card-cache-compliance.spec.ts took 5.0m
Test (chromium, shard 1): 1) [chromium] › e2e/compliance/interaction-compliance.spec.ts:390:3 › Interaction Compliance › sidebar collapse/expand 
Test (chromium, shard 1): 1) [chromium] › e2e/compliance/interaction-compliance.spec.ts:390:3 › Interaction Compliance › sidebar collapse/expand 
Test (chromium, shard 3): 1) [chromium] › e2e/perf/dashboard-nav.spec.ts:521:1 › cold-nav — first visit to each dashboard via sidebar 
Test (chromium, shard 3): 1) [chromium] › e2e/perf/dashboard-nav.spec.ts:521:1 › cold-nav — first visit to each dashboard via sidebar 

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

Comment thread web/src/contexts/__tests__/AlertsContext.conditions2.test.tsx Fixed
Comment thread web/src/contexts/__tests__/AlertsContext.conditions3.test.tsx Fixed
@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: Test (chromium, shard 1), Test (chromium, shard 2), Test (chromium, shard 3), build-gate

Raw failure evidence (from check-run annotations):

Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

Comment thread web/src/lib/modals/__tests__/ModalRuntime-advanced.test.tsx Fixed
Comment thread web/src/lib/modals/__tests__/ModalRuntime-edge-cases.test.tsx Fixed
Comment thread web/src/lib/modals/__tests__/ModalRuntime-edge-cases.test.tsx Fixed
@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@kubestellar-hive

Copy link
Copy Markdown
Contributor Author

🛑 Fix loop escalated — human attention needed

This PR has failed CI on 1 distinct fix attempts (new commits, still red). The hive has stopped dispatching further automated fixes for it.

Failing checks: Test (chromium, shard 1), Test (chromium, shard 2), Test (chromium, shard 3), build-gate

Raw failure evidence (from check-run annotations):

Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 3) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to FedRAMP vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 
Test (chromium, shard 2): 2) [chromium] › e2e/enterprise-compliance.spec.ts:73:7 › Enterprise Compliance Portal › Vertical Dashboards › navigates to NIST 800-53 vertical 

Remove the needs-human label after addressing the root cause to return the PR to the automated fix lane.

@kubestellar-prow kubestellar-prow Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 28, 2026
Extract feed state management from the 856-line RSSFeed.tsx into a
useRSSFeed hook (RSSFeed.tsx now 395 lines) and add unit tests for the
hook. Rebased onto main: dropped the AlertsContext, ModalRuntime, and
DynamicCard portions of the original branch since main already contains
equivalent splits (DynamicCard split continues in #22826). Removed an
unused eslint-disable directive flagged by the lint ratchet.

Signed-off-by: Andrew Anderson <andy@clubanderson.com>
@kubestellar-prow kubestellar-prow Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 28, 2026
@clubanderson

Copy link
Copy Markdown
Collaborator

Rebased onto main. This PR is now scoped to its titled purpose only: the RSSFeed.tsx source split (856 -> 395 lines plus a 646-line useRSSFeed hook and new hook unit tests). The AlertsContext, ModalRuntime, and DynamicCard portions were dropped because main already contains equivalent splits (the DynamicCard split continues in #22826). Also removed the unused eslint-disable directive that the lint ratchet flagged on the previous run.

@github-actions

Copy link
Copy Markdown
Contributor

❌ Playwright Tests Failed

📊 View Full Report

Download the playwright-report artifact from the workflow run for screenshots and detailed traces.

To view the report locally:

# Download and extract playwright-report.zip
npx playwright show-report path/to/playwright-report

@kubestellar-hive
kubestellar-hive Bot merged commit c4cd220 into main Aug 28, 2026
41 of 47 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-22775 branch August 28, 2026 17:44
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

Check out what's new:

Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey

@github-actions

Copy link
Copy Markdown
Contributor

Post-merge build verification passed

Both Go and frontend builds compiled successfully against merge commit c4cd2204c7b3f2a0f3ee0fd4460ba08c4b8fc05b.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Post-Merge Verification: passed

Commit: c4cd2204c7b3f2a0f3ee0fd4460ba08c4b8fc05b
Specs run: Dashboard.spec.ts smoke.spec.ts
Report: https://github.com/kubestellar/console/actions/runs/33196103992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Pull request generated by AI dco-signoff: yes Indicates the PR's author has signed the DCO. needs-human scanner-checks-failing size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tier/2-standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor] Split oversized RSSFeed source component (parent #22749)

1 participant