Mark processing as successful (promotes pending → main cache).
(self)
| 623 | return needs_update |
| 624 | |
| 625 | def mark_success(self) -> None: |
| 626 | """Mark processing as successful (promotes pending → main cache).""" |
| 627 | _run_zccache( |
| 628 | ["--cache-file", str(self.cache_file), "mark-success"], |
| 629 | check=True, |
| 630 | ) |
| 631 | |
| 632 | def mark_failure(self) -> None: |
| 633 | """Mark the previous check as failed, forcing re-run next time.""" |