Skip to content

feat(augment): Phase 3 - admin dashboard polling without loading flash#3224

Merged
pkliczewski merged 1 commit into
redhat-developer:mainfrom
rrbanda:pr/lifecycle-hardening-phase3
May 21, 2026
Merged

feat(augment): Phase 3 - admin dashboard polling without loading flash#3224
pkliczewski merged 1 commit into
redhat-developer:mainfrom
rrbanda:pr/lifecycle-hardening-phase3

Conversation

@rrbanda
Copy link
Copy Markdown
Contributor

@rrbanda rrbanda commented May 21, 2026

Summary

Phase 3 of the Deep-Dive Lifecycle Hardening plan. Adds 30-second polling to admin dashboards for real-time visibility. Depends on Phase 2 (PR #3223).

Changes

ReviewQueue

  • Added 30-second polling interval for automatic refresh of review queue agents
  • Only shows loading skeleton on initial load, not on subsequent polls (fixes the flash)

OpsOverview

  • Added 30-second polling interval for agent and tool data refresh
  • Same loading flash fix: initial load shows skeleton, polls update silently

Key fix

The previous PR G implementation called setLoading(true) on every poll cycle, causing a jarring skeleton flash every 30 seconds. This PR uses an initialLoadDone ref to ensure loading state is only shown on the first fetch.

Test plan

  • ReviewQueue refreshes automatically every 30 seconds
  • OpsOverview refreshes automatically every 30 seconds
  • Initial load shows loading skeleton
  • Subsequent polls do NOT show loading skeleton (no flash)

@github-actions
Copy link
Copy Markdown
Contributor

This pull request adds a new top-level directory under workspaces/. Please follow Submitting a Pull Request for a New Workspace in CONTRIBUTING.md.

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented May 21, 2026

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-augment

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-augment workspaces/augment/plugins/augment none v0.1.0

@rrbanda rrbanda force-pushed the pr/lifecycle-hardening-phase3 branch from 2b08fb8 to cc9e436 Compare May 21, 2026 17:18
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

❌ Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.79%. Comparing base (18fe980) to head (f5d6d83).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3224      +/-   ##
==========================================
- Coverage   53.80%   53.79%   -0.01%     
==========================================
  Files        2362     2362              
  Lines       84772    84781       +9     
  Branches    23497    23496       -1     
==========================================
  Hits        45612    45612              
- Misses      37638    38827    +1189     
+ Partials     1522      342    -1180     
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from 18fe980
ai-integrations 70.03% <ø> (ø) Carriedforward from 18fe980
app-defaults 69.60% <ø> (ø) Carriedforward from 18fe980
augment 47.56% <0.00%> (-0.02%) ⬇️
bulk-import 72.86% <ø> (ø) Carriedforward from 18fe980
cost-management 16.49% <ø> (ø) Carriedforward from 18fe980
dcm 32.85% <ø> (ø) Carriedforward from 18fe980
extensions 61.79% <ø> (ø) Carriedforward from 18fe980
global-floating-action-button 74.30% <ø> (ø) Carriedforward from 18fe980
global-header 61.68% <ø> (ø) Carriedforward from 18fe980
homepage 50.92% <ø> (ø) Carriedforward from 18fe980
konflux 91.01% <ø> (ø) Carriedforward from 18fe980
lightspeed 68.33% <ø> (ø) Carriedforward from 18fe980
mcp-integrations 81.59% <ø> (ø) Carriedforward from 18fe980
orchestrator 36.36% <ø> (ø) Carriedforward from 18fe980
quickstart 62.88% <ø> (ø) Carriedforward from 18fe980
sandbox 79.56% <ø> (ø) Carriedforward from 18fe980
scorecard 83.84% <ø> (ø) Carriedforward from 18fe980
theme 64.54% <ø> (ø) Carriedforward from 18fe980
translations 8.49% <ø> (ø) Carriedforward from 18fe980
x2a 78.59% <ø> (ø) Carriedforward from 18fe980

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18fe980...f5d6d83. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Phase 3 of lifecycle hardening: adds 30-second polling to ReviewQueue
and OpsOverview for real-time admin visibility.

Key fix: only sets loading=true on the initial load, not on subsequent
polls. This eliminates the skeleton flash that occurred every 30 seconds
in the previous implementation (PR G).

ReviewQueue:
- 30s polling interval for review queue agents
- initialLoadDone ref prevents loading flash on polls

OpsOverview:
- 30s polling interval for agent and tool data
- Same loading flash fix via initialLoadDone ref
@rrbanda rrbanda force-pushed the pr/lifecycle-hardening-phase3 branch from fce3905 to f5d6d83 Compare May 21, 2026 18:03
@sonarqubecloud
Copy link
Copy Markdown

@pkliczewski pkliczewski merged commit 7a7473a into redhat-developer:main May 21, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants