fix(internal/civisibility): propagate ITR tests-skipping enabled tag#4736
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
🚀 New features to boost your workflow:
|
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: caf28f5 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-05-12 16:23:29 Comparing candidate commit caf28f5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 274 metrics, 1 unstable metrics, 1 flaky benchmarks without significant changes.
|
E2E Test Report: SUCCESS ✅Tested by: Shepherd Agent (autonomous QA for Datadog Test Optimization) Test Environment
Results
Test Methodology
VerdictThe fix works as intended — This E2E test was performed by Shepherd - autonomous QA agent for Datadog Test Optimization |
81dc038
into
main
What does this PR do?
Propagates the CI Visibility
test.itr.tests_skipping.enabledtag from the Go test session to module, suite, and test spans.The tag was already written on the session span when ITR was enabled. This change keeps that behavior and also adds the same value to the CI tags map after settings are loaded, so future module, suite, and test spans receive the same run-level value through the existing common-tag propagation path.
It also adds regression coverage for the manual API propagation path and extends the gotesting ITR scenario to assert the tag on session, module, suite, and test spans.
Motivation
SDTEST-3761
Suite and test events need to carry the same ITR tests-skipping enabled value as the session event. Without this, downstream CI Visibility consumers can see the session-level setting but not the corresponding suite/test-level tag.
Testing
go test ./internal/civisibility/integrations ./internal/civisibility/integrations/gotestinggit diff --check