-
Notifications
You must be signed in to change notification settings - Fork 413
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(ci_visibility): create client for test visibility backend API #10752
chore(ci_visibility): create client for test visibility backend API #10752
Conversation
|
Datadog ReportBranch report: ✅ 0 Failed, 616 Passed, 670 Skipped, 20m 43.79s Total duration (16m 22.34s time saved) |
BenchmarksBenchmark execution time: 2024-09-26 08:46:30 Comparing candidate commit f368515 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 371 metrics, 53 unstable metrics. |
tests/ci_visibility/api_client/test_ci_visibility_api_client.py
Outdated
Show resolved
Hide resolved
tests/ci_visibility/api_client/test_ci_visibility_api_client.py
Outdated
Show resolved
Hide resolved
tests/ci_visibility/api_client/test_ci_visibility_api_client.py
Outdated
Show resolved
Hide resolved
tests/ci_visibility/api_client/test_ci_visibility_api_client.py
Outdated
Show resolved
Hide resolved
…github.com:DataDog/dd-trace-py into romain.komorn/SDTEST-854/add_flaky_tests_retry_api
…ky_tests_retry_api' into romain.komorn/SDTEST-854/add_flaky_tests_retry_api
This creates a new client for the Test Visibility API (used currently for settings and ITR data, but soon to be used for new test and auto flake retries information).
This is mostly a refactor (eg: the majority of the original logic has been cut and pasted into a new class), with some notable changes:
ITRData
dataclass, under the CIVisibility instance's_itr_data
attributeInternalTestId
or aTestSuiteId
, and looking for it in_itr_data.skippable_items
_itr_skipping_ignore_parameters
configuration item (this is being introduced for backwards compatibility because parameters were previously not being checked)TestVisibilityAPISettings
replaces the_CIVisibilitySettings
namedtuple
Checklist
Reviewer Checklist