File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,11 @@ class Run(Base):
115115 events : Mapped [list ] = mapped_column (JSON , default = list )
116116 error : Mapped [str ] = mapped_column (Text , default = "" )
117117 harness_run_id : Mapped [str ] = mapped_column (String (64 ), default = "" )
118+ # The web instance that owns this run's in-process worker thread.
119+ # Set while running so a restart reconciles only its OWN orphaned
120+ # runs (never another live instance's) -- see
121+ # Controller.reconcile_orphaned_runs. Null once finished.
122+ owner_instance : Mapped [str | None ] = mapped_column (String (64 ), nullable = True , index = True )
118123 exit_code : Mapped [int | None ] = mapped_column (Integer , nullable = True )
119124 cancelled : Mapped [bool ] = mapped_column (Boolean , default = False )
120125 duration_ms : Mapped [int ] = mapped_column (Integer , default = 0 )
You can’t perform that action at this time.
0 commit comments