open-swe/deploy/seahaven
Adam Moussa f2633f9bd0
Some checks are pending
Build & publish app artifacts / Publish + deploy (dev) (push) Waiting to run
Build & publish app artifacts / Publish + deploy (prod) (push) Waiting to run
Infra CD / Infra CI (pre-deploy) (push) Waiting to run
Infra CD / Deploy open-swe-dev (push) Blocked by required conditions
Infra CD / Deploy open-swe-prod (push) Blocked by required conditions
fix: don't crash-loop the box when no user mapping is configured (#25)
seed_store.sh (ExecStartPost) exited 1 when it couldn't resolve a user_mappings
entry, which — with Type=simple — fails the whole unit and crash-loops the box. This
contradicts the script's own OSWE-SEED-03 precedent (the server-not-ready path exits
0 specifically to avoid a restart loop). A missing user mapping is a seeding gap, not
an unhealthy server: the @openswe trigger just won't resolve a commenter, which a
deployment-validation env (dev) does not need.

Make it non-fatal — warn and skip the user_mappings seed; team_settings is still
seeded and the service starts. The empty MAPPINGS array makes the seed loop a no-op.
Set SEED_USER_MAPPINGS / CONFIGURED_ADMINS / OPENSWE_OWNER_LOGIN+EMAIL to seed it.

Verified on the dev box: service active, langgraph bound to 127.0.0.1:2024 (loopback),
/ok 200, /healthz 200.
2026-06-26 20:06:53 -04:00
..
aegra ci: promote dev → prod via fast-forward (not force-push from main) (#2) 2026-06-26 11:20:10 -04:00
nginx feat(deploy): add Sea Haven self-hosted deployment capture 2026-06-25 17:28:34 -04:00
systemd feat(deploy): add Sea Haven self-hosted deployment capture 2026-06-25 17:28:34 -04:00
DEPLOYMENT.md feat(deploy): AWS-sourced fetch-config + seed_store + rotation docs (PR#7) (#8) 2026-06-26 15:06:41 -04:00
fetch-config.sh fix: paginate batch-get-secret-value in fetch-config (secrets dropped past page 1) (#24) 2026-06-26 19:55:01 -04:00
put-config.sh feat: Secrets Manager + SSM config store for open-swe (T11) (#10) 2026-06-26 16:07:23 -04:00
ROTATION.md feat(deploy): AWS-sourced fetch-config + seed_store + rotation docs (PR#7) (#8) 2026-06-26 15:06:41 -04:00
seed_store.sh fix: don't crash-loop the box when no user mapping is configured (#25) 2026-06-26 20:06:53 -04:00