Skip to content

chore(ci_visibility): support Attempt-to-Fix v4 #13415

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vitor-de-araujo
Copy link
Contributor

This PR adds:

  • Sending commit sha in the test management request;
  • Marking failed attempts to fix with @test.test_management.attempt_to_fix_passed: false (previously it was marked with true if the attempt was successful, and not marked at all if not successful).

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

Copy link
Contributor

CODEOWNERS have been resolved as:

ddtrace/contrib/internal/pytest/_plugin_v2.py                           @DataDog/ci-app-libraries
ddtrace/internal/ci_visibility/_api_client.py                           @DataDog/ci-app-libraries
ddtrace/internal/ci_visibility/api/_test.py                             @DataDog/ci-app-libraries
tests/contrib/pytest/test_pytest_attempt_to_fix.py                      @DataDog/ci-app-libraries

@vitor-de-araujo vitor-de-araujo added changelog/no-changelog A changelog entry is not required for this PR. CI App labels May 14, 2025
@vitor-de-araujo vitor-de-araujo marked this pull request as ready for review May 14, 2025 14:37
@vitor-de-araujo vitor-de-araujo requested a review from a team as a code owner May 14, 2025 14:37
Copy link
Contributor

github-actions bot commented May 14, 2025

Bootstrap import analysis

Comparison of import times between this PR and base.

Summary

The average import time from this PR is: 232 ± 3 ms.

The average import time from base is: 234 ± 1 ms.

The import time difference between this PR and base is: -1.99 ± 0.09 ms.

Import time breakdown

The following import paths have shrunk:

ddtrace.auto 1.968 ms (0.85%)
ddtrace.bootstrap.sitecustomize 1.293 ms (0.56%)
ddtrace.bootstrap.preload 1.293 ms (0.56%)
ddtrace.internal.remoteconfig.client 0.644 ms (0.28%)
ddtrace 0.675 ms (0.29%)

@pr-commenter
Copy link

pr-commenter bot commented May 14, 2025

Benchmarks

Benchmark execution time: 2025-05-14 15:33:19

Comparing candidate commit e2026f9 in PR branch vitor-de-araujo/SDTEST-1984/test-management-sha with baseline commit 355694d in branch main.

Found 0 performance improvements and 3 performance regressions! Performance is the same for 524 metrics, 9 unstable metrics.

scenario:iast_aspects-ospathjoin_aspect

  • 🟥 execution_time [+693.753ns; +844.488ns] or [+11.419%; +13.899%]

scenario:iast_aspects-rstrip_aspect

  • 🟥 execution_time [+1.369µs; +1.470µs] or [+10.746%; +11.536%]

scenario:telemetryaddmetric-1-gauge-metric-1-times

  • 🟥 execution_time [+224.108ns; +298.181ns] or [+10.584%; +14.083%]

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. CI App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants