diff --git a/python/ray/dashboard/client/src/pages/dashboard/logical-view/Actor.tsx b/python/ray/dashboard/client/src/pages/dashboard/logical-view/Actor.tsx index 75e0eadad..c715db1a8 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/logical-view/Actor.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/logical-view/Actor.tsx @@ -219,7 +219,7 @@ const Actor: React.FC = ({ actor }) => { Actor {actor.actorId} (Profile for {[10, 30, 60].map((duration) => ( - + {" "} = ({ actor }) => { {Object.entries(profiling).map( ([profilingId, { startTime, latestResponse }]) => latestResponse !== null && ( - + ( {latestResponse.status === "pending" ? ( `Profiling for ${Math.round( diff --git a/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorClassGroup.tsx b/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorClassGroup.tsx index 922ef35c8..a37fa5945 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorClassGroup.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorClassGroup.tsx @@ -48,8 +48,12 @@ const ActorClassGroup: React.FC = ({ const [expanded, setExpanded] = useState(false); const toggleExpanded = () => setExpanded(!expanded); const entries = actorGroup.entries.map((actor, i) => ( - - + + )); const { Alive, PendingResources, Infeasible } = ActorState; diff --git a/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorDetailsPane.tsx b/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorDetailsPane.tsx index 617a6c584..0cccd7b4b 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorDetailsPane.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/logical-view/ActorDetailsPane.tsx @@ -48,7 +48,12 @@ const ActorDetailsPane: React.FC = ({ ({ label, value, tooltip }) => value && value.length > 0 && ( - + ), )} diff --git a/python/ray/dashboard/client/src/pages/dashboard/memory/Memory.tsx b/python/ray/dashboard/client/src/pages/dashboard/memory/Memory.tsx index 35d36e3d3..7b97d4034 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/memory/Memory.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/memory/Memory.tsx @@ -44,6 +44,7 @@ const PyStackTrace: React.FC<{ stackTrace: string }> = ({ stackTrace }) => { {i !== 0 && } {frame} diff --git a/python/ray/dashboard/client/src/pages/dashboard/memory/MemoryTableRow.tsx b/python/ray/dashboard/client/src/pages/dashboard/memory/MemoryTableRow.tsx index e198adbd5..2c0f5d60b 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/memory/MemoryTableRow.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/memory/MemoryTableRow.tsx @@ -6,11 +6,10 @@ import { StyledTableCell } from "../../../common/TableCell"; type Props = { memoryTableEntry: MemoryTableEntry; - key: string; }; export const MemoryTableRow = (props: Props) => { - const { memoryTableEntry, key } = props; + const { memoryTableEntry } = props; const object_size = memoryTableEntry.object_size === -1 ? "?" @@ -25,9 +24,9 @@ export const MemoryTableRow = (props: Props) => { memoryTableEntry.call_site, ]; return ( - + {memoryTableEntryValues.map((value, index) => ( - {value} + {value} ))} ); diff --git a/python/ray/dashboard/client/src/pages/dashboard/node-info/NodeWorkerRow.tsx b/python/ray/dashboard/client/src/pages/dashboard/node-info/NodeWorkerRow.tsx index 631362f4a..c87b943a0 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/node-info/NodeWorkerRow.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/node-info/NodeWorkerRow.tsx @@ -4,7 +4,6 @@ import { StyledTableCell } from "../../../common/TableCell"; import { WorkerFeatureData, WorkerFeatureRenderFn } from "./features/types"; type NodeWorkerRowProps = { - key: string | number; features: WorkerFeatureRenderFn[]; data: WorkerFeatureData; }; @@ -12,11 +11,10 @@ type NodeWorkerRowProps = { export const NodeWorkerRow: React.FC = ({ features, data, - key, }) => { const { node, worker, rayletWorker } = data; return ( - + {features.map((WorkerFeature, index) => ( diff --git a/python/ray/dashboard/client/src/pages/dashboard/node-info/TotalRow.tsx b/python/ray/dashboard/client/src/pages/dashboard/node-info/TotalRow.tsx index ee07ed6d4..367f9d031 100644 --- a/python/ray/dashboard/client/src/pages/dashboard/node-info/TotalRow.tsx +++ b/python/ray/dashboard/client/src/pages/dashboard/node-info/TotalRow.tsx @@ -55,7 +55,7 @@ const TotalRow: React.FC = ({ ) : ( - + ), )} diff --git a/python/ray/dashboard/tests/test_node_stats.py b/python/ray/dashboard/tests/test_node_stats.py index 839d79d7c..3a387b1c9 100644 --- a/python/ray/dashboard/tests/test_node_stats.py +++ b/python/ray/dashboard/tests/test_node_stats.py @@ -42,6 +42,7 @@ def test_basic(ray_start_with_dashboard): assert len(client_stats) == 1 client = client_stats[0] + print(client) assert len(client["workers"]) == 1