From 75ed6abc6258f09af5d4fc995a5004c1abf14fc2 Mon Sep 17 00:00:00 2001 From: akbash Date: Mon, 13 Jul 2026 17:25:52 +0300 Subject: fix: reap detached custom command children (#1384) * fix: reap detached custom command children refs #1360 * test: harden child cleanup and sidebar metrics refs #1360 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> --- src/ui/sidebar.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui') diff --git a/src/ui/sidebar.rs b/src/ui/sidebar.rs index 18d13b26..cedae025 100644 --- a/src/ui/sidebar.rs +++ b/src/ui/sidebar.rs @@ -2067,6 +2067,9 @@ mod tests { workspace_with_worktree_space("issue", Some("repo-key"), "/repo/herdr-issue"), Workspace::test_new("notes"), ]; + for workspace in &mut app.workspaces { + workspace.cached_git_branch = Some("main".into()); + } app.collapsed_space_keys.insert("repo-key".into()); app.active = None; app.mode = Mode::Terminal; -- cgit v1.2.3