docs(miner): operational runbook for local SQLite state (#4875) - #5390
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5390 +/- ##
=======================================
Coverage 94.41% 94.41%
=======================================
Files 551 551
Lines 44168 44168
Branches 14632 14632
=======================================
Hits 41702 41702
Misses 1791 1791
Partials 675 675
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-12 16:24:48 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Closes #4875
Summary
Adds
packages/gittensory-miner/docs/operations-runbook.md— the missing operator runbook for AMS local SQLite state. Covers the three scenarios called out in the issue plus the existingbusy_timeoutconcurrency guarantee that was implemented but never documented for operators.Documentation-only PR.
Changes
packages/gittensory-miner/docs/operations-runbook.mdpackages/gittensory-miner/docs/coding-agent-driver.mdpackages/gittensory-miner/README.mdpackages/gittensory-miner/DEPLOYMENT.mdpackages/gittensory-miner/docs/discovery-plane-operator-guide.mdtest/unit/miner-operations-runbook.test.tsRunbook sections
busy_timeout) — 5000 ms default, what it does and does not guarantee (one loop per state dir)corrupted_*_rowerrors,integrity_check, tiered recovery (single-store reset / restore / re-init)applySchemaMigrations/PRAGMA user_version, backup checklist, fleet rolling upgrade noteTest plan
busy_timeoutcoding-agent-driver.mdlink resolves tooperations-runbook.mdDEPLOYMENT.mdlinks to runbooknpx vitest run test/unit/miner-operations-runbook.test.tsnpm run test:ciNotes
help wanted,gittensor:feature— confirm contributor eligibility before opening.src/**changes — Codecov patch gate N/A.