Skip to content

fix: 사용량 패널 회복과 부분 측정 표시 - #27

Merged
yessjun merged 5 commits into
mainfrom
fix/metrics-panel-recovery
Aug 10, 2026
Merged

fix: 사용량 패널 회복과 부분 측정 표시#27
yessjun merged 5 commits into
mainfrom
fix/metrics-panel-recovery

Conversation

@yessjun

@yessjun yessjun commented Aug 10, 2026

Copy link
Copy Markdown
Member

📝 작업내용

  • 사용량 패널이 일시적 실패에서 다시 조회하도록 되돌리고, 빈 구간의 이유를 화면이 말하게 함
  • 바이트 축 눈금을 1024 거듭제곱의 온전한 배수로 끊어 205 KiB 같은 라벨을 없앰
  • 오류 경계가 화면 이동 때 복구되고 문구를 받아 쓰도록 함
  • 등록된 노드가 없는 경우와 있는 노드가 모두 오프라인인 경우를 분리
  • 측정 노드 수를 받아 일부 노드에서만 읽은 합계를 전체로 읽히게 두지 않음 (API 명세 v0.37.0 타입 재생성)

⭐️ 검증

  • 테스트 483개에서 497개로 증가, 항목별로 수정을 되돌려 실패를 확인
  • 실패 후 다음 주기에 회복하는 경로를 테스트로 고정
  • 눈금 라벨을 실측 구간 여섯 종으로 단언
  • 린트, 타입 검사, 빌드, 프로덕션 의존성 감사 통과

💬 리뷰 포인트

  • 읽을 수 없는 하이퍼바이저를 차분히 알리면서도 재조회는 유지하는 균형
  • 부분 측정을 노드 수로 밝히는 문구
  • 눈금 단위를 최댓값이 아니라 구간에서 고르는 규칙

A hypervisor read failure is transient by contract, so the panel now backs
off to a 60s poll instead of stopping, and its notices say a retry is under
way. A window whose every sample is null gets one calm line saying so, and a
browser without canvas gets the reason instead of an empty frame.
The unit came from the axis maximum, so a step could be 0.2 of it and the
memory axis read 205 MiB / 410 MiB / 614 MiB. The unit now follows the tick
spacing and binary axes step by powers of two, which stays round across a
1024 boundary. A step that would leave the top quarter of the axis unlabelled
drops one rung.
A failure latched for the lifetime of the mount, so the next VM on the same
route element inherited it. The boundary is now keyed on the path, takes a
fallback so the landing hero can drop its own copy, and wraps the two lazy
routes whose chunk failure would otherwise blank the page.
With an empty live list the offline branch claimed nodes were deliberately
offline and dropped the outage tone, so a platform with no hypervisor read as
a benign 정상 0 / 끊김 0.
Regenerated for contract v0.37.0. A node that answers its status probe
but not its storage probe stays reachable, so summing only the nodes
that answered reported a subset as the platform total. The tiles now
carry the measured-node counts the server sends and say so when they
disagree.
@yessjun
yessjun merged commit 03096ab into main Aug 10, 2026
1 check passed
@yessjun
yessjun deleted the fix/metrics-panel-recovery branch August 10, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant