Repository navigation
fix(dashboard): restore silo counters and responsive navigation - #11492
ReubenBond wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The browser regression installs Playwright’s fake clock after application timers have already been created, making the refresh test nondeterministic.
1 open finding
What changed in this PR
Restores dashboard silo telemetry and adds accessible responsive navigation.
Changes:
- Starts runtime metric collection and correctly aggregates Orleans telemetry.
- Refreshes silo counters and adds mobile navigation behavior.
- Adds unit/browser regressions and CI coverage.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Runs dashboard browser regressions. |
src/Dashboard/Orleans.Dashboard.App/.gitignore |
Ignores Playwright output. |
src/Dashboard/Orleans.Dashboard.App/README.md |
Documents prerequisites and UI tests. |
src/Dashboard/Orleans.Dashboard.App/eslint.config.js |
Includes Playwright TypeScript files. |
src/Dashboard/Orleans.Dashboard.App/index.html |
Adds mobile navigation controls. |
src/Dashboard/Orleans.Dashboard.App/package-lock.json |
Locks Playwright dependencies. |
src/Dashboard/Orleans.Dashboard.App/package.json |
Adds Playwright and test script. |
src/Dashboard/Orleans.Dashboard.App/playwright.config.ts |
Configures production-bundle tests. |
src/Dashboard/Orleans.Dashboard.App/src/custom.css |
Styles responsive sidebar behavior. |
src/Dashboard/Orleans.Dashboard.App/src/index.tsx |
Refreshes the silo-counter page. |
src/Dashboard/Orleans.Dashboard.App/src/lib/navigation.ts |
Implements accessible navigation interactions. |
src/Dashboard/Orleans.Dashboard.App/tests/navigation.spec.ts |
Tests refresh and responsive navigation. |
src/Dashboard/Orleans.Dashboard/DashboardHost.cs |
Subscribes to the runtime meter. |
src/Dashboard/Orleans.Dashboard/Implementation/DashboardTelemetryExporter.cs |
Aggregates tagged and up/down metrics. |
src/Dashboard/Orleans.Dashboard/README.md |
Documents restored dashboard features. |
src/Orleans.Runtime/Silo/Silo.cs |
Starts runtime metric collection. |
test/Orleans.Dashboard.Tests/Orleans.Dashboard.UnitTests/DashboardHostTests.cs |
Adds exporter regressions. |
test/Orleans.Dashboard.Tests/Orleans.Dashboard.UnitTests/SiloRuntimeCountersTests.cs |
Verifies early metric collection. |
Files not reviewed (1)
- src/Dashboard/Orleans.Dashboard.App/package-lock.json: Generated file
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Ahhhh #11493 did that fix too |
|
Also, as I understood, the Receive queue, Request queue and Send queue are gone |
|
I reused the own-meter isolation approach from #11493. This revision keeps the runtime messaging path unchanged and reads client/byte totals from the dashboard telemetry export instead of adding runtime byte counters. The obsolete Receive queue, Request queue, and Send queue rows are removed, and the byte totals are labeled explicitly. |
There was a problem hiding this comment.
🟡 Changes recommended
Overlapping silo-summary counter requests can apply stale responses after newer telemetry snapshots.
1 open finding
1 resolved since last review
Files not reviewed (1)
- src/Dashboard/Orleans.Dashboard.App/package-lock.json: Generated file
🧠 Review effort: Balanced
| http.get(`SiloCounters/${host}`, (_err, data) => { | ||
| siloCounters = data; | ||
| render(); | ||
| }); |
|
Great, hope this gets shipped soon. |

Fixes #11491.
The dashboard subscribed to the wrong meter, ignored up/down counters, and overwrote tagged metric points. Its counter page fetched only once, and the narrow-screen layout had no control to reopen the sidebar.
Subscribe using the silo's
OrleansInstruments.Meter.Nameand filter by meter identity, using the same isolation approach as #11493. Collect one silo-wide stream per instrument, with histogram sums and no bucket or min/max aggregation. Start the dashboard collector before the gateway opens so it observes the first client connections.Read the silo summary's client count and cumulative received/sent bytes from the existing dashboard telemetry exports. Reuse the existing refresh event for both counter views. This keeps the runtime messaging path unchanged: the PR adds no global listener startup or always-on message byte accounting. Remove obsolete queue-length rows and label the byte totals explicitly.
Preserve AdminLTE's desktop sidebar and add an accessible header toggle for narrow screens. The menu supports keyboard activation, Escape, backdrop dismissal, and dismissal after selecting a destination; offscreen navigation is inert.
Add telemetry, lifecycle, meter-isolation, and production-browser regressions. The browser refresh tests install and pause the fake clock before loading the application. Run the browser regressions in CI.
Microsoft Reviewers: Open in CodeFlow