fix(miner): drop stale ProcessEnv casts on resolveReplaySnapshotDbPath - #8755
fix(miner): drop stale ProcessEnv casts on resolveReplaySnapshotDbPath#8755philluiz2323 wants to merge 1 commit into
Conversation
The resolver already types env as Record<string, string | undefined>; remove the outdated not-yet-migrated comments and casts at both migrate-cli and status call sites. Closes JSONbored#8642
|
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 #8755 +/- ##
==========================================
- Coverage 93.80% 90.63% -3.17%
==========================================
Files 797 98 -699
Lines 79493 22700 -56793
Branches 24085 3962 -20123
==========================================
- Hits 74567 20575 -53992
+ Misses 3555 1945 -1610
+ Partials 1371 180 -1191
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-26 03:22:59 UTC
Review summary Nits — 4 non-blocking
CI checks failing
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.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-code)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
not yet migratedcomments andNodeJS.ProcessEnvcasts aroundresolveReplaySnapshotDbPathinmigrate-cli.tsandstatus.ts.Record<string, string | undefined>, matching sibling store resolvers.Closes #8642
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 --checknpx tsc -p packages/loopover-miner/tsconfig.json --noEmit(exit 0 after cast removal)npm run actionlint— not applicablenpm run typecheck— covered by focused minertscabovenpm run test:coverage— not required (type/comment-only; no new runtime branch per issue)npm 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:
tscpassing with casts removed.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 type/comment cleanup only.
Notes