Skip to content

Propagate agent configured timeout to sidecar#4025

Open
bwoebi wants to merge 5 commits into
masterfrom
bob/endpoint-timeouts
Open

Propagate agent configured timeout to sidecar#4025
bwoebi wants to merge 5 commits into
masterfrom
bob/endpoint-timeouts

Conversation

@bwoebi

@bwoebi bwoebi commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

And make two RC tests more resilient to race conditions.

Increase the timeout in tests to avoid genuine timeouts from request-replayer overload to happen.

@bwoebi
bwoebi requested review from a team as code owners June 30, 2026 12:37

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e89be7fe0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ext/sidecar.c Outdated
@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Jun 30, 2026

Copy link
Copy Markdown

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 38 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-php | PHP Language Tests: [7.1]   View in Datadog   GitLab

🧪 2 Tests failed

All test failures are known flaky.

❄️ Known flaky: opendir-003.phpt - opendir() with 'ftps://' stream. from php-src.php-src.ext.standard.tests.streams   View in Datadog
002+ error:0A000415:SSL routines::sslv3 alert certificate expired in /usr/local/src/php/ext/ftp/tests/server.inc on line 121
003+ SSLv23 handshake failed.
004+ 
006+ error:0A000086:SSL routines::certificate verify failed in /usr/local/src/php/ext/standard/tests/streams/opendir-003.php on line 10
007+ 
002-  in %s on line %d

Not introduced in this PR.

❄️ Known flaky: opendir-004.phpt - opendir() with 'ftps://' stream. from php-src.php-src.ext.standard.tests.streams   View in Datadog
002+ error:0A000086:SSL routines::certificate verify failed in /usr/local/src/php/ext/standard/tests/streams/opendir-004.php on line 10
003+ 
005+ bool(false)
006+ 
001- resource(%d) of type (stream)
002- string(5) "file1"
003- string(5) "file1"
004- string(3) "fil"
005- string(4) "b0rk"
009+ 
...

Not introduced in this PR.

DataDog/apm-reliability/dd-trace-php | PHP Language Tests: [7.3]   View in Datadog   GitLab

🧪 1 Test failed

All test failures are known flaky.

❄️ Known flaky: opendir() with 'ftps://' stream. from PHP.ext.standard.tests.streams   View in Datadog
002+ error:0A000086:SSL routines::certificate verify failed in /usr/local/src/php/ext/standard/tests/streams/opendir-004.php on line 10
003+ 
005+ bool(false)
006+ 
001- resource(%d) of type (stream)
002- string(5) "file1"
003- string(5) "file1"
004- string(3) "fil"
005- string(4) "b0rk"
009+ 
...

Not introduced in this PR.

DataDog/apm-reliability/dd-trace-php | PHP Language Tests: [7.4]   View in Datadog   GitLab

🧪 2 Tests failed

All test failures are known flaky.

❄️ Known flaky: ext/standard/tests/streams/opendir-003.phpt (opendir() with 'ftps://' stream.) from PHP.ext.standard.tests.streams   View in Datadog
002+ error:0A000086:SSL routines::certificate verify failed in /usr/local/src/php/ext/standard/tests/streams/opendir-003.php on line 10
003+ 
005+ error:0A000415:SSL routines::sslv3 alert certificate expired in /usr/local/src/php/ext/ftp/tests/server.inc on line 115
006+ SSLv23 handshake failed.
007+ 
002-  in %s on line %d

Not introduced in this PR.

❄️ Known flaky: ext/standard/tests/streams/opendir-004.phpt (opendir() with 'ftps://' stream.) from PHP.ext.standard.tests.streams   View in Datadog
002+ error:0A000415:SSL routines::sslv3 alert certificate expired in /usr/local/src/php/ext/ftp/tests/server.inc on line 115
003+ SSLv23 handshake failed.
004+ 
006+ error:0A000086:SSL routines::certificate verify failed in /usr/local/src/php/ext/standard/tests/streams/opendir-004.php on line 10
007+ 
009+ bool(false)
010+ 
001- resource(%d) of type (stream)
002- string(5) "file1"
003- string(5) "file1"
...

Not introduced in this PR.

View all 38 failed jobs.

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 60.65% (+0.03%)

Useful? React with 👍 / 👎

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

@bwoebi
bwoebi force-pushed the bob/endpoint-timeouts branch from 7e89be7 to 92d3d15 Compare June 30, 2026 12:47
@pr-commenter

pr-commenter Bot commented Jun 30, 2026

Copy link
Copy Markdown

Benchmarks [ tracer ]

Benchmark execution time: 2026-07-25 16:03:49

Comparing candidate commit 2102808 in PR branch bob/endpoint-timeouts with baseline commit acd5a0d in branch master.

Found 1 performance improvements and 4 performance regressions! Performance is the same for 187 metrics, 2 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache

  • 🟩 execution_time [-4.595µs; -3.625µs] or [-4.210%; -3.322%]

scenario:SamplingRuleMatchingBench/benchRegexMatching1

  • 🟥 execution_time [+61.812ns; +138.188ns] or [+4.232%; +9.462%]

scenario:SamplingRuleMatchingBench/benchRegexMatching2

  • 🟥 execution_time [+49.623ns; +135.777ns] or [+3.357%; +9.187%]

scenario:SamplingRuleMatchingBench/benchRegexMatching3

  • 🟥 execution_time [+55.750ns; +129.450ns] or [+3.766%; +8.744%]

scenario:SamplingRuleMatchingBench/benchRegexMatching4

  • 🟥 execution_time [+78.828ns; +162.572ns] or [+5.403%; +11.143%]

@bwoebi
bwoebi force-pushed the bob/endpoint-timeouts branch from b60d6be to 408f68e Compare July 4, 2026 00:49
@bwoebi
bwoebi force-pushed the bob/endpoint-timeouts branch from 408f68e to 6dcfe62 Compare July 24, 2026 18:35
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.

2 participants