pilichoumao opened a new pull request, #6883:
URL: https://github.com/apache/rocketmq-dashboard/pull/6883

   Fixes #6881.
   
   CSV export currently throws RangeError when a finite sample epoch exceeds 
JavaScript Date's representable range. Keep every raw scalar and native 
histogram sample and emit an empty ISO timestamp only for unrepresentable 
dates. Representable dates, sample values, labels, CSV columns and time units 
retain their existing behavior.
   
   Rebased on rocketmq-studio 127c47b0. Preserve mainline's CSV epoch-unit 
regression alongside the out-of-range timestamp tests. This PR contains only 
its own export fix and tests.
   
   Validation: all 92 tests in MetricsExplorer.test.tsx and 
metricsExplorerDiagnostics.test.ts passed locally. On ECS Node 20, all 35 
diagnostics utility tests and 9 selected component regressions passed with a 
single worker (48 other component tests deliberately skipped). The selected set 
includes raw CSV export and history-restoration cases that previously timed out 
or encountered transition pointer checks during a loaded-host full run. 
TypeScript build checks and ESLint for changed frontend files passed in both 
environments. This is targeted ECS validation, not a claim that the initial 
full remote run passed. No dependencies, backend or CI workflow changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to