From 8971565e6e9c3df7d96437ef3fb9feea012ad714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=BE=D0=B1?= =?UTF-8?q?=D1=8B=D1=80=D0=B5=D0=B2?= Date: Sun, 31 May 2026 02:48:35 +0300 Subject: [PATCH] fix: add server/api.py to managed_files (phobos-update now deploys agent) The secondary agent api.py was not included in the update manifest, so phobos-update left stale api.py on the server after channel switches. Adding it ensures bandwidth-aware /api/health reaches secondaries on update. Co-Authored-By: Claude Opus 4.8 --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index eefe609..a289a35 100755 --- a/update.sh +++ b/update.sh @@ -54,6 +54,7 @@ $PHOBOS_DIR/repo/client/templates/phobos-pull.sh|overlay/phobos-pull.sh $PHOBOS_DIR/server/phobos-health.sh|server/phobos-health.sh $PHOBOS_DIR/server/phobos-pull.sh|server/phobos-pull.sh $PHOBOS_DIR/server/phobos-router-watchdog.py|server/phobos-router-watchdog.py +$PHOBOS_DIR/server/api.py|server/api.py $PHOBOS_DIR/server/update.sh|update.sh LIST }