-
Couldn't load subscription status.
- Fork 117
Fixes for PHPUnit errors in the Curl instrumentation library #371
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #371 +/- ##
============================================
+ Coverage 81.68% 82.15% +0.46%
- Complexity 1741 1865 +124
============================================
Files 133 137 +4
Lines 7307 7698 +391
============================================
+ Hits 5969 6324 +355
- Misses 1338 1374 +36 Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Curl
There are intermittent PHPUnit errors in the Instrumentation/Curl library for the
curl_multiintegration tests stating the asserted span count is 1 instead of 2. Tracking it down, the WeakReference the for the cURL handle sub-span was sometimes being destroyed too early, causingfinishMultiSpan()to bail, the scope to never detach, and the span to never be added to storage. I believe it is due to:Changing the sub-span to be directly assigned to the
handlesWeakMap resolves the test failures.make allpasses with this change, but I do not know if there are other consequences.cc @intuibase
Edit: split OpenAIPHP component to #375