-
Notifications
You must be signed in to change notification settings - Fork 926
Add concrete FlightRecorderDiskSource #6281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| ) : BaseDiskSource(sharedPreferences = sharedPreferences), | ||
| SettingsDiskSource { | ||
| SettingsDiskSource, | ||
| FlightRecorderDiskSource by flightRecorderDiskSource { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a little torn with this.
On one hand, this centralizes a decent bit of logic but it is a nit cumbersome in the these places.
|
Claude finished @david-livefront's task in 2m 48s —— View job Code Review CompleteI've reviewed the PR changes. Here are my findings: ❌ Critical Issue - Test Data Invalid JSONFile: Missing comma after "id": "51" // ← Missing comma here
"fileName": "flight_recorder_2025-04-03_14-22-40",Should be: "id": "51",
"fileName": "flight_recorder_2025-04-03_14-22-40",Same issue appears around line 63. ✅ Architecture ReviewStrengths:
Module Organization:
Implementation Quality:
Regarding the "cumbersomeness" concern:
📝 Recommendations
Overall: Well-executed refactoring following Bitwarden architectural patterns. Only blocking issue is the test data JSON syntax. |
ca4f944 to
48d8493
Compare
48d8493 to
705cbff
Compare
|
Great job! No new security vulnerabilities introduced in this pull request |
494d2e1 to
d0a1aca
Compare
d0a1aca to
2394949
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6281 +/- ##
==========================================
+ Coverage 84.93% 85.51% +0.57%
==========================================
Files 876 763 -113
Lines 56942 54599 -2343
Branches 7900 7855 -45
==========================================
- Hits 48366 46688 -1678
+ Misses 5833 5183 -650
+ Partials 2743 2728 -15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

🎟️ Tracking
PM-29912
📔 Objective
This PR Moves as much logic as possible into a central location and exposes it via the app-specific
SettingsRepositorys.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes