• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25705211206 / 21
83%
dev: 83%

Build:
DEFAULT BRANCH: dev
Ran 12 May 2026 12:21AM UTC
Files 106
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 May 2026 12:18AM UTC coverage: 31.38% (-0.1%) from 31.513%
25705211206.21

push

github

web-flow
fix: enforce task dependencies on late dep addition and auto-unblock on completion (#1865)

* fix: enforce task dependencies on late dep addition and auto-unblock on completion

Two gaps allowed tasks to bypass dependency enforcement:

1. updateTask could add dependsOn to an in_progress task without re-checking.
   Now re-checks areDependenciesMet and blocks the task with
   blockReason='dependency_added' if deps are unmet.

2. Completing a task did not reactivate dependents blocked by
   'dependency_failed'. Now unblockDependentTasks() finds and re-evaluates
   blocked dependents, transitioning them to 'open' when all deps are met.

* fix: address review feedback for task dependency enforcement

- P0: Move unblockDependentTasks into setTaskStatus so all done paths
  trigger the cascade (not just updateTaskAndEmit, which is never called
  with status='done'). Remove dead code from space-runtime.ts.
- P1: Add dependency_added to TaskBlockedBanner REASON_CONFIG.
- Extend updateTask dep re-check to reopen blocked tasks whose deps are
  now satisfied after editing dependsOn.
- Auto-block cascade: call blockDependentTasks after updateTask blocks
  a task, so transitive dependents are also blocked.
- Add tests verifying cascade fires through setTaskStatus('done') path.

* fix: emit events for cascaded dependency state changes

Wire onCascadedTasks callback in all callers so that cascaded
dependency blocks and unblocks propagate task-updated events to
the UI. Also adds the callback to updateTask for late-dep-addition
auto-block cascades, and handles the post-approval-router no-route
bypass that writes done directly to taskRepo.

* fix: use correct task.id in cascade emits, wire callback in RPC handler

emitTaskUpdated in task-agent-tools and end-node-handlers used the
closure-scoped taskId instead of task.id from the parameter, causing
all cascaded dependency events to carry the parent task's ID.
Fixed to use task.id. Also wired onCascadedTasks in the
spaceT... (continued)

8505 of 27103 relevant lines covered (31.38%)

15.87 hits per line

Source Files on job daemon-5-space-workflow - 25705211206.21
  • Tree
  • List 106
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25705211206
  • f3d51c7a on github
  • Prev Job for on dev (#25704223114.11)
  • Next Job for on dev (#25706602115.27)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc