Install snapshots take every server's workspace, not only the original one (build 64)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 2m48s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m53s
release-gate / verify (push) Successful in 9m27s

Since the move to the VPS each TV keeps the VPS's channels under no_backup/servers/<key>/; the install snapshot,
rollback copy and catalogue copy only took the original server's folder, frozen since 12 November, so the install
checks of the last few builds compared the old server's schedules. snapshot, rollback and catalogue now take every
server's workspace too (schedules, the server notes, catalogue copies; never the sign-in), and compare_snapshots.py
checks their planned programmes as well. Restore still puts back only the original server's schedules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 13:59:42 +00:00
co-authored by Claude Opus 5.5
parent 05afac70b4
commit 59f7392d73
3 changed files with 27 additions and 6 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ def compare(before, after):
if lost:
problems.append(f"bookings lost: {len(lost)}")
total = changed = 0
for bp in glob.glob(before + "/no_backup/schedule/schedule-*.json"):
# The original server's schedules and every other server's (no_backup/servers/<key>/schedule, 18 November 2026).
for bp in glob.glob(before + "/no_backup/schedule/schedule-*.json") + glob.glob(before + "/no_backup/servers/*/schedule/schedule-*.json"):
ap = bp.replace(before, after, 1)
try:
eb, ea = json.load(open(bp)).get("entries", []), json.load(open(ap)).get("entries", [])