Skip to content
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

Gate log messages based on remote configuration #490

Merged
merged 6 commits into from
Mar 6, 2024

Conversation

leandro-godon
Copy link
Contributor

Goal

Replicate the message gating functionality currently present in EmbraceLogMessageService.

Testing

Copied unit tests from EmbraceLogMessageServiceTest.

# Conflicts:
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/internal/logs/EmbraceLogService.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/internal/logs/EmbraceLogServiceTest.kt
@leandro-godon leandro-godon requested a review from a team as a code owner March 4, 2024 13:00
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.30%. Comparing base (56458ca) to head (22ff1cf).
Report is 5 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #490      +/-   ##
==========================================
- Coverage   79.38%   79.30%   -0.08%     
==========================================
  Files         387      387              
  Lines       10540    10545       +5     
  Branches     1569     1571       +2     
==========================================
- Hits         8367     8363       -4     
- Misses       1540     1549       +9     
  Partials      633      633              
Files Coverage Δ
...roid/embracesdk/internal/logs/EmbraceLogService.kt 91.89% <100.00%> (+0.58%) ⬆️

... and 4 files with indirect coverage changes

Base automatically changed from leandro/log_max_length to master March 4, 2024 14:31
Copy link
Collaborator

@bidetofevil bidetofevil left a comment

Choose a reason for hiding this comment

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

LGTM - if we can move the gating check to before we submit the job (it that's fast), that would be nice

@leandro-godon leandro-godon merged commit e0b1906 into master Mar 6, 2024
4 checks passed
@leandro-godon leandro-godon deleted the leandro/log_gating branch March 6, 2024 15:05
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.

None yet

2 participants