chore(miner): finish TypeScript migration and add zero-orphan guard - #7412
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7412 +/- ##
==========================================
+ Coverage 91.22% 91.27% +0.04%
==========================================
Files 716 716
Lines 72801 72972 +171
Branches 20885 21526 +641
==========================================
+ Hits 66414 66605 +191
+ Misses 5347 5327 -20
Partials 1040 1040
Flags with carried forward coverage won't be shown. Click here to find out more.
|
f0c63c6 to
47bc837
Compare
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-20 08:06:46 UTC
Review summary Nits — 6 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.
|
Closes #7317
Summary
packages/loopover-miner/libmodules from plain.js+ hand-maintained.d.tsto real.tsunder the existing in-placetscemit pipeline from chore(miner): add a real tsc build pipeline for loopover-miner (#7290) #7299..js/.d.tsorphan can never reappear underbin/orlib/..tssource + tsc-emitted.js/.d.tsis intentional (same pattern as prior batches) — one implementation, published layout unchanged.Change
Converted sources (new
.ts, regenerated.js+.d.ts):attempt-cli,attempt-log,ci-poller,coding-task-speccontribution-profile-extract,contribution-profile-filterdiscover-cli,live-issue-snapshot,logger,loop-cliloop-reentry,oauth-device-flow,policy-doc-cacheportfolio-queue-cli,self-review-context,stack-detectionGuard / docs:
test/unit/miner-typescript-migration-complete.test.ts— everybin//lib/basename must have a sibling.tssource (and matching emitted.js/.d.ts)packages/loopover-miner/tsconfig.json/vitest.config.ts— drop mid-migration wording now that conversion is completeTests
test/unit/miner-typescript-migration-complete.test.ts.tsfilesnpx tsc --noEmitnpm --workspace @loopover/miner run buildScope / Safety
lib/foo.ts→lib/foo.js)