Skip to content

fix(health): flag missing registered worktrees · Closes #445 - #446

Merged
erishforG merged 1 commit into
developfrom
fix/auto-445-health-missing-worktree
Sep 18, 2026
Merged

erishforG merged 1 commit into
developfrom
fix/auto-445-health-missing-worktree

Conversation

@erishforG

Copy link
Copy Markdown
Owner

무엇

registry에 남아 있지만 디렉터리가 사라진 worktree를 parsec health에서 명시적으로 unhealthy로 표시합니다.

왜

운영 진단에서 실제 경로와 git worktree 항목이 없는 207/279가 all_healthy: true로 보고되는 false negative를 발견했습니다. Closes #445.

변경

  • health record에 missing 진단 필드 추가
  • JSON의 all_healthy 계산에 missing 상태 반영
  • human 출력에 worktree missing 오류 표시
  • 외부 삭제를 재현하는 CLI 회귀 테스트 추가

다음 Phase 힌트

registry 자동 정리는 별도 명시적 명령/정책으로 검토하며 이 PR에서는 상태를 변경하지 않습니다.

리스크

낮음. read-only health 진단과 출력에만 영향을 주며 lifecycle 및 git 연산은 변경하지 않습니다. JSON에는 additive field만 추가합니다.

롤백

이 커밋을 revert하면 기존 health 출력으로 복원됩니다.

Test plan

  • cargo build --quiet
  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --quiet (246 tests)
  • 실제 stale registry에서 all_healthy: false, missing: true 확인

@erishforG

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@erishforG erishforG added the auto-improvement Daily auto-generated improvement PR/issue label Sep 18, 2026
@erishforG
erishforG merged commit 375d2e5 into develop Sep 18, 2026
12 checks passed
@erishforG
erishforG deleted the fix/auto-445-health-missing-worktree branch September 18, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-improvement Daily auto-generated improvement PR/issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant