發布 ThermoTray 1.1.6 - #5
Merged
Merged
Conversation
修正 GPU 感測器警告訊息。原本只要任一張 GPU 缺少溫度就顯示警告, 雙 GPU 筆電的內顯通常永遠沒有溫度感測器,因此即使獨顯回報了可信的 溫度,狀態列仍會常駐一則使用者無法處理、也沒指出對象的警告。 新的 ListGpusMissingReading 只在每一張 GPU 都缺少該讀值時才回報, 並以卡片相同的 GPU 0 / GPU 1 序號標明對象。使用率沿用同一條規則。 缺少讀值的 GPU 卡片仍照常顯示「無法取得」,那才是逐一裝置細節該在的位置。 新增 5 項回歸測試,本機總數 146 項。 Co-Authored-By: Claude Opus 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 感測器警告訊息
1.1.5 實機驗證時發現:
GetAvailabilityMessage只要任一張 GPU 缺少溫度就顯示警告。雙 GPU 筆電的內顯通常永遠沒有溫度感測器,所以即使獨顯回報了可信的 44 °C,狀態列仍常駐「GPU 溫度感測器未提供可信的即時讀值。」—— 使用者無法處理,訊息也沒指出是哪一張。新的
MainViewModel.ListGpusMissingReading:GPU 0/GPU 1序號標明對象GpuSensorUnavailable與GpuUsageUnavailable改為{0}格式字串,並新增ListSeparator(繁中、/英文,)。行為對照(Ryzen 內顯 + RTX 3060)
驗證(win-x64 / Release)
dotnet build— 0 警告、0 錯誤dotnet test— 146/146 通過(新增 5 項回歸測試)dotnet format --verify-no-changes— 無差異🤖 Generated with Claude Code