[object Object]

← back to Homesonspec

fix: import-sweep PATH — add postgresql@14+homebrew bin so psql/npx resolve under launchd (silent no-op 7/31–8/2)

84407145dedafafc1cfd9266e0b1c48b6d161493 · 2026-08-02 07:52:16 -0700 · Steve Abrams

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

Files touched

Diff

commit 84407145dedafafc1cfd9266e0b1c48b6d161493
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Aug 2 07:52:16 2026 -0700

    fix: import-sweep PATH — add postgresql@14+homebrew bin so psql/npx resolve under launchd (silent no-op 7/31–8/2)
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 ops/run-all-imports.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ops/run-all-imports.sh b/ops/run-all-imports.sh
index 92853e17..f8614961 100755
--- a/ops/run-all-imports.sh
+++ b/ops/run-all-imports.sh
@@ -16,6 +16,12 @@
 # execute this script. Tail: tail -f ~/Projects/homesonspec/ops/import-sweep.log
 set -uo pipefail
 
+# launchd runs with a minimal PATH (/usr/bin:/bin:/usr/sbin:/sbin) that omits
+# Homebrew — so bare `psql`/`npx` silently fail and KEYS comes back empty,
+# tripping the "no active adapters" no-op below (dead 7/31–8/2 2026). Pin the
+# Homebrew paths so both resolve under launchd. Same fix as lennar-mac-refresh.
+export PATH="/opt/homebrew/opt/postgresql@14/bin:/opt/homebrew/bin:$PATH"
+
 REPO="$HOME/Projects/homesonspec"
 LOG="$REPO/ops/import-sweep.log"
 LOCK="$REPO/ops/.import-sweep.lock"

← 79ed5aa4 fix: lennar-mac-refresh PATH — add /opt/homebrew/bin so npx  ·  back to Homesonspec  ·  feat(web): gated Google AdSense banner slots (top + footer) 49800740 →