Skip to content

chore: fix test_module_watchdog_pkg_resources_support [backport 3.8] #13531

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

github-actions[bot]
Copy link
Contributor

Backport 3eaf6a8 from #13513 to 3.8.

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [ ] Reviewer has checked that all the criteria below are met
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

(cherry picked from commit 3eaf6a8)
@github-actions github-actions bot added the changelog/no-changelog A changelog entry is not required for this PR. label May 29, 2025
@github-actions github-actions bot requested review from a team as code owners May 29, 2025 13:46
@github-actions github-actions bot requested a review from erikayasuda May 29, 2025 13:47
@brettlangdon brettlangdon reopened this May 29, 2025
@brettlangdon brettlangdon enabled auto-merge (squash) May 29, 2025 13:47
Copy link
Contributor Author

CODEOWNERS have been resolved as:

tests/internal/test_module.py                                           @DataDog/debugger-python @DataDog/apm-core-python

Copy link
Contributor Author

github-actions bot commented May 29, 2025

Bootstrap import analysis

Comparison of import times between this PR and base.

Summary

The average import time from this PR is: 237 ± 4 ms.

The average import time from base is: 242 ± 5 ms.

The import time difference between this PR and base is: -4.4 ± 0.2 ms.

Import time breakdown

The following import paths have shrunk:

ddtrace.auto 2.229 ms (0.94%)
ddtrace.bootstrap.sitecustomize 1.541 ms (0.65%)
ddtrace.bootstrap.preload 1.541 ms (0.65%)
ddtrace.internal.remoteconfig.client 0.755 ms (0.32%)
ddtrace 0.688 ms (0.29%)

@pr-commenter
Copy link

pr-commenter bot commented May 29, 2025

Benchmarks

Benchmark execution time: 2025-05-29 16:45:48

Comparing candidate commit bf1e277 in PR branch backport-13513-to-3.8 with baseline commit 588ca68 in branch 3.8.

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

scenario:iast_aspects-ospathsplit_aspect

  • 🟥 execution_time [+740.492ns; +893.331ns] or [+15.244%; +18.390%]

scenario:iast_aspects-ospathsplitdrive_aspect

  • 🟥 execution_time [+432.624ns; +500.668ns] or [+11.886%; +13.756%]

@brettlangdon brettlangdon merged commit 5a941c1 into 3.8 May 29, 2025
276 of 291 checks passed
@brettlangdon brettlangdon deleted the backport-13513-to-3.8 branch May 29, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants