feat(engine): add isPlanBlocked plan DAG helper - #3551
Conversation
Pure deadlock predicate mirroring planProgress blocked status for miner and dashboard progress summaries. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-05 16:53:43 UTC
🛑 Suggested Action - Fix Blockers Review summary Nits — 6 non-blocking
CI checks failing
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (92.30%) is below the target coverage (99.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3551 +/- ##
==========================================
- Coverage 93.11% 93.11% -0.01%
==========================================
Files 303 304 +1
Lines 31517 31530 +13
Branches 11505 11508 +3
==========================================
+ Hits 29346 29358 +12
Misses 1517 1517
- Partials 654 655 +1
🚀 New features to boost your workflow:
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (codecov/patch)). 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. |
Closes #2298
Summary
isPlanBlockedin@jsonbored/gittensory-engine— returns whether pending steps remain but none are runnable (deadlock), mirroring hostedplanProgress'sblockedstatus.packages/gittensory-engine/README.mdunder Plan DAG status helpers (advances the engine README export-list deliverable in docs(miner-foundation): gittensory-miner and gittensory-engine README + package docs #2298).Conflict avoidance
Touches only
packages/gittensory-engine/src/plan-blocked.ts(new), one export line inindex.ts, one engine README bullet, andtest/unit/plan-blocked.test.ts(new). No overlap with open PRs #3513, #3545–#3549.Test plan
COVERAGE_NO_THRESHOLDS=1 npx vitest run test/unit/plan-blocked.test.ts --coveragenpx diff-cover coverage/lcov.info --compare-branch=main --fail-under=99→ 100%npm run build --workspace @jsonbored/gittensory-engine && npm run build:minerMade with Cursor