Retry sidecar connect before probe install#3883
Draft
Leiyks wants to merge 1 commit into
Draft
Conversation
|
I can only run on private repositories. |
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 4cd2cdc | Docs | Datadog PR Page | Give us feedback! |
Benchmarks [ tracer ]Benchmark execution time: 2026-05-15 14:33:44 Comparing candidate commit 4cd2cdc in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 192 metrics, 1 unstable metrics. scenario:SamplingRuleMatchingBench/benchGlobMatching3-opcache
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Workflow Automation • View in Workflow Automation
Motivation (WHY)
test_extension_cihas recurring flakes in live debugger / dynamic instrumentation tests where probes are not installed in time.Changes (WHAT)
ext/sidecar.cduringddtrace_sidecar_rinit():DDTRACE_G(sidecar)is not yet connected butddtrace_endpointis available, callddtrace_sidecar_ensure_active()before submitting root span data.Testing (HOW verified)
libdatadogsubmodule fetch is blocked (403 allowlist restriction), so full extension build/test execution is not possible here.ddtrace_sidecar_rinit().ext/sidecar.c.Relevant failing pipeline example:
https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-php/-/pipelines/113108177
Reviewer checklist
PR by Bits - View session in Datadog
Comment @DataDog to request changes