← back to Designer Wallcoverings
Schumacher loop: auto-archive discontinued on Shopify (Steve: no need to gate)
c2d267b7905c908791efa7a51022d9889bf4e5a1 · 2026-06-11 11:50:01 -0700 · SteveStudio2
dw-pricing-resume.sh step 3 now runs schu-archive-disco.js --commit each tick so vendor-404
discontinued SKUs are archived on Shopify automatically (HTTP-404 = definitive signal).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
M shopify/scripts/dw-pricing-resume.sh
Diff
commit c2d267b7905c908791efa7a51022d9889bf4e5a1
Author: SteveStudio2 <stevestudio2@SteveStudio2s-Mac-Studio.local>
Date: Thu Jun 11 11:50:01 2026 -0700
Schumacher loop: auto-archive discontinued on Shopify (Steve: no need to gate)
dw-pricing-resume.sh step 3 now runs schu-archive-disco.js --commit each tick so vendor-404
discontinued SKUs are archived on Shopify automatically (HTTP-404 = definitive signal).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
shopify/scripts/dw-pricing-resume.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/shopify/scripts/dw-pricing-resume.sh b/shopify/scripts/dw-pricing-resume.sh
index a31ca57f..25f30a0e 100755
--- a/shopify/scripts/dw-pricing-resume.sh
+++ b/shopify/scripts/dw-pricing-resume.sh
@@ -33,4 +33,7 @@ fi
node schu-api-recrawl.js --all --commit >> "$LOG" 2>&1
# 2) rolling refresh of the 400 oldest-fetched live rows (keeps prices fresh)
node schu-api-recrawl.js --refresh 400 --commit >> "$LOG" 2>&1
+# 3) archive newly-discontinued SKUs on Shopify (Steve 2026-06-11: "no need to gate, go").
+# HTTP-404 from the authenticated API is a definitive vendor-discontinued signal.
+node schu-archive-disco.js --commit >> "$LOG" 2>&1
echo "$(date '+%F %T') tick done" >> "$LOG"
← d5d9d6f5 Add Schumacher to cadence vendors (Designer Net, cost=priceU
·
back to Designer Wallcoverings
·
kravet-feed-cadence: SFTP get to absolute /tmp path (drop fl bd09a7e8 →