* Get blocked task paths (tasks that depend on this task)
(taskPath: string)
| 622 | * Get blocked task paths (tasks that depend on this task) |
| 623 | */ |
| 624 | getBlockedTaskPaths(taskPath: string): string[] { |
| 625 | if (!this.indexesBuilt) { |
| 626 | tasknotesLogger.warn( |
| 627 | "DependencyCache: getBlockedTaskPaths called before indexes built, building now...", |
| 628 | { |
| 629 | category: "stale-data", |
| 630 | operation: |
| 631 | "dependencycache-getblockedtaskpaths-called-indexes-built-building-now", |
| 632 | } |
| 633 | ); |
| 634 | this.buildIndexesSync(); |
| 635 | } |
| 636 | |
| 637 | const blocked = this.activeDependencyTargets.get(taskPath); |
| 638 | return blocked ? Array.from(blocked) : []; |
| 639 | } |
| 640 | |
| 641 | /** |
| 642 | * Check if a task is blocked by dependencies (status-aware) |
nothing calls this directly
no test coverage detected