Skip to content

STR-3057 Add RPC-backed health to UI dashboard#237

Open
voidash wants to merge 2 commits into
internal-dashboardfrom
str-3057-internal-dashboard-rpc-status
Open

STR-3057 Add RPC-backed health to UI dashboard#237
voidash wants to merge 2 commits into
internal-dashboardfrom
str-3057-internal-dashboard-rpc-status

Conversation

@voidash

@voidash voidash commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • switch the UI dashboard network health check from simple endpoint presence to RPC-backed OL/EE chain status
  • call strata_getChainStatus for OL endpoints and eth_blockNumber for the EE endpoint
  • expose tip/latest/confirmed/finalized slots, lag, and stale-progress timing in the dashboard cards
  • add explicit parse errors/logging instead of silently treating malformed RPC responses as healthy

Context

This is the UI/internal dashboard companion to the Grafana dashboard work in deployments. It is intentionally separate from the Grafana PR so review can keep the two surfaces distinct.

This PR targets internal-dashboard, not main, because this work builds on the internal dashboard branch history.

Validation

  • cargo test -p status-network
  • PATH="/opt/homebrew/bin:$PATH" npm run build
  • git diff --check
  • checked for stale frontend/backend references to the old latest/parent OL shape

Notes

@voidash voidash changed the base branch from main to internal-dashboard June 2, 2026 10:57
@voidash voidash marked this pull request as ready for review June 5, 2026 09:00
@voidash voidash requested a review from krsnapaudel as a code owner June 5, 2026 09:00
Resolve conflicts after #236 (RPC method rename + testnet-v2 migration):
- status.rs: keep RPC-backed health implementation (superset of #236's
  strata_getChainStatus migration; richer OL/EVM parsing + tests)
- example-config.toml: adopt #236 testnet-v2 staging URLs; add eth_rpc_url
  aligned to the same staging endpoint
@krsnapaudel

Copy link
Copy Markdown
Collaborator

@voidash Should we first do this in main then backport?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants