← back to Wallco Ai
deploy.conf (CRITICAL): exclude data/elements + data/tif (local symlinks→external drive, real dirs on prod — --delete would wipe ~35k prod files) + prod quarantine dirs
a1b7baae54033f5fa4b2333663c46f2d75e0d439 · 2026-05-31 19:01:07 -0700 · Steve Abrams
Files touched
Diff
commit a1b7baae54033f5fa4b2333663c46f2d75e0d439
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sun May 31 19:01:07 2026 -0700
deploy.conf (CRITICAL): exclude data/elements + data/tif (local symlinks→external drive, real dirs on prod — --delete would wipe ~35k prod files) + prod quarantine dirs
---
.deploy.conf | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.deploy.conf b/.deploy.conf
index 5d030f0..d573172 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -17,4 +17,12 @@ HEALTH_URL="https://wallco.ai/health"
# it (~lines 2348/2458) so it is prod-authored; it was missing from this list,
# and a local copy carried +178 stale lines a deploy would have rsync'd over the
# live decision log. Same class as the ghost-scan / bad-aesthetic logs.
-RSYNC_EXTRA_EXCLUDES="data/generated data/generated_pre_seamless_backup data/images data/rooms data/spoonflower-pulled data/fliepaper-bugs public/uploads public/marketplace/uploads data/designs.json data/marketplace/events.jsonl data/cactus-decisions.jsonl data/ghost-scan-flagged.jsonl data/ghost-scan-results.jsonl data/ghost-scan-triage.jsonl data/ghost-scan-flagged.pre-*.jsonl data/ghost-scan-flagged.post-*.jsonl data/ghost-scan-results.pre-*.jsonl data/bad-aesthetic-patterns.jsonl data/bad-aesthetic-patterns.*.jsonl data/ghost-purge.jsonl data/ghost-labels.jsonl data/fixes-feed.jsonl data/.rescan-current.txt data/.rescan-ready.txt data/pdp-theme.json"
+# 2026-05-31 (CRITICAL): added data/elements + data/tif — LOCALLY these are
+# SYMLINKS to /Volumes/Henry/wallco-ai-archive/{elements,tif} (an external drive),
+# but on PROD they are real directories (data/elements alone holds ~35k files).
+# Without these excludes, `rsync -a --delete` sees local-symlink vs prod-dir and
+# DELETES all ~35k prod files, replacing them with a /Volumes/Henry symlink prod
+# can't even resolve. A dry-run on 2026-05-31 showed 34,986 queued deletions.
+# Also added the two prod-authored quarantine dirs (the scanner / soft-delete
+# endpoints MOVE flagged PNGs into them on prod) — never clobber from local.
+RSYNC_EXTRA_EXCLUDES="data/generated data/generated_pre_seamless_backup data/generated_ghost_quarantine data/generated_cactus_quarantine data/elements data/tif data/images data/rooms data/spoonflower-pulled data/fliepaper-bugs public/uploads public/marketplace/uploads data/designs.json data/marketplace/events.jsonl data/cactus-decisions.jsonl data/ghost-scan-flagged.jsonl data/ghost-scan-results.jsonl data/ghost-scan-triage.jsonl data/ghost-scan-flagged.pre-*.jsonl data/ghost-scan-flagged.post-*.jsonl data/ghost-scan-results.pre-*.jsonl data/bad-aesthetic-patterns.jsonl data/bad-aesthetic-patterns.*.jsonl data/ghost-purge.jsonl data/ghost-labels.jsonl data/fixes-feed.jsonl data/.rescan-current.txt data/.rescan-ready.txt data/pdp-theme.json"
← ca7e5ce deploy: exclude data/pdp-theme.json from rsync (prod-authore
·
back to Wallco Ai
·
deploy: exclude prod-authored logs (cactus-decisions/ghost-s 6804379 →