mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
fix(kanban): promote dependents when a parent is archived
This commit is contained in:
parent
326c15d955
commit
b7ea62e5d3
2 changed files with 27 additions and 1 deletions
|
|
@ -3025,7 +3025,11 @@ def archive_task(conn: sqlite3.Connection, task_id: str) -> bool:
|
|||
summary="task archived with run still active",
|
||||
)
|
||||
_append_event(conn, task_id, "archived", None, run_id=run_id)
|
||||
return True
|
||||
# ``archived`` parents no longer block children, same as ``done``.
|
||||
# Promote newly-unblocked dependents immediately instead of waiting
|
||||
# for a later dispatcher tick.
|
||||
recompute_ready(conn)
|
||||
return True
|
||||
|
||||
|
||||
def delete_archived_task(conn: sqlite3.Connection, task_id: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue