Return a new timestamped update log path and clean stale logs.
()
| 1463 | |
| 1464 | |
| 1465 | def create_update_log_path() -> Path: |
| 1466 | """Return a new timestamped update log path and clean stale logs.""" |
| 1467 | cleanup_update_logs() |
| 1468 | stamp = datetime.now(tz=UTC).strftime("%Y%m%d-%H%M%S") |
| 1469 | return UPDATE_LOG_DIR / f"{stamp}-update.log" |
| 1470 | |
| 1471 | |
| 1472 | async def _emit_progress(callback: UpgradeProgressCallback | None, line: str) -> None: |
searching dependent graphs…