Set the execution as `stale` using a special 88 exitcode value.
(self)
| 2175 | self.save(update_fields=["run_exitcode", "run_output", "run_end_date"]) |
| 2176 | |
| 2177 | def set_run_staled(self): |
| 2178 | """Set the execution as `stale` using a special 88 exitcode value.""" |
| 2179 | self.set_run_ended(exitcode=88) |
| 2180 | |
| 2181 | def set_run_stopped(self): |
| 2182 | """Set the execution as `stopped` using a special 99 exitcode value.""" |