feat(engine): add countPlanSteps#3439
Conversation
Expose a pure plan-DAG step total 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. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 07:15:19 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 3 non-blocking
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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3439 +/- ##
=======================================
Coverage 92.99% 92.99%
=======================================
Files 294 295 +1
Lines 30961 30962 +1
Branches 11290 11290
=======================================
+ Hits 28791 28792 +1
Misses 1514 1514
Partials 656 656
🚀 New features to boost your workflow:
|
Summary
countPlanStepsin@jsonbored/gittensory-engine— returns the total number of steps in a plan DAG.countPlanStepsByStatusfor miner and dashboard progress summaries.Test plan
COVERAGE_NO_THRESHOLDS=1 npx vitest run test/unit/plan-step-count.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