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

chore(asm): use parameternamelength for libddwaf interface [backport 2.12] #10604

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Backport 97fa6d6 from #10596 to 2.12.

This is a minor improvement for the libddwaf interface, applying the same idea in #10438 to parameter strings.

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

This is a minor improvement for the libddwaf interface, applying the
same idea in #10438 to
parameter strings.

## 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 97fa6d6)
@github-actions github-actions bot requested a review from a team as a code owner September 10, 2024 17:13
@github-actions github-actions bot added enhancement changelog/no-changelog A changelog entry is not required for this PR. ASM Application Security Monitoring labels Sep 10, 2024
@datadog-dd-trace-py-rkomorn
Copy link

datadog-dd-trace-py-rkomorn bot commented Sep 10, 2024

Datadog Report

Branch report: backport-10596-to-2.12
Commit report: bf9da77
Test service: dd-trace-py

✅ 0 Failed, 110137 Passed, 3790 Skipped, 6m 5.91s Total duration (45m 25.86s time saved)

@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (2.12@9861275). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             2.12   #10604   +/-   ##
=======================================
  Coverage        ?    9.85%           
=======================================
  Files           ?     1410           
  Lines           ?   120851           
  Branches        ?        0           
=======================================
  Hits            ?    11909           
  Misses          ?   108942           
  Partials        ?        0           

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

@pr-commenter
Copy link

pr-commenter bot commented Sep 10, 2024

Benchmarks

Benchmark execution time: 2024-09-11 07:55:17

Comparing candidate commit bf9da77 in PR branch backport-10596-to-2.12 with baseline commit 9861275 in branch 2.12.

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

@christophe-papazian christophe-papazian merged commit d129810 into 2.12 Sep 11, 2024
127 of 133 checks passed
@christophe-papazian christophe-papazian deleted the backport-10596-to-2.12 branch September 11, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASM Application Security Monitoring changelog/no-changelog A changelog entry is not required for this PR. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants