Skip to content

fix(kanban): defer scratch cleanup until children finish#29738

Closed
crayfish-ai wants to merge 1 commit into
NousResearch:mainfrom
crayfish-ai:pr/kanban-defer-scratch-gc
Closed

fix(kanban): defer scratch cleanup until children finish#29738
crayfish-ai wants to merge 1 commit into
NousResearch:mainfrom
crayfish-ai:pr/kanban-defer-scratch-gc

Conversation

@crayfish-ai

Copy link
Copy Markdown
Contributor

Summary

  • skip scratch workspace cleanup when a done parent still has active children
  • retry parent cleanup when the last child finishes so deferred scratch dirs are eventually removed
  • add regression tests for both the deferred and eventual cleanup paths

Testing

  • source .venv/bin/activate && pytest tests/hermes_cli/test_kanban_db.py tests/hermes_cli/test_kanban_scratch_gc.py -x -q -k not\ resolve_hermes_argv

@alt-glitch alt-glitch added type/bug Something isn't working comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants