Skip to content

Make logs less verbose, especially for sliding sync #2825

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

Merged
merged 5 commits into from
May 9, 2024

Conversation

jmartinesp
Copy link
Member

@jmartinesp jmartinesp commented May 9, 2024

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Make sliding sync and timeline logs from the Rust SDK less verbose.

Motivation and context

Some users (i.e. @frebib) were having issues uploading their logs with the new rotation config. It seems like our logs are way more verbose than the iOS ones.

Tested devices

  • Physical
  • Emulator
  • OS version(s): 14

Checklist

Use the same config as iOS for most targets.
@jmartinesp jmartinesp requested a review from a team as a code owner May 9, 2024 10:27
@jmartinesp jmartinesp requested review from bmarty and removed request for a team May 9, 2024 10:27
Copy link
Contributor

github-actions bot commented May 9, 2024

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/SzNSoM

Copy link

codecov bot commented May 9, 2024

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 73.96%. Comparing base (0ed4109) to head (c4efdf8).
Report is 1 commits behind head on develop.

Files Patch % Lines
...ures/rageshake/impl/reporter/DefaultBugReporter.kt 55.55% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2825      +/-   ##
===========================================
- Coverage    73.96%   73.96%   -0.01%     
===========================================
  Files         1530     1530              
  Lines        36549    36555       +6     
  Branches      7075     7076       +1     
===========================================
+ Hits         27034    27037       +3     
- Misses        5810     5811       +1     
- Partials      3705     3707       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jmartinesp added 4 commits May 9, 2024 13:31
…ng the log files

(cherry picked from commit 056664077166fd8e32833a1a3d58deba2324d1ca)
Copy link

sonarqubecloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jmartinesp jmartinesp added the Run-Maestro Starts a Maestro Cloud session to run integration tests label May 9, 2024
@github-actions github-actions bot removed the Run-Maestro Starts a Maestro Cloud session to run integration tests label May 9, 2024
@jmartinesp jmartinesp merged commit 2f19f57 into develop May 9, 2024
18 of 20 checks passed
@jmartinesp jmartinesp deleted the misc/jme/relax-log-rules branch May 9, 2024 14:40
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -96,6 +96,7 @@ class BugReportPresenter @Inject constructor(
if (formState.value.description.length < 10) {
sendingAction.value = AsyncAction.Failure(BugReportFormError.DescriptionTooShort)
} else {
sendingAction.value = AsyncAction.Loading
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants