Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(cloud): apply the bridge-forwarding watcher to the bake stack up (#5878)

teo275992d6a21b
diff --git a/.cursor/install.sh b/.cursor/install.sh
index e9f6ea1e7a..3465ab1f41 100755
--- a/.cursor/install.sh
+++ b/.cursor/install.sh
@@ -67,7 +67,13 @@ echo "cursor-cloud install: local stack binaries ready"
# Bake the init snapshot on stubs. Runtime stack.sh pulls Doppler when
# DOPPLER_TOKEN is present; secrets must not land in the durable snapshot.
-just stack up --infra-only --no-doppler --build-aux-services --binaries-dir "${LOCAL_STACK_BINS}/bin" --json
+# The bridge watcher mirrors stack.sh: compose creates the stack networks
+# mid-`up`, and a bridge born after the iptables pass has no FORWARD accept
+# rules — FusionAuth then cannot reach Postgres and wedges in maintenance
+# mode, failing the strict-200 kickstart wait.
+run_with_bridge_forwarding \
+ just stack up --infra-only --no-doppler --build-aux-services --binaries-dir "${LOCAL_STACK_BINS}/bin" --json
+ensure_docker_bridge_forwarding
cleanup_stack
trap - EXIT