fix(coordinator): stop succeeded dataflow orphans on status report - #3119
fix(coordinator): stop succeeded dataflow orphans on status report#3119SunSunSun689 wants to merge 1 commit into
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Reviewed the diff — no issues found, looks correct and safe to merge. The new 🤖 Automated review by Claude (Claude Code). This review was generated fully automatically with no human in the loop and has not been vetted by a maintainer — treat it as advisory. Generated by Claude Code |
Summary
Fixes a coordinator reconciliation gap where a daemon could report a dataflow as still running even though the coordinator store already marked it as
Succeeded.Previously, the
DaemonStatusReporthandler handled:Pending/Recovering/ non-terminalFailed: reconcile back toRunningRunning: re-establish live coordinator stateFailed: preserve the terminal verdict and stop orphaned daemon- side nodesSucceeded: fell through to_ => {}after the coordinator had already recorded the dataflow as successfully finished.This change treats
Succeededas a terminal state for status-report reconciliation and reuses the existing orphan cleanup path.