This commit is contained in:
2026-07-30 23:04:50 +02:00
parent 4470246ebb
commit eeaada77d4
+10 -6
View File
@@ -6221,12 +6221,16 @@ def cmd_auto(
name = proj.name name = proj.name
print(f"\n--- {name} ---") print(f"\n--- {name} ---")
# 1. Sync from the relay (brings the newest commits.log + inputs). Skipped # 1. Sync from the relay first — this is what brings the newest commits.log
# in dry-run so it stays side-effect-free — we just report intent. # and inputs. Runs in both modes so it's always visible; in dry-run it's
if not dry_run and cmd_down(proj, verbose, dry_run=False) != 0: # cmd_down's own --dry-run (shows what it would pull, changes nothing).
print(f" {name}: down failed") if cmd_down(proj, verbose, dry_run=dry_run) != 0:
failed.append((name, "down")) if dry_run:
continue print(f" {name}: (dry-run) down preview unavailable — continuing")
else:
print(f" {name}: down failed — skipping")
failed.append((name, "down"))
continue
# 2. Commit trigger: is commits.log newer than what we last handled here? # 2. Commit trigger: is commits.log newer than what we last handled here?
latest = _last_timestamp(_read_log_lines(proj / _COMMITS_LOG)) latest = _last_timestamp(_read_log_lines(proj / _COMMITS_LOG))