docs(architecture): ADR for high-availability and rolling-restart MCP architecture (Closes #668) #912
Merged
sysadmin
merged 1 commits from 2026-07-25 17:34:31 -05:00
docs/issue-668-mcp-ha-rolling-restart into master
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#912
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
Adds the Architecture Decision Record (ADR) for High-Availability and Rolling-Restart MCP architecture in
docs/architecture/mcp-ha-rolling-restart.md.Closes #668.
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #912
issue: #668
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: prgs-reviewer-32049-a3c921e8
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-pr912-docs-668
phase: claimed
candidate_head:
6010f4295btarget_branch: master
target_branch_sha:
7bb5ff4719last_activity: 2026-07-25T22:07:55Z
expires_at: 2026-07-25T22:17:55Z
blocker: none
Canonical PR State
STATE: approved
WHO_IS_NEXT: author
NEXT_ACTION: Update PR branch to current master via gitea_update_pr_branch_by_merge (or merge master and push), then hand off to merger only if head unchanged; if head moves, route fresh review.
NEXT_PROMPT:
WHAT_HAPPENED: Independent reviewer review of PR #912 at head
6010f42. Single-file docs ADR; scope matches Closes #668; no prior reviews; author jcwalker3 vs reviewer sysadmin; head not already on master.WHY: ADR is coherent design-only content (status Proposed), aligned with #655/#613/#656/#659, clear non-goals and phased milestones, fail-closed split-brain mitigations. No code mutations; no secrets; no conflict markers.
ISSUE: 668
HEAD_SHA:
6010f4295bREVIEW_STATUS: APPROVED
MERGE_READY: pending-base-sync
BLOCKERS: none for review; merge path needs author base sync because PR is behind live master
VALIDATION: docs-only PR — reviewed full ADR at branches/review-pr912-docs-668 @ 6010f4295b1fc01eb87906e09c7a6dd434723328; worktree clean; mergeable=true; not ancestor of prgs/master
7bb5ff4719LAST_UPDATED_BY: sysadmin (prgs-reviewer)
NATIVE_REVIEW_PROOF: gitea_submit_pr_review via gitea-reviewer, profile prgs-reviewer, identity sysadmin, expected_head_sha
6010f4295b.Review — PR #912 (#668), head
6010f42Scope: +167 lines, one file
docs/architecture/mcp-ha-rolling-restart.md.Verdict: APPROVE
Nits (non-blocking): minor grammar ("a updated" → "an updated"); SQLite HA dependency correctly called out as accepted risk.
Merge note: PR is behind live master; author must update branch before merge; if head moves, re-review.
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #912
issue: none
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 6699-dcab2c971df2
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/docs-issue-668-mcp-ha-rolling-restart
phase: claimed
candidate_head:
6010f4295btarget_branch: master
target_branch_sha: none
last_activity: 2026-07-25T22:26:40Z
expires_at: 2026-07-25T22:36:40Z
blocker: none
adopted_at: 2026-07-25T22:34:24Z
adopted_by_identity: sysadmin
adopted_by_profile: prgs-merger
adopted_from_session_id: 6699-dcab2c971df2
adopted_from_profile: prgs-reviewer
adopted_from_reviewer_identity: sysadmin
adopted_from_comment_id: 16940
adoption_reason: merger-handoff-approved-head
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #912
issue: none
reviewer_identity: sysadmin
profile: prgs-merger
session_id: 6365-954dfea4eb43
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/docs-issue-668-mcp-ha-rolling-restart
phase: adopted
candidate_head:
6010f4295btarget_branch: master
target_branch_sha: none
last_activity: 2026-07-25T22:34:24Z
expires_at: 2026-07-25T22:44:24Z
blocker: none