From bbc0627f8abedc6ad5ac8db860bb87f4d6df4add Mon Sep 17 00:00:00 2001 From: bchanot Date: Mon, 2 Nov 2026 00:34:03 +0100 Subject: [PATCH] fix(supabase): sheet-assets runner review LOWs (one destination, no anon key at build) --- scripts/sheet-assets-e2e.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/sheet-assets-e2e.sh b/scripts/sheet-assets-e2e.sh index d41a7349..eb898170 100755 --- a/scripts/sheet-assets-e2e.sh +++ b/scripts/sheet-assets-e2e.sh @@ -24,8 +24,8 @@ try: except Exception: sys.exit(1)'; } if [ "${SUPABASE_URL:-}" != "$SANDBOX_URL" ] || ! sandbox_key "$SERVICE" || ! sandbox_key "$ANON"; then - echo "sheet-assets-e2e: refused, nothing was run. Sandbox only: the sandbox gateway URL and sandbox-issued" >&2 - echo "keys, set by pnpm db:sandbox sheet-assets-e2e where that runner exists; it never targets DEV." >&2 + echo "sheet-assets-e2e: refused, nothing was run. Sandbox only: the sandbox gateway URL and keys naming" >&2 + echo "the sandbox issuer, set by pnpm db:sandbox sheet-assets-e2e where that runner exists; it never targets DEV." >&2 exit 2 fi @@ -34,8 +34,8 @@ SEED=supabase/seed/anatomical-sheets/equine/draft BIN=target/release/upload-sheet-assets FAIL=0 -env -u SUPABASE_SERVICE_ROLE_KEY cargo build --release --locked -q -p faunosteo-core --features upload --bin upload-sheet-assets || exit 2 -LOCAL=http://127.0.0.1:57800 +env -u SUPABASE_SERVICE_ROLE_KEY -u SUPABASE_ANON_KEY cargo build --release --locked -q -p faunosteo-core --features upload --bin upload-sheet-assets || exit 2 +LOCAL=$SANDBOX_URL # expect ; output kept to grep, keys never echoed. expect() {