123123213weqw opened a new pull request, #6488: URL: https://github.com/apache/rocketmq-dashboard/pull/6488
Fixes #6466. A stored `run_status` timeline event is written with a null duration by design, so replaying a completed run converted the terminal event into a `run_finished` frame with a hard-coded `durationMs = null` (`AgentEventProjector`'s replay switch) — and with NON_NULL serialization the reconnecting client received no timing at all, even though the loaded run row has the recorded provider duration. `AiRunService`'s attach path now fills a replayed terminal frame's missing duration from the run row — the same value the synthetic-terminal branch already used. Red-first: `aReplayedTerminalFrameCarriesTheRecordedRunDurationTest` asserts `"durationMs":65000` in the replayed frame (absent on the old code). `AiRunServiceTest` is 26/26. cc @lizhimins -- 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]
