-
Make AddRoute idempotent (upsert instead of reject duplicates)
released this
2026-03-27 21:01:45 +00:00 | 3 commits to master since this releaseAddRoute now updates an existing route if one already exists for the
same (listener, hostname) pair, instead of returning AlreadyExists.
This makes repeated deploys idempotent — the MCP agent can register
routes on every deploy without needing to remove them first.- DB: INSERT ... ON CONFLICT DO UPDATE (SQLite upsert)
- In-memory: overwrite existing route unconditionally
- gRPC: error code changed from AlreadyExists to Internal (for real DB errors)
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Downloads