mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-26 23:36:31 +00:00
feat: add a panel button to update the manager itself
The manager clones SELF_UPDATE_REPO_URL, builds a new image in the shared build queue and hands over to a short-lived updater container (new image) that swaps the manager container, health-checks it and rolls back on failure. Exposed as GET/POST /api/system behind requireAuth; installation changes answer 409 while an update runs. Session cookie is now SameSite=Lax. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5fb1d6b0b4
commit
4b3c8f213a
23 files changed
+705
-5
No files matched your search
@@ -40,3 +40,6 @@ authenticated requests to it. See `README.md` for the full flow and `docs/` for
|
||||
- Local Node 24 cannot compile `better-sqlite3@11`, so `npm test` fails on the host: run the suite in a
|
||||
`node:20` container (`podman run ... docker.io/library/node:20-slim`, repo copied without `node_modules`).
|
||||
- `.gitea/workflows/ci.yml` only runs if this repo's Gitea instance has Actions enabled with a runner.
|
||||
- Self-update (panel button) needs `SELF_UPDATE_REPO_URL` and only works when the manager runs in a
|
||||
container; the swap is done by a helper container (`system/selfUpdateHelper.ts`), not by the
|
||||
manager itself. Keep the helper standalone (no config/db imports). See `docs/operations.md`.
|
||||
Reference in new issue
Block a user