fix(miner): include laptop-state in doctor integrity and migrate store lists#8749
Conversation
…e lists Add laptop-state.sqlite3 to doctor's deep store-integrity sweep and migrate's STORES list, extract openLaptopStateStore for the migrate adapter, and correct DEPLOYMENT.md override/integrity claims. Closes JSONbored#8641
|
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 #8749 +/- ##
==========================================
- Coverage 93.80% 90.67% -3.14%
==========================================
Files 797 99 -698
Lines 79491 22842 -56649
Branches 24085 4012 -20073
==========================================
- Hits 74565 20711 -53854
+ Misses 3555 1946 -1609
+ Partials 1371 185 -1186
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-26 02:41:09 UTC
Review summary Nits — 4 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver 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://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
laptop-stateto doctor'sstoreIntegrityChecksand migrate'sSTORESso the eighteenth durable store gets the same deepPRAGMA integrity_checkand proactive schema migration as the other seventeen.openLaptopStateStore(dbPath)for migrate's open adapter (initLaptopStatenow reuses it).DEPLOYMENT.md:LOOPOVER_MINER_LAPTOP_STATE_DBoverride is real, andstore-integrity:laptop-stateis part of the deep integrity sweep.Closes #8641
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlint— not applicable (no workflow changes)npm run typecheck— skipped locally (Windows path; changes match existing TypeScript patterns)npx vitest run test/unit/miner-migrate-cli.test.ts test/unit/miner-status.test.ts -t "eighteen|#8641|laptop-state|corrupted store|healthy setup"(5 passed)npm run test:coverage— full suite left to CI; patch coverage aimed at 100% via healthy + corrupted integrity branches and migrate needs-migration pathnpm run test:workers— not applicablenpm run build:mcp— not applicablenpm run test:mcp-pack— not applicablenpm run ui:openapi:check— not applicablenpm run ui:lint— not applicablenpm run ui:typecheck— not applicablenpm run ui:build— not applicablenpm audit --audit-level=moderate— not applicableIf any required check was skipped, explain why:
laptop-state.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Not applicable — miner CLI / docs only; no visible UI changes.
Notes