fix(mcp): detect and reject manually launched duplicate MCP role servers (Closes #686)

This commit is contained in:
2026-07-25 19:25:23 -04:00
parent 2b4e43042a
commit dfe8d7c28d
9 changed files with 345 additions and 14 deletions
+2
View File
@@ -44,6 +44,8 @@ def _reset_mutation_authority(monkeypatch):
]:
monkeypatch.delenv(env_key, raising=False)
monkeypatch.setenv("GITEA_CLIENT_MANAGED", "1")
# Isolate durable session-state files so tests never share host cache (#559).
import tempfile