Make CI test log forwarding opt-in - #12534
Conversation
🟡 Java Benchmark SLOs — Performance SLO warning (near threshold)
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
sarahchen6
left a comment
There was a problem hiding this comment.
Maybe worth adding a comment that the commit message must contain [ci: DEBUG_LOGS] exactly to set DD_CIVISIBILITY_LOGS_ENABLED=true. Otherwise LGTM
27effc2 to
11db852
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
The upload keeps test results available and forwards captured logs only when the commit token or CI variable enables this function.
🤖 Datadog Autotest · Commit 11db852 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What Does This Do
Disables JUnit log forwarding by default. It can be enabled with
[ci: DEBUG_LOGS]orDD_CIVISIBILITY_LOGS_ENABLED=true.Tip
DD_CIVISIBILITY_LOGS_ENABLEDis a documented env var ofdatadog-citoolMotivation
Keep verbose test output in GitLab artifacts without forwarding it to Datadog Logs by default.
Before

Over the last year, with increased PR, commit push rate rate and a wider test matrix, the logs in JUnit reports have increased significantly.
After

Additional Notes
The opt-in forwards all JUnit-captured output, as supported by
datadog-ci. Also, logs are still available in the JUnit report that are available as job artifacts.Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue