Skip to content

fix: add network section #2635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 30, 2025
Merged

fix: add network section #2635

merged 3 commits into from
Jul 30, 2025

Conversation

astandrik
Copy link
Collaborator

@astandrik astandrik commented Jul 30, 2025

Closes #2448

Stand

CI Results

Test Status: ❌ FAILED

📊 Full Report

Total Passed Failed Flaky Skipped
354 128 223 1 2
Test Changes Summary ⏭️2

⏭️ Skipped Tests (2)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  2. Copy result button copies to clipboard (tenant/queryEditor/queryEditor.test.ts)

Bundle Size: 🔺

Current: 85.35 MB | Main: 85.33 MB
Diff: +0.02 MB (0.02%)

⚠️ Bundle size increased. Please review.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@astandrik astandrik requested a review from Copilot July 30, 2025 09:04
@astandrik
Copy link
Collaborator Author

bugbot run

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a network section to the tenant diagnostics interface, providing visibility into network statistics such as ping times and clock skew across nodes. This enhancement extends the existing tenant overview with network monitoring capabilities.

Key changes:

  • Adds network tab to tenant metrics with ping time and clock skew views
  • Implements network speed formatting utilities for metrics display
  • Creates dedicated components for displaying top nodes by network performance

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/utils/metrics/formatMetricLegend.ts Adds formatSpeedLegend function for formatting network speed metrics
src/store/reducers/tenant/types.ts Adds TenantNetworkTab type definition
src/store/reducers/tenant/constants.ts Adds network tab constants including ping and skew subtabs
src/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json Updates internationalization strings for network features
src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx Integrates network component into main overview
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/useTenantNetworkQueryParams.ts Handles URL query parameters for network tab state
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/columns.ts Defines table columns for ping and skew views
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesBySkew.tsx Component displaying nodes sorted by clock skew
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesByPing.tsx Component displaying nodes sorted by ping time
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TenantNetwork.tsx Main network section component with tab navigation
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TenantNetwork.scss Styling for network section layout
src/containers/Tenant/Diagnostics/TenantOverview/TabCard/TabCard.tsx Removes unused clickable prop from TabCard component
src/containers/Tenant/Diagnostics/TenantOverview/TabCard/TabCard.scss Simplifies CSS by removing conditional clickable styling
src/containers/Tenant/Diagnostics/TenantOverview/MetricsTabs/MetricsTabs.tsx Integrates network card into metrics tabs with proper formatting

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


@astandrik astandrik marked this pull request as ready for review July 30, 2025 10:24
@astandrik astandrik added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit b88c30e Jul 30, 2025
7 checks passed
@astandrik astandrik deleted the astandrik.2448-3 branch July 30, 2025 12:04
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.

add Network section
2 participants