huskies: merge 1094 bug delete_story leaks zombie rows in pipeline_items shadow table — 176 tombstoned items still report non-terminal stages
This commit is contained in:
@@ -360,6 +360,10 @@ pub(crate) async fn init_subsystems(app_state: &Arc<SessionState>, cwd: &Path, i
|
||||
// Story 1052: remove stale MergeJob entries for terminal-stage
|
||||
// stories so they can never cause "FAILED" labels in the UI.
|
||||
crdt_state::purge_done_stage_merge_jobs();
|
||||
// Story 1094: delete pipeline_items rows whose CRDT entry is
|
||||
// tombstoned but whose row survived with a non-terminal stage
|
||||
// (pre-1094 fire-and-forget delete could be lost on restart).
|
||||
crdt_state::migrate_zombie_pipeline_rows().await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user