fix(review): defer automation while optional ci runs - #2414
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2414 +/- ##
=======================================
Coverage 95.71% 95.71%
=======================================
Files 222 222
Lines 24661 24661
Branches 8949 8949
=======================================
Hits 23605 23605
Misses 433 433
Partials 623 623
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-01 21:03:29 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 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.
|
Motivation
ciState(which can be"passed"), allowing approve/merge actions while optional checks still ran.Description
ciAggregate.hasPendinginto the planner input asciHasPendingso the planner sees whether any visible CI is still unsettled and can act accordingly (src/queue/processors.ts).ciHasPendingto theAgentActionPlanInputtype and update the planner to defer actions whenciHasPending === truein addition tociState === "pending"(src/settings/agent-actions.ts).test/unit/agent-actions.test.ts).src/queue/processors.ts,src/settings/agent-actions.ts,test/unit/agent-actions.test.ts.Testing
npx vitest run test/unit/agent-actions.test.tsand the suite passed.npm run typecheckand the TypeScript check passed.npm run test:coveragelocally, but the full coverage run did not complete in the interactive session; the change includes a focused regression test covering the new branch.Codex Task