feat(engine): add hasPlanReadySteps plan DAG helper#3578
Conversation
Closes JSONbored#2298 Mirrors nextReadySteps length check for runnable pending steps. 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 17:41:50 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 #3578 +/- ##
=======================================
Coverage 93.15% 93.15%
=======================================
Files 311 312 +1
Lines 31702 31707 +5
Branches 11579 11579
=======================================
+ Hits 29533 29538 +5
Misses 1517 1517
Partials 652 652
🚀 New features to boost your workflow:
|
Summary
hasPlanReadySteps(plan)— returns true when any step is runnable (pendingwith satisfied dependencies)nextReadySteps(plan).length > 0Closes #2298
Test plan
npx vitest run test/unit/plan-ready.test.ts --coverage(100% patch via diff-cover)npm run build --workspace @jsonbored/gittensory-engine && npm run build:minerMade with Cursor