← back to Designer Wallcoverings
cadence: disarm --collections auto-join to Trending (Steve 2026-06-21: keep Trending curated, not a new-arrivals feed)
2e01b21e995b09c84f37206d43251d546c87b772 · 2026-06-21 08:47:05 -0700 · Steve
Files touched
M shopify/scripts/cadence/run-cadence-hourly.sh
Diff
commit 2e01b21e995b09c84f37206d43251d546c87b772
Author: Steve <steve@designerwallcoverings.com>
Date: Sun Jun 21 08:47:05 2026 -0700
cadence: disarm --collections auto-join to Trending (Steve 2026-06-21: keep Trending curated, not a new-arrivals feed)
---
shopify/scripts/cadence/run-cadence-hourly.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/shopify/scripts/cadence/run-cadence-hourly.sh b/shopify/scripts/cadence/run-cadence-hourly.sh
index 9e26d104..e5450792 100755
--- a/shopify/scripts/cadence/run-cadence-hourly.sh
+++ b/shopify/scripts/cadence/run-cadence-hourly.sh
@@ -37,7 +37,12 @@ if [ "$MAXP" -lt 1 ]; then echo "no upload budget this slot — exit clean"; exi
cd "$SHOP" || { echo "FATAL: no $SHOP"; exit 1; }
export $(grep -E "^SHOPIFY_ADMIN_TOKEN=" "$HOME/Projects/secrets-manager/.env" | xargs) 2>/dev/null
-OUT=$(node scripts/cadence/cadence-import.js --slot "$SLOT" --vendors 8 --skus 10 --max "$MAXP" --activate --commit --collections 2>&1)
+# Steve 2026-06-21: keep Trending curated — auto-join DISARMED. The --collections flag made every
+# newly-published cadence product auto-join the "Trending Wallcovering Collection 2026" custom
+# collection (298339205171), turning a curated rotation into a de-facto full new-arrivals feed
+# (grew 518 → 1,380). Steve's explicit decision: Trending must NOT become an auto new-arrivals feed.
+# The flag-gated code in cadence-import.js stays intact (reversible) — to re-arm, add --collections back.
+OUT=$(node scripts/cadence/cadence-import.js --slot "$SLOT" --vendors 8 --skus 10 --max "$MAXP" --activate --commit 2>&1)
RC=$?
echo "$OUT"
echo "cadence-import exit $RC (3 = daily variant cap hit, resumes next slot)"
← e69ef2ba validate-before-activate: fix sample-variant false-positive
·
back to Designer Wallcoverings
·
cadence: wire York (york_catalog) into vendors.js, HELD in D a746f7ef →