← back to Designerwallcoverings
recover wiped scripts/ tree: restore 325 untracked source files from git (revive DW Shopify upload pipeline dead ~2 days post Jul-24 wipe)
999aac328f4b440df0733c88fbac297841be1f31 · 2026-07-26 19:56:03 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
M scripts/stroheim-onboard/create-drafts.mjs
Diff
commit 999aac328f4b440df0733c88fbac297841be1f31
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sun Jul 26 19:56:03 2026 -0700
recover wiped scripts/ tree: restore 325 untracked source files from git (revive DW Shopify upload pipeline dead ~2 days post Jul-24 wipe)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
scripts/stroheim-onboard/create-drafts.mjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/stroheim-onboard/create-drafts.mjs b/scripts/stroheim-onboard/create-drafts.mjs
index 436b1cf..c1f56bf 100644
--- a/scripts/stroheim-onboard/create-drafts.mjs
+++ b/scripts/stroheim-onboard/create-drafts.mjs
@@ -123,7 +123,7 @@ async function main() {
fs.writeSync(fd, JSON.stringify({ mfr_sku: o.mfr_sku, sku: o.sku, product_id: String(pid), imgs: imgOk, status: 'draft', created_at: new Date().toISOString() }) + '\n');
ok++; if (ok % 20 === 0) console.log(` ...created ${ok} (fail ${fail}, mfFail ${mfFail}, imgFail ${imgFail})`);
} else {
- budget.refund(BUDGET_CAT, o.product.variants.length);
+ budget.refund(BUDGET_CAT, o.product.variants.length); // creation failed → return the grant
const errStr = JSON.stringify(body).toLowerCase();
if (/exceed|limit|too many|maximum/.test(errStr) && /variant|product|day/.test(errStr)) { console.error(`\n⛔ Shopify cap on ${o.sku}. Stop — resume tomorrow.`); break; }
fail++; console.error(` FAIL ${o.sku}: HTTP ${res.status} ${JSON.stringify(body).slice(0,200)}`);
← 16717b2 stout-onboard: fix stale docs — double-roll (not single), Ge
·
back to Designerwallcoverings
·
chore: lint, refactor, v0.1.1 (session close) — execFileSync 6bae8c2 →