← back to Designer Wallcoverings
cadence: create DRAFT (drop --activate) so cost-vendors flow through the rotation activator, not direct-activate
3632c282b9b7b11fb2cfe01ff40905667f06ed0b · 2026-07-21 13:11:11 -0700 · Steve
Files touched
M shopify/scripts/cadence/run-cadence-hourly.sh
Diff
commit 3632c282b9b7b11fb2cfe01ff40905667f06ed0b
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Jul 21 13:11:11 2026 -0700
cadence: create DRAFT (drop --activate) so cost-vendors flow through the rotation activator, not direct-activate
---
shopify/scripts/cadence/run-cadence-hourly.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shopify/scripts/cadence/run-cadence-hourly.sh b/shopify/scripts/cadence/run-cadence-hourly.sh
index 786343e4..773a6ff5 100755
--- a/shopify/scripts/cadence/run-cadence-hourly.sh
+++ b/shopify/scripts/cadence/run-cadence-hourly.sh
@@ -72,7 +72,7 @@ export DWBR_HOUSE_LINE_REMAP=1
# murals priced per panel/sqft). Refined per Steve's "if it explicitly says mural, look into width/length"
# rule — the /roll/ soldBy test is the dimension guard. To re-hold: remove this export.
export DW_DOUBLE_ROLL_MOQ=1
-OUT=$(node scripts/cadence/cadence-import.js --slot "$SLOT" --vendors "$VPS" --skus "$PER" --max "$MAXP" --activate --commit 2>&1)
+OUT=$(node scripts/cadence/cadence-import.js --slot "$SLOT" --vendors "$VPS" --skus "$PER" --max "$MAXP" --commit 2>&1)
RC=$?
echo "$OUT"
echo "cadence-import exit $RC (3 = daily variant cap hit, resumes next slot)"
@@ -121,7 +121,7 @@ if [ ! -f "$OZ_MARK" ]; then
# 10 products × 2 variants; take is leftover-aware so it returns 0 when the cap is exhausted.
OZG=$(node "$BUDGET" take upload 20 2>/dev/null || echo 20); OZP=$(( OZG / 2 )); [ "$OZP" -gt 10 ] && OZP=10
if [ "$OZP" -ge 1 ]; then
- OZOUT=$(node scripts/cadence/cadence-import.js --only Osborne --vendors 1 --skus "$OZP" --max "$OZP" --activate --commit 2>&1); echo "$OZOUT"
+ OZOUT=$(node scripts/cadence/cadence-import.js --only Osborne --vendors 1 --skus "$OZP" --max "$OZP" --commit 2>&1); echo "$OZOUT"
OZC=$(printf '%s' "$OZOUT" | grep -oE 'CREATED [0-9]+' | grep -oE '[0-9]+' | tail -1)
OZREF=$(( OZG - ${OZC:-0} * 2 )); [ "$OZREF" -gt 0 ] && node "$BUDGET" refund upload "$OZREF" >/dev/null 2>&1
touch "$OZ_MARK"
← a903d53d auto-save: 2026-07-21T11:07:10 (1 files) — shopify/scripts/c
·
back to Designer Wallcoverings
·
backfill specs metafields + descriptions for 7/17 WallQuest c65f2226 →