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

Increase type checking coverage #4290

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Increase type checking coverage #4290

merged 2 commits into from
Jan 15, 2025

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Jan 14, 2025

Enable type checking for span.rb, span_operation.rb, transport/http/builder.rb, and transport/http/statistics.rb.

This PR also simplify 3rd party gem signature declaration (vendor/rbs), as you now don't need to manually add new folders to the Steepfile anymore.

Change log entry
No

@marcotc marcotc added the dev/internal Other internal work that does not need to be included in the changelog label Jan 14, 2025
@marcotc marcotc requested review from a team as code owners January 14, 2025 22:08
@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Jan 14, 2025

Datadog Report

Branch report: steep-2
Commit report: 3dddec7
Test service: dd-trace-rb

✅ 0 Failed, 22188 Passed, 1478 Skipped, 5m 27.98s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Jan 14, 2025

Benchmarks

Benchmark execution time: 2025-01-14 23:30:56

Comparing candidate commit 3dddec7 in PR branch steep-2 with baseline commit 9e3a3e3 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.69%. Comparing base (08743d9) to head (cd83132).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4290      +/-   ##
==========================================
- Coverage   97.72%   97.69%   -0.03%     
==========================================
  Files        1355     1355              
  Lines       82433    82438       +5     
  Branches     4213     4215       +2     
==========================================
- Hits        80555    80536      -19     
- Misses       1878     1902      +24     

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

@marcotc marcotc enabled auto-merge (squash) January 14, 2025 23:04
@marcotc marcotc merged commit 7fa295e into master Jan 15, 2025
378 checks passed
@marcotc marcotc deleted the steep-2 branch January 15, 2025 16:58
@github-actions github-actions bot added this to the 2.9.0 milestone Jan 15, 2025
p-datadog pushed a commit that referenced this pull request Jan 15, 2025
* master: (161 commits)
  Bump to version 2.9.0 (#4293)
  Increase type checking coverage (#4290)
  DEBUG-3329 rename datadog/di/init to datadog/di/preload (#4288)
  update supported versions workflow (#4289)
  DEBUG-3182 DI railtie (#4272)
  DEBUG-3328 report DI status in environment logger summary (#4285)
  Move out ostruct gem from test group for Ruby 3.5
  DEBUG-3316 verify code tracking works in forked processes (#4284)
  Fix rebase issue in Rack::RequestMiddleware
  Improve code style in AppSec rack middlewares
  Improve variable naming in Rack::RequestBodyMiddleware
  Improve variable naming in Rack::RequestMiddleware
  Simplify Rack::RequestMiddleware
  Switch AppSec rack blocking to throw
  Extract to .gitlab/scripts
  Implement polling vaccine
  Update RBS signatures
  Add new RSpec negate matcher not_change
  Replace direct AppSec::Processor::Context calls
  Change AppSec::Context exposed interface
  ...
@ivoanjo
Copy link
Member

ivoanjo commented Jan 16, 2025

Nice! Slowly but surely we're getting nice coverage on our typechecks :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants