fix(miner): delegate three resolve*DbPath helpers to resolveLocalStoreDbPath (#8336)#8524
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
df24dfe to
0e2b72d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8524 +/- ##
==========================================
- Coverage 92.53% 92.53% -0.01%
==========================================
Files 793 793
Lines 79561 79551 -10
Branches 24043 24033 -10
==========================================
- Hits 73625 73612 -13
- Misses 4799 4800 +1
- Partials 1137 1139 +2
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-24 18:52:15 UTC
Review summary Nits — 5 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
resolveOrbExportDbPath,resolveDenyHookSynthesisDbPath, andresolveLaptopStateDbPathtoresolveLocalStoreDbPath(same one-line pattern asresolvePredictionLedgerDbPath).LOOPOVER_MINER_LAPTOP_STATE_DBas the laptop store's explicit override (paths unchanged when unset). Leave privateresolveMinerStateDirfor non-SQLite callers.""to(none)for the two pure refactors; new laptop row).packages/loopover-engine/README.mdso CI setsengine=trueand runs the unscoped suite — fresh PR after fix(miner): delegate three resolve*DbPath helpers to resolveLocalStoreDbPath (#8336) #8496, where scoped--changeduploaded emptycodecov/patch(0%) for these miner lib lines even though the matching unit tests passed.Closes #8336
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 actionlintnpm run typechecknpm run test:coveragelocally on the changed miner path helpers (resolve lines hit in lcov)npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
return resolveLocalStoreDbPath(...)lines, npm audit. Engine README note forces unscoped validate-tests so Codecov sees those hits. Remaining UI/pack steps unchanged in substance beyond generated AMS env-reference sync.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
N/A — generated AMS env-reference sync only; no visible UI change.
Notes
LOOPOVER_MINER_LAPTOP_STATE_DB; default path resolution unchanged when unset.