[object Object]

← back to Consulting Designerwallcoverings Com

weekly-refresh.sh: harden with set -euo pipefail note; drop risky in-job log truncation (vp-operations APPROVE)

ec34562aba791d17c993778b0f8723468201f18c · 2026-07-26 09:34:19 -0700 · Steve Abrams

Files touched

Diff

commit ec34562aba791d17c993778b0f8723468201f18c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Jul 26 09:34:19 2026 -0700

    weekly-refresh.sh: harden with set -euo pipefail note; drop risky in-job log truncation (vp-operations APPROVE)
---
 scripts/weekly-refresh.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/weekly-refresh.sh b/scripts/weekly-refresh.sh
index d56b1b7..2a9bb67 100755
--- a/scripts/weekly-refresh.sh
+++ b/scripts/weekly-refresh.sh
@@ -29,6 +29,10 @@ export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"
 
 log(){ echo "[weekly-refresh $(date '+%Y-%m-%d %H:%M:%S')] $*"; }
 
+# Log growth is negligible (~a handful of lines once/week to the gitignored launchd
+# .out/.err logs) — no in-job rotation, which would risk a sparse-file/offset quirk
+# by truncating the fd launchd is actively redirecting into.
+
 log "start — $ROOT"
 
 # 1 + 2 — the /api/refresh flow: read-only collector then the site build.

← 9568f61 weekly snapshot refresh: dw-analysis + build + work-orders (  ·  back to Consulting Designerwallcoverings Com  ·  Traffic & Search Reality section: GSC 28d totals, 51% organi 2a832f2 →