The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix-ai-run-speed-partial-update has failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
a88a7182f15ff8b429c9990a7cb677263fd88f2d / zjncs <[email protected]>
fix(ai): stop the run speed report from racing the terminal run update

reportSpeed read the full rmq_ai_run row, set one field and wrote the
whole row back. The client sends the report exactly as its stream closes,
which also happens mid-run when the connection drops while the run keeps
executing, so the read can land just before finalizeRun's terminal update
and the write just after it: the stale RUNNING state overwrites the
terminal one, resurrects the run as active, and every later turn of that
conversation is refused with 409 until the orphan sweep reaps the row —
besides permanently losing the duration, tokens and finished_at the
worker had written. Write only the id and the speed column instead, the
same partial-update shape rememberRuntimeSession already uses.

Signed-off-by: zjncs <[email protected]>

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/36849188488

With regards,
GitHub Actions via GitBox

Reply via email to