[object Object]

← back to Shopify Sample Shipping

TK-11333: short launcher scripts for migration (avoid !-paste line-wrap breakage)

2f84a5b2b118c093e7da825e72cbb3d62a389f97 · 2026-09-09 15:47:17 -0700 · Steve Abrams

run-migration.sh / tail-migration.sh / undo-migration.sh — short paste targets so
the long compound command can't wrap and hit (eval) parse errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 2f84a5b2b118c093e7da825e72cbb3d62a389f97
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Sep 9 15:47:17 2026 -0700

    TK-11333: short launcher scripts for migration (avoid !-paste line-wrap breakage)
    
    run-migration.sh / tail-migration.sh / undo-migration.sh — short paste targets so
    the long compound command can't wrap and hit (eval) parse errors.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 run-migration.sh  | 5 +++++
 tail-migration.sh | 2 ++
 undo-migration.sh | 3 +++
 3 files changed, 10 insertions(+)

diff --git a/run-migration.sh b/run-migration.sh
new file mode 100644
index 0000000..ecc6d37
--- /dev/null
+++ b/run-migration.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# TK-11333 samples-only migration launcher (short paste target so nothing wraps/breaks).
+cd ~/Projects/shopify-sample-shipping || exit 1
+nohup node migrate-samples.mjs --apply > verification/migrate.log 2>&1 &
+echo "migration started (pid $!) — progress: bash ~/Projects/shopify-sample-shipping/tail-migration.sh"
diff --git a/tail-migration.sh b/tail-migration.sh
new file mode 100644
index 0000000..94e0b9b
--- /dev/null
+++ b/tail-migration.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+tail -30 ~/Projects/shopify-sample-shipping/verification/migrate.log
diff --git a/undo-migration.sh b/undo-migration.sh
new file mode 100644
index 0000000..9dab64f
--- /dev/null
+++ b/undo-migration.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+cd ~/Projects/shopify-sample-shipping || exit 1
+node migration-rollback.mjs

← 0612150 TK-11333: stage full samples-only migration (96,321 variants  ·  back to Shopify Sample Shipping  ·  TK-11333: read-only feasibility + full-customer grandfather 03b276d →