Repository navigation
fix: 리소스 모니터링에서 GPU 사용률이 80% 이상이면 막대와 수치가 사라지던 문제를 고침 - #225
Merged
Merged
Conversation
- 진행 막대의 status를 error로 주면 끝난 작업으로 보고 막대와 수치를 지운다. 사용률은 색만 바꾸도록 tone을 따로 받는다 - 50~80% 구간의 GPU 개수 표시가 지원하지 않는 색 이름(yellow) 때문에 회색으로 나오던 것을 amber로 고침 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
증상
사용자 화면 리소스 모니터링에서 GPU 사용률이 80% 이상인 서버만 막대와 % 수치가 비어 보인다.
원인
ProgressBar는status가success·error면 작업이 끝난 것으로 보고 막대와 수치 대신resultText를 보여 준다.status="error"를 넘겼다.resultText는 주지 않았으므로 아무것도 표시되지 않았다.수정
ProgressBar에 색만 바꾸는tone(in-progress | success | warning | error)을 추가했다.status의 뜻(작업 종료 여부)은 그대로다.status대신tone을 준다: 80% 이상 error, 50% 이상 warning, 그 아래 success.yellow때문에 회색으로 나오던 것을amber로 고쳤다.status="in-progress"만 써서 영향이 없다.확인
vite preview+ API 모의 응답(0·75·94.3·99%)으로 네 서버 모두 막대와 수치가 표시되는 것을 확인(99·94.3% 빨강, 75% 노랑, 0% 초록)eslint .오류 0,vite build성공🤖 Generated with Claude Code