fix(mission_runtime): seed per-mission gateway with shared pairing state
ci / gates (push) Successful in 5s
ci / rust (push) Failing after 10s
ci / frontend (push) Failing after 25s
ci / e2e (push) Skipped
ci / publish (push) Skipped

Fresh mission runtime containers had no ZEROCLAW pairing token so
the topology_worker got 401 Unauthorized on WS connect. Mount the
shared runtimes /root/clawmates-runtime/data as /zeroclaw-data so
the gateway boots pre-paired and accepts the servers ZEROCLAW_TOKEN.

Seed dir overridable via CLAWMATES_RUNTIME_SEED_DIR.

Known caveat: sqlite sessions dir is shared across concurrent
mission runtimes. Fine while topology_worker runs sequentially per
mission; next iteration should copy-on-write per-mission.
This commit is contained in:
Omar Sobh
2026-07-22 01:53:54 -07:00
parent 827b829993
commit c4e7ca8aa4
3 changed files with 33 additions and 20 deletions
@@ -119,7 +119,6 @@ export function MissionCanvas({
const [deleteBusy, setDeleteBusy] = useState(false);
const [runs, setRuns] = useState<MissionRunSummary[]>([]);
const [lastLoadedAt, setLastLoadedAt] = useState<Date | null>(null);
const [refreshClicks, setRefreshClicks] = useState(0);
const load = useCallback(async () => {
if (!selectedId) {