@@ -1161,7 +1161,7 @@ def start_promotion_progress(
11611161 default_catalog : t .Optional [str ],
11621162 ) -> None :
11631163 """Indicates that a new snapshot promotion progress has begun."""
1164- if self .promotion_progress is None :
1164+ if snapshots and self .promotion_progress is None :
11651165 self .promotion_progress = make_progress_bar (
11661166 "Updating virtual layer " , self .console , justify = "left"
11671167 )
@@ -1782,10 +1782,13 @@ def _prompt_categorize(
17821782 """Get the user's change category for the directly modified models."""
17831783 plan = plan_builder .build ()
17841784
1785- self .show_environment_difference_summary (
1786- plan .context_diff ,
1787- no_diff = no_diff ,
1788- )
1785+ if plan .restatements :
1786+ self ._print ("\n [bold]Restating models\n " )
1787+ else :
1788+ self .show_environment_difference_summary (
1789+ plan .context_diff ,
1790+ no_diff = no_diff ,
1791+ )
17891792
17901793 if plan .context_diff .has_changes :
17911794 self .show_model_difference_summary (
@@ -3458,7 +3461,8 @@ def start_promotion_progress(
34583461 environment_naming_info : EnvironmentNamingInfo ,
34593462 default_catalog : t .Optional [str ],
34603463 ) -> None :
3461- self ._write (f"Starting promotion for { len (snapshots )} snapshots" )
3464+ if snapshots :
3465+ self ._write (f"Starting promotion for { len (snapshots )} snapshots" )
34623466
34633467 def update_promotion_progress (self , snapshot : SnapshotInfoLike , promoted : bool ) -> None :
34643468 self ._write (f"Promoting { snapshot .name } " )
0 commit comments