[object Object]

← back to Designer Wallcoverings

schu-reimport: macOS notification + CNCP win on completion (session-independent ping)

1020f0665d613fcf3b01c4c1522ab1dd857c7304 · 2026-06-11 15:30:32 -0700 · SteveStudio2

Files touched

Diff

commit 1020f0665d613fcf3b01c4c1522ab1dd857c7304
Author: SteveStudio2 <stevestudio2@SteveStudio2s-Mac-Studio.local>
Date:   Thu Jun 11 15:30:32 2026 -0700

    schu-reimport: macOS notification + CNCP win on completion (session-independent ping)
---
 shopify/scripts/cadence/schu-reimport.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/shopify/scripts/cadence/schu-reimport.sh b/shopify/scripts/cadence/schu-reimport.sh
index 6f1446b1..33b5bb8e 100755
--- a/shopify/scripts/cadence/schu-reimport.sh
+++ b/shopify/scripts/cadence/schu-reimport.sh
@@ -28,6 +28,8 @@ trap 'rmdir "$LOCK" 2>/dev/null' EXIT
 nn=$(netnew)
 if [ "${nn:-1}" -lt 5 ]; then
   echo "$(date '+%F %T') net-new cleared ($nn) — self-expiring $LABEL" >> "$LOG"
+  osascript -e 'display notification "Schumacher re-import complete — all SKUs created, net-new 0." with title "DW backfill done" sound name "Glass"' 2>/dev/null
+  curl -s -X POST http://127.0.0.1:3333/api/wins -H 'Content-Type: application/json' -d '{"project":"Designer-Wallcoverings","title":"Schumacher re-import backfill complete","summary":"All previously-uncreated Schumacher SKUs created as DRAFT across the daily variant-cap window; net-new cleared."}' >/dev/null 2>&1
   launchctl bootout "gui/$(id -u)/$LABEL" 2>/dev/null
   [ -f "$PLIST" ] && mv "$PLIST" "$PLIST.DONE"
   exit 0
@@ -55,6 +57,8 @@ echo "$(date '+%F %T') ===== tick done — net-new=$final =====" >> "$LOG"
 # if cleared, self-expire immediately rather than waiting for next tick
 if [ "${final:-1}" -lt 5 ]; then
   echo "$(date '+%F %T') backfill COMPLETE — self-expiring $LABEL" >> "$LOG"
+  osascript -e 'display notification "Schumacher re-import complete — all SKUs created, net-new 0." with title "DW backfill done" sound name "Glass"' 2>/dev/null
+  curl -s -X POST http://127.0.0.1:3333/api/wins -H 'Content-Type: application/json' -d '{"project":"Designer-Wallcoverings","title":"Schumacher re-import backfill complete","summary":"All previously-uncreated Schumacher SKUs created as DRAFT across the daily variant-cap window; net-new cleared."}' >/dev/null 2>&1
   launchctl bootout "gui/$(id -u)/$LABEL" 2>/dev/null
   [ -f "$PLIST" ] && mv "$PLIST" "$PLIST.DONE"
 fi

← 8ed26702 Handle Shopify DAILY variant-creation cap (the real blocker)  ·  back to Designer Wallcoverings  ·  schu-reimport: heartbeat to CNCP Looping-LIVE each tick + ma 191ba013 →