feat(miner): honor kill-switch mid-attempt during iterate-loop - #5799
Conversation
…ored#5670) Probe shouldAbort before each driver iteration and re-resolve kill after handoff so a tripped switch stops the rented loop without opening a PR, and halt the outer loop immediately with a released queue claim.
Raise patch coverage for JSONbored#5670 abandon/claim-release paths and satisfy validate-code typecheck on the loop-cli spy.
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-14 19:57:52 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Flagged checks (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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5799 +/- ##
==========================================
+ Coverage 95.10% 95.12% +0.01%
==========================================
Files 584 584
Lines 46440 46487 +47
Branches 14849 14856 +7
==========================================
+ Hits 44169 44219 +50
+ Misses 1515 1512 -3
Partials 756 756
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Summary
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.Closes #5670
Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.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:
npm run test:cireachedcf-typegen:check, but localwrangler typesfailed withwrite EPIPEbefore the miner-specific checks completed. I still rannpm run typecheckplusnpx vitest run packages/loopover-engine/test/iterate-loop.test.ts test/unit/miner-attempt-cli.test.ts test/unit/miner-attempt-runner.test.ts test/unit/miner-loop-cli.test.tssuccessfully for this diff.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
Non-UI change.
Notes
#5670is open and unassigned, and there was no open PR already targeting it at creation time.