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

Develop merge into main #297

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Develop merge into main #297

wants to merge 25 commits into from

Conversation

ndesai-newrelic
Copy link
Contributor

No description provided.

@ndesai-newrelic ndesai-newrelic changed the title Develop Develop merge into main Oct 21, 2024
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 70.91255% with 153 lines in your changes missing coverage. Please review.

Project coverage is 57.53%. Comparing base (89838e5) to head (ae4ccb6).

Files with missing lines Patch % Lines
...m/newrelic/agent/android/aei/AEITraceReporter.java 48.14% 49 Missing and 21 partials ⚠️
...elic/agent/android/aei/ApplicationExitMonitor.java 86.02% 12 Missing and 14 partials ⚠️
.../com/newrelic/agent/android/aei/SessionMapper.java 60.00% 11 Missing and 7 partials ⚠️
...relic/agent/android/payload/FileBackedPayload.java 59.52% 11 Missing and 6 partials ⚠️
.../java/com/newrelic/agent/android/aei/AEITrace.java 80.00% 6 Missing and 2 partials ⚠️
...com/newrelic/agent/android/aei/AEITraceSender.java 84.21% 5 Missing and 1 partial ⚠️
.../newrelic/agent/android/payload/PayloadSender.java 76.47% 2 Missing and 2 partials ⚠️
...relic/agent/android/payload/PayloadController.java 71.42% 0 Missing and 2 partials ⚠️
...va/com/newrelic/agent/android/payload/Payload.java 75.00% 1 Missing ⚠️
...ewrelic/agent/android/payload/PayloadReporter.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #297      +/-   ##
============================================
+ Coverage     57.40%   57.53%   +0.13%     
- Complexity     3349     3437      +88     
============================================
  Files           325      330       +5     
  Lines         16646    16994     +348     
  Branches       1820     1858      +38     
============================================
+ Hits           9555     9778     +223     
- Misses         6076     6157      +81     
- Partials       1015     1059      +44     

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

Copy link
Contributor

@cthomas-newrelic cthomas-newrelic left a comment

Choose a reason for hiding this comment

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

Tihs would be the third such merge since release and I'm afraid there is a synchronization issue between the 2 branches. Give it a go, let's see.

BTW, that action no longer works as it once did, so there's no reason to merge that (yet).

* adds new attribute `aeiSessionId` to AEI event when PID of aei is found
in session mapper cache.
* adds/updates tests
The set of AEI records returned by ART changes over time. Update the on-device
storage to remove artifacts no longer raported by ART.
@cthomas-newrelic
Copy link
Contributor

Develop has changed behind this commit, so don't commit to main.

This chnage is based on assumptions on an incubating spec.
It may be reverted or modified.
To be used in AEI trace reporting. Logging will be refactored to use this within it's LogForwarder.

* adds FileBackedPayload pulled up from LogForwarder
* adds compression to payload data
* adds tests
* parses system trace provided by AEI record into thread collection
* formats thread data as a String according to ingest spec
Since we've been sing the new vpn, some tests fail due to odd
networking exceptions in Mockito.

* DRY's up connection mocking code
* refactor ApplicationExitMonitorTest
* adds `fullLifecycle` for the complex sessionMapper interactions
* update AEITraceSender tests
* exposed FileBackedPayload `compress()` methods, updates tests
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