huskies: merge 876

This commit is contained in:
dave
2026-04-29 21:14:27 +00:00
parent 56244e8e35
commit db526bbdb2
6 changed files with 65 additions and 63 deletions
+5 -4
View File
@@ -99,10 +99,11 @@ pub async fn run(
&& let Some(root) = crdt_prune_root.as_ref().cloned()
{
let story_id = evt.story_id.clone();
tokio::task::spawn_blocking(move || {
if let Err(e) = crate::worktree::prune_worktree_sync(&root, &story_id) {
slog!("[agent-mode] worktree prune failed for {story_id}: {e}");
}
tokio::spawn(async move {
let config = ProjectConfig::load(&root).unwrap_or_default();
crate::worktree::remove_worktree_by_story_id(&root, &story_id, &config)
.await
.ok();
});
}
let (action, commit_msg) =