Repository navigation
Fix Linux X11 mouse capture and export complete desktop diagnostics - #1484
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| let mut sources: Vec<_> = SOURCES | ||
| .iter() | ||
| .map(|(name, area, archived)| Source::open(&directory.join(name), area, *archived)) | ||
| .collect::<io::Result<_>>()?; |
There was a problem hiding this comment.
An unreadable ancillary log aborts the entire diagnostics export
Medium Severity
If an existing ancillary file such as qt-native.log.previous is unreadable—for example, a retained file owned by root with mode 0600—Source::open returns PermissionDenied and this collection aborts MasterLog::refresh. export_with_runtime propagates that error, so users cannot export otherwise readable logs or the runtime snapshot; bug_report.submit also rejects reports with diagnostics enabled. Previously, unreadable sources were skipped and export continued. Preserve best-effort collection, recording unavailable sources in the report rather than failing the entire export.
Changes
Verification
This change is intended for OpenNOW 1.0.7 RC 2.