feat(KB-274): complete Step 2 — update executor to treat archived as satisfied dependency
This commit is contained in:
@@ -335,7 +335,7 @@ export class TaskExecutor {
|
|||||||
const allTasks = await this.store.listTasks();
|
const allTasks = await this.store.listTasks();
|
||||||
const unmetDeps = task.dependencies.filter((depId) => {
|
const unmetDeps = task.dependencies.filter((depId) => {
|
||||||
const dep = allTasks.find((t) => t.id === depId);
|
const dep = allTasks.find((t) => t.id === depId);
|
||||||
return dep && dep.column !== "done" && dep.column !== "in-review";
|
return dep && dep.column !== "done" && dep.column !== "in-review" && dep.column !== "archived";
|
||||||
});
|
});
|
||||||
|
|
||||||
if (unmetDeps.length > 0) {
|
if (unmetDeps.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user