Sweep A only selects pending/processing/finalizing, so a row that reaches a terminal state while its attempt is still open is never revisited: its spans stay "running" and the document timeline shows a permanent 进行中. Found in production with four root spans stuck for 11 and 27 days. - housekeeping: add Sweep D (reapTerminalSpans) closing spans still open on terminal rows, carrying the row own error_message so the timeline still names the real cause. A self-healing backstop for every failure path that forgets to close its attempt, including rows stranded by older releases. - span tracker: OpenAttempt now cancels spans left open by earlier attempts (ATTEMPT_SUPERSEDED). A reparse used to open its new root alongside the previous attempt dead root, which is what made historical runs look like they had been reactivated. Co-authored-by: asmh1989 <minhua.sun@velavigo.com> |
||
|---|---|---|
| .. | ||
| access | ||
| repository | ||
| service | ||