Skip to content

chore: debug known tests pagination#18264

Draft
gnufede wants to merge 11 commits into
mainfrom
gnufede/debug-known-tests-pagination
Draft

chore: debug known tests pagination#18264
gnufede wants to merge 11 commits into
mainfrom
gnufede/debug-known-tests-pagination

Conversation

@gnufede
Copy link
Copy Markdown
Member

@gnufede gnufede commented May 26, 2026

Description

Testing

Risks

Additional Notes

@datadog-datadog-prod-us1-2
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1-2 Bot commented May 26, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 9 Pipeline jobs failed

Changelog | Validate changelog   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Release note not found during changelog validation

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741238-d2b8243-manylinux2014_x86_64, 1]   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. NotImplementedError: This version of CPython is not supported yet while importing ddtrace module.

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741491-d2b8243-musllinux_1_2_x86_64, 1]   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. NotImplementedError: This version of CPython is not supported yet during import of ddtrace.

View all 9 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 18a3bc0 | Docs | Datadog PR Page | Give us feedback!

@gnufede gnufede changed the title Gnufede/debug known tests pagination chore: debug known tests pagination May 26, 2026
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 26, 2026

Benchmarks

Benchmark execution time: 2026-05-26 09:33:41

Comparing candidate commit 661a367 in PR branch gnufede/debug-known-tests-pagination with baseline commit 1777513 in branch main.

Found 0 performance improvements and 4 performance regressions! Performance is the same for 617 metrics, 10 unstable metrics.

scenario:iastaspects-lstrip_aspect

  • 🟥 execution_time [+67.603µs; +73.360µs] or [+24.435%; +26.516%]

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+102.958µs; +110.128µs] or [+24.245%; +25.933%]

scenario:span-start

  • 🟥 execution_time [+1.393ms; +1.539ms] or [+8.893%; +9.823%]

scenario:telemetryaddmetric-1-count-metric-1-times

  • 🟥 execution_time [+204.371ns; +247.831ns] or [+9.400%; +11.398%]

Comment thread ddtrace/testing/internal/api_client.py Outdated
@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented May 27, 2026

Codeowners resolved as

ddtrace/testing/internal/api_client.py                                  @DataDog/ci-app-libraries
tests/testing/internal/test_api_client.py                               @DataDog/ci-app-libraries

gnufede and others added 5 commits May 27, 2026 08:13
… pagination

When the backend returns `size` in the response `page_info`, echo it back as
`page_size` in the next request's `page_info`. Also adds debug logging for
request/response page_info on each page, an AIDEV-NOTE on the variable reuse
issue, and a full-payload test for the second-page request shape.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…line

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
_get_expected_do_request_tests_payload is for _api_client.py which still
sends {} on the first page. Only ddtrace/testing/internal/api_client.py
sends {"page_size": 2000}.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lient tests

_api_client.py sends {} on the first page (no default page_size);
only ddtrace/testing/internal/api_client.py sends {"page_size": 2000}.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… request

Let the backend use its default page size instead of sending page_size: 2000.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant