Skip to content

docs(server): document provider turn startup recovery - #249

Open
patroza wants to merge 1 commit into
fork/devfrom
docs/provider-turn-recovery-runbook
Open

docs(server): document provider turn startup recovery#249
patroza wants to merge 1 commit into
fork/devfrom
docs/provider-turn-recovery-runbook

Conversation

@patroza

@patroza patroza commented Jul 31, 2026

Copy link
Copy Markdown
Owner

What Changed

  • add an operator runbook for diagnosing and recovering stuck provider turns
  • document the global command-worker head-of-line failure mode and startup reconciliation behavior
  • record the 2026-07-31 incident pattern, safe SQLite diagnostics, and normal/emergency systemd recovery
  • define prevention priorities and acceptance tests for timeouts, per-thread isolation, sweeping, and readiness
  • cross-link the runbook from the docs index and composer lifecycle analysis

Why

One wedged provider session start can currently block unrelated turn starts while the process and HTTP listener remain alive. Recovery is reliable only through service restart and startup replay. This documents the present operator path and the product work needed to make recovery automatic.

Downstream Fork Relationship

Base: fork/changes. Affected area: documentation only. No dependency on another open PR. Deployment-specific hostnames, credentials, monitoring, and restart automation remain assigned to the private operations repository.

Verification

  • git diff --check
  • vp check (zero errors; existing repository warnings only)
  • ELECTRON_SKIP_BINARY_DOWNLOAD=1 vp run -r --cache --log labeled typecheck

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • UI screenshots are not applicable
  • Animation/interaction video is not applicable

@patroza
patroza force-pushed the fork/changes branch 23 times, most recently from 2d1f67b to 271c4b2 Compare August 5, 2026 14:38
@omegent-app
omegent-app Bot changed the base branch from fork/changes to fork/dev August 6, 2026 06:42
@omegent-app
omegent-app Bot force-pushed the docs/provider-turn-recovery-runbook branch from bfde6c0 to e6e3429 Compare August 6, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant