DataDog / datadog-ci-rb

Ruby library for Datadog test visibility
https://docs.datadoghq.com/continuous_integration/tests/ruby
Other
8 stars 4 forks source link

[CIVIS-8333] improvements for manual tracing API #108

Closed anmarchenko closed 9 months ago

anmarchenko commented 9 months ago

What does this PR do? This PR is aimed to simplify and improve manual test tracing API. These changes are the last planned breaking changes before 1.0 release of this library when we'll declare this API stable.

Changes include:

Overall, this PR led to more deleted lines of code than added which I consider a very good result when doing refactoring.

Motivation First stable version is to be released soon and last minute improvements due for manual API.

codecov-commenter commented 9 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (8dd092a) 99.10% compared to head (c89c711) 99.10%. Report is 7 commits behind head on main.

Files Patch % Lines
lib/datadog/ci/utils/git.rb 71.42% 2 Missing :warning:
lib/datadog/ci/contrib/rspec/example.rb 83.33% 1 Missing :warning:
lib/datadog/ci/test_visibility/serializers/base.rb 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #108 +/- ## ========================================== - Coverage 99.10% 99.10% -0.01% ========================================== Files 149 147 -2 Lines 6383 6269 -114 Branches 277 286 +9 ========================================== - Hits 6326 6213 -113 + Misses 57 56 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.