Improve orch status reconciliation view

This commit is contained in:
2026-03-20 17:57:58 +08:00
parent 693a79345b
commit cf3c3cbe60
11 changed files with 374 additions and 21 deletions
@@ -28,7 +28,12 @@ func newStatusCmd(root *rootOptions) *cobra.Command {
}
defer sqlDB.Close()
overview, err := store.NewOrchStore(sqlDB).GetRunOverview(ctx, opts.runID)
orchStore := store.NewOrchStore(sqlDB)
if _, err := orchStore.ReconcileRun(ctx, opts.runID); err != nil {
return err
}
overview, err := orchStore.GetRunStatusView(ctx, opts.runID)
if err != nil {
return err
}