Repository navigation
fix(health): flag missing registered worktrees · Closes #445 - #446
Merged
Merged
Conversation
Co-Authored-By: OpenAI Codex <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇
registry에 남아 있지만 디렉터리가 사라진 worktree를
parsec health에서 명시적으로 unhealthy로 표시합니다.왜
운영 진단에서 실제 경로와
git worktree항목이 없는 207/279가all_healthy: true로 보고되는 false negative를 발견했습니다. Closes #445.변경
missing진단 필드 추가all_healthy계산에 missing 상태 반영worktree missing오류 표시다음 Phase 힌트
registry 자동 정리는 별도 명시적 명령/정책으로 검토하며 이 PR에서는 상태를 변경하지 않습니다.
리스크
낮음. read-only health 진단과 출력에만 영향을 주며 lifecycle 및 git 연산은 변경하지 않습니다. JSON에는 additive field만 추가합니다.
롤백
이 커밋을 revert하면 기존 health 출력으로 복원됩니다.
Test plan
cargo build --quietcargo fmt --checkcargo clippy --all-targets -- -D warningscargo test --quiet(246 tests)all_healthy: false,missing: true확인@erishforG