davidzollo opened a new pull request, #10637:
URL: https://github.com/apache/seatunnel/pull/10637

   ## What does this PR do?
   
   Fixes the job detail page metrics lookup so the SeaTunnel UI can read the 
prefixed table metric keys returned by the 2.3.13 backend and avoid rendering 
`NaN`.
   
   This change only targets the 2.3.13 backend contract.
   
   Closes #10636
   
   ## Why is this needed?
   
   The 2.3.13 backend returns table metrics keyed by `Source[n].<tablePath>` / 
`Sink[n].<tablePath>`, while the UI detail page still looked up metrics by raw 
table path. That mismatch made `Number(undefined)` show up as `NaN` in the job 
detail metrics table.
   
   ## How was it tested?
   
   - `cd seatunnel-engine/seatunnel-engine-ui && npm run type-check`
   - `cd seatunnel-engine/seatunnel-engine-ui && npm run test:unit -- --run 
src/tests/detail-metrics.spec.ts`
   - `./mvnw spotless:apply`
   - `./mvnw -q -DskipTests verify` (running locally while opening this PR)
   


-- 
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