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

DEBUG-3329 rename datadog/di/init to datadog/di/preload #4288

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

p-datadog
Copy link
Member

What does this PR do?

Renames datadog/di/init.rb to datadog/di/preload.rb.

Motivation:
Profiling uses datadog/profiling/preload.rb, let's make DI consistent with profiling.

Change log entry
Yes: move DI preloading to datadog/di/preload

Additional Notes:

How to test the change?
Existing unit tests

@p-datadog p-datadog requested a review from a team as a code owner January 14, 2025 19:59
Base automatically changed from di-railtie to master January 14, 2025 20:07
@datadog-datadog-prod-us1
Copy link
Contributor

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

Datadog Report

Branch report: di-preload
Commit report: c44ee57
Test service: dd-trace-rb

✅ 0 Failed, 22194 Passed, 1476 Skipped, 5m 25.38s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Jan 14, 2025

Benchmarks

Benchmark execution time: 2025-01-14 20:35:46

Comparing candidate commit c44ee57 in PR branch di-preload with baseline commit 5361e8e 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.72%. Comparing base (5361e8e) to head (c44ee57).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4288   +/-   ##
=======================================
  Coverage   97.71%   97.72%           
=======================================
  Files        1356     1356           
  Lines       82490    82489    -1     
  Branches     4219     4219           
=======================================
+ Hits        80607    80609    +2     
+ Misses       1883     1880    -3     

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

@p-datadog p-datadog merged commit 9e3a3e3 into master Jan 14, 2025
378 checks passed
@p-datadog p-datadog deleted the di-preload branch January 14, 2025 22:55
@github-actions github-actions bot added this to the 2.9.0 milestone Jan 14, 2025
@p-datadog p-datadog mentioned this pull request 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
  ...
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.

4 participants