Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Issue: Recharts v3 upgrade is not covered by chart-rendering verification
What's wrong
This PR changes the charting library across a major version, but the existing tests do not exercise the user-facing Recharts output. Because the only chart usage is in the Observability/Operations UI, the suite can stay green even if the upgraded library stops drawing the charts, changes legend behavior, or mishandles the multi-axis hardware chart.
Example
A regression where the Hardware
Network & RPCchart renders no SVG or loses one of its two Y-axis series after the v3 upgrade would still pass: the current spec clicks Hardware and only checks that/CPU|Memory|Disk/text is visible.Suggested direction
Add a deterministic Playwright or DOM test that feeds chartable data into the Operations view and asserts the Recharts-rendered surfaces, including at least one legend-interactive chart and the dual-Y-axis hardware chart. A build-only check is useful, but it will not catch the visual/runtime rendering regressions this migration can introduce.
For Agents
Add focused node-ui verification around
Operations.tsxchart surfaces. Mock/apiresponses or use a deterministic fixture with enough operation and hardware history buckets, then prove the Observability charts render actual Recharts SVG paths/series, expected legend labels, and the multi-axis HardwareNetwork & RPCchart still shows bothPeersandRPC (ms)series under Recharts v3.