Skip to content

Conversation

@lrafeei
Copy link
Contributor

@lrafeei lrafeei commented Nov 21, 2025

This PR contains a barebones implementation for Distributed Tracing/context propagation using OTel and NR APIs

@github-actions
Copy link

github-actions bot commented Nov 21, 2025

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.9s
✅ MARKDOWN markdownlint 7 0 0 0 1.35s
❌ PYTHON ruff 957 8 1 0 1.03s
✅ PYTHON ruff-format 957 9 0 0 0.37s
✅ YAML prettier 15 0 0 0 1.52s
✅ YAML v8r 15 0 0 5.9s
✅ YAML yamllint 15 0 0 0.69s

Detailed Issues

❌ PYTHON / ruff - 1 error
::error title=Ruff (C416),file=newrelic/api/opentelemetry.py,line=98,col=34,endLine=98,endColumn=80::newrelic/api/opentelemetry.py:98:34: C416 Unnecessary dict comprehension (rewrite using `dict()`)
::error title=Ruff (F841),file=newrelic/api/opentelemetry.py,line=431,col=13,endLine=431,endColumn=32::newrelic/api/opentelemetry.py:431:13: F841 Local variable `parent_span_span_id` is assigned to but never used
::error title=Ruff (B026),file=newrelic/api/opentelemetry.py,line=605,col=99,endLine=605,endColumn=104::newrelic/api/opentelemetry.py:605:99: B026 Star-arg unpacking after a keyword argument is strongly discouraged

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@mergify mergify bot added the tests-failing Tests failing in CI. label Nov 21, 2025
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 50.99338% with 74 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop-hybrid-core-tracing@962ad1d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
newrelic/api/opentelemetry.py 54.16% 33 Missing and 11 partials ⚠️
newrelic/hooks/hybridagent_opentelemetry.py 36.58% 24 Missing and 2 partials ⚠️
newrelic/api/transaction.py 63.63% 4 Missing ⚠️
Additional details and impacted files
@@                      Coverage Diff                       @@
##             develop-hybrid-core-tracing    #1589   +/-   ##
==============================================================
  Coverage                               ?   79.92%           
==============================================================
  Files                                  ?      210           
  Lines                                  ?    24707           
  Branches                               ?     3929           
==============================================================
  Hits                                   ?    19748           
  Misses                                 ?     3569           
  Partials                               ?     1390           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lrafeei lrafeei force-pushed the hybrid-agent-context-management branch from 7b8ade6 to d61ac06 Compare December 2, 2025 20:49
@lrafeei lrafeei marked this pull request as ready for review December 2, 2025 21:11
@lrafeei lrafeei requested a review from a team as a code owner December 2, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests-failing Tests failing in CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants