Make it easier to teardown worktree container resources
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
描述
We use worktrees for every session that spin up a pile of container resources and it would be great to automate their teardown in a way that be compatible with other agentic platforms too. I've tried to do this with skills but results have been patchy!
Manual clean up is difficult when the worktree names are randomised and the "path" copy facility is truncated and within a menu. Because all I can see is the first part of the path, I can't see the session's worktree name to manually tear it down in my container controller.
It would be great if these names were meaningful (eg reflected the session name) to make identifying them in the container program easier. With lots of open worktrees, it's hard to know which is which:
Even better if the Copilot app was container-aware, offering to take down worktree resources once the PR is merged. Again, I've tried to automate this with skills but overall getting the app to perform an action after a PR merge seems difficult / unreliable.
(Love the product and in awe of your innovation speed!)
---
| Field | Value |
| --- | --- |
| App version | 1.1.10 |
| OS | macOS 26.6.1 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 12 |
贡献指南
调研方向
该 issue 未指定任何文件、测试或入口点。先定位 worktree 生命周期和 app 对 PR-merge 的处理方式,然后确定在受支持的 agentic 平台之间如何识别和管理容器资源。完成标准应包括:为 worktree 使用有意义的名称的明确方案,以及 PR merge 后可靠 teardown 资源的方法。
由索引模型根据 Issue 内容生成。
评估
- 领域
- desktop, devops
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100