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

Preparatory refactor for making EmbraceImpl an interface #1060

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

fractalwrench
Copy link
Contributor

Goal

Preparatory refactor that will make it easier to create an interface out of EmbraceImpl, which will make modularisation possible.

@fractalwrench fractalwrench requested review from fnewberg, bidetofevil and a team as code owners July 8, 2024 10:19
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

Attention: Patch coverage is 35.29412% with 11 lines in your changes missing coverage. Please review.

Project coverage is 79.64%. Comparing base (3b00543) to head (2b2b448).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1060      +/-   ##
==========================================
- Coverage   79.65%   79.64%   -0.01%     
==========================================
  Files         417      417              
  Lines       10788    10788              
  Branches     1770     1770              
==========================================
- Hits         8593     8592       -1     
- Misses       1407     1408       +1     
  Partials      788      788              
Files Coverage Δ
...in/java/io/embrace/android/embracesdk/Embrace.java 82.42% <ø> (ø)
...nternal/api/delegate/InternalWebViewApiDelegate.kt 53.84% <50.00%> (ø)
.../java/io/embrace/android/embracesdk/EmbraceImpl.kt 79.03% <25.00%> (ø)
...cesdk/internal/api/delegate/SdkStateApiDelegate.kt 70.00% <57.14%> (ø)
...internal/api/delegate/NetworkRequestApiDelegate.kt 46.66% <0.00%> (ø)

@@ -15,7 +15,7 @@ public interface NetworkRequestApi {
*/
public fun recordNetworkRequest(networkRequest: EmbraceNetworkRequest)

public fun getTraceIdHeader(): String
public val traceIdHeader: String
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given that we have NSF as well as OTel stuff to consider, this naming is pretty problematic.

We shouldn't change it in this PR, but we should probably change this when we bump our SDK version to 7.0

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

@fractalwrench fractalwrench force-pushed the internal-interface-api branch 3 times, most recently from d19d361 to 98c866f Compare July 9, 2024 09:42
Base automatically changed from internal-interface-api to master July 9, 2024 10:13
Copy link
Contributor

github-actions bot commented Jul 9, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@fractalwrench fractalwrench merged commit 38b6cb5 into master Jul 9, 2024
4 of 5 checks passed
@fractalwrench fractalwrench deleted the interface-refactor branch July 9, 2024 11:39
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