You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
브랜치 이름을 다시 쓰는 작업에서도, 사이드바와 Overview에 그 워크트리의 PR만 보이길 원한다.
What hide does today
core는 pull_request.head_branch == checkout.branch인 첫 PR을 체크아웃에 붙인다(herdr-core/src/runtime/projects.rs).
PR의 상태와 head 커밋은 보지 않는다.
그래서 머지된 브랜치 이름을 새 작업에 다시 쓰면, 옛 머지 PR이 새 워크트리에 붙을 수 있다.
이 저장소에서 실제로 잘못 붙은 사례는 확인하지 않았고, 코드를 읽어 확인한 위험이다.
정리 시트의 머지 증명은 이미 "merged pull request exactly matches this worktree HEAD"를 요구하므로(herdr-core/src/worktree_cleanup.rs), 이 규칙이 빠진 곳은 사이드바와 Overview의 연결이다.
같은 계열 도구가 같은 버그를 고쳤다.
Conductor 0.76.0: "Fixed a new workspace sometimes showing an unrelated merged pull request because its branch name had been used before".
Activity
Connect a merged or closed pull request to a worktree only at its commit