← back to Interiordesignershowroom
deploy: guard prod-only runtime data from rsync --delete
9c27c3141d7a55ec11e28d6716cb6418ecb1557a · 2026-09-04 08:25:09 -0700 · Steve Abrams
deploy.sh runs 'rsync -az --delete' with no data/ exclude, so a deploy
overwrote the box's runtime file with the local copy and destroyed
everything written since the last deploy. Added a surgical
RSYNC_EXTRA_EXCLUDES for this project's runtime path(s) only, so genuine
build artifacts under data/ keep syncing.
Verified by itemized rsync --dry-run against prod: the runtime file is
listed for transfer WITHOUT the exclude and absent WITH it.
Fleet sweep, TK-11227. Same bug class as the July 2026 artmura/quadrille
mis-target fix and the abramsagency lead-ledger fix (TK-10536).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013mq9RQtVZZEWvreDqqTgv2
Files touched
Diff
commit 9c27c3141d7a55ec11e28d6716cb6418ecb1557a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Fri Sep 4 08:25:09 2026 -0700
deploy: guard prod-only runtime data from rsync --delete
deploy.sh runs 'rsync -az --delete' with no data/ exclude, so a deploy
overwrote the box's runtime file with the local copy and destroyed
everything written since the last deploy. Added a surgical
RSYNC_EXTRA_EXCLUDES for this project's runtime path(s) only, so genuine
build artifacts under data/ keep syncing.
Verified by itemized rsync --dry-run against prod: the runtime file is
listed for transfer WITHOUT the exclude and absent WITH it.
Fleet sweep, TK-11227. Same bug class as the July 2026 artmura/quadrille
mis-target fix and the abramsagency lead-ledger fix (TK-10536).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013mq9RQtVZZEWvreDqqTgv2
---
.deploy.conf | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.deploy.conf b/.deploy.conf
index 6ad99ee..08da7ab 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -19,3 +19,9 @@ INSTALL_CMD="npm ci --omit=dev"
# so schema never lags the shipped code again. ON_ERROR_STOP aborts the deploy on
# a bad migration rather than reloading onto a broken DB.
BUILD_CMD="bash scripts/migrate.sh"
+
+# Runtime state written by the LIVE server. deploy.sh runs `rsync -az --delete`, so
+# without this exclude a deploy overwrites the prod file with the local copy and
+# destroys everything submitted since the last deploy. Kept surgical so genuine
+# build artifacts under data/ keep syncing.
+RSYNC_EXTRA_EXCLUDES="/data/render-hits.json"
← abbea82 TK-10402: route guide heroes through the SCENE_PROVIDER disp
·
back to Interiordesignershowroom
·
TK-10402: undo script for Flux room-scene backfill 156ccf7 →