Upload diagnostic error logs to community portal
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the OS helper methods in UtilOs, UtilsWinOs, and UtilsMacOs, the smartctl handling, and the existing Portal upload flow; the issue also points to jdm-core/docs/design.md for the design update. Trace how detection errors are currently logged and how upload and privacy preferences are applied. Done means users can review and consent to a scrubbed diagnostic payload before uploading it, with a manual menu action and diagnostics linked to a benchmark ID when available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
When the client hits an error while detecting drive or system info, users should be able to upload a diagnostic error log to the community portal, so we can study and fix platform-specific failures. #271 is an example: Get-Partition : Invalid property on Windows 11 Insider build 27982 got recorded as the drive interface, and we had no logs to investigate with.
Motivation
- Errors from Insider builds, unusual drivers, or uncommon hardware are hard to reproduce locally.
- Today these errors either silently corrupt benchmark fields (as in #271) or only show up in the local log, which we never see.
- An opt-in upload gives us real-world failure data without asking users to file GitHub issues.
Proposed behaviour
- Collect detection errors in a diagnostic buffer as they happen. This covers PowerShell /
lsblk/diskutil/smartctlfailures: the command, exit code, stderr, and the exception stack trace. - When errors were captured, show a non-intrusive indicator, e.g. a status bar icon or a notice after the benchmark.
- Opt-in only: before anything is sent, show the user exactly what will be uploaded in a preview dialog. Never upload automatically.
- Upload to the portal along with the benchmark (or on its own), linked by benchmark ID when one exists.
- Add a menu action (e.g. Help → Send Diagnostic Log…) for uploading manually.
TODO
Client (jdm-java)
- Define a diagnostic event model: timestamp, component, command, exit code, stderr, stack trace, OS / build / JDK / client version
- Capture errors from the OS helper methods (
UtilOs,UtilsWinOs,UtilsMacOs, smartctl) into the diagnostic buffer instead of just logging them - Indicate in the UI when diagnostics were captured
- Preview and consent dialog showing the full payload before upload
- Scrub personal data: usernames in paths, hostnames, serial numbers if they aren't needed
- Upload through
Portal, tying it to the benchmark ID when there is one - Help → Send Diagnostic Log… menu action
- Respect the existing upload / privacy preferences
- Update
jdm-core/docs/design.mdwith the diagnostics flow
Portal (jdm-web)
- Tracked in JDiskMark/jdm-web#89
Related
- #271
- Ngôn ngữ chính
- Java
- Star
- 6
- Fork
- 6
- Merge trung bình
- 10 giờ 11 phút
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JDiskMark/jdm-java
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Publish JDiskMark on FlathubĐang mởenhancement linux
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug linux
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của JDiskMark/jdm-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bloxbean/yaci-store#1445 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
图片灯箱过长的话底部carousel滑动没有惯性Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Spare PermissionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Etar-Group/Etar-Calendar#2234 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesCó thể đã có người làm @CryoThrust đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
langchain4j/langchain4j#7320 ·
Maintainer thường phản hồi trong vòng 1 ngày