Skip to content

Commit 5b9a8af

Browse files
authored
internal/civisibility: add early flake detection feature (DataDog#2916)
1 parent 2f2854f commit 5b9a8af

File tree

8 files changed

+1232
-572
lines changed

8 files changed

+1232
-572
lines changed

internal/civisibility/constants/test_tags.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,16 @@ const (
7070
// This constant is used to tag traces with the test session name
7171
TestSessionName = "test_session.name"
7272

73+
// TestIsNew indicates a new test
74+
// This constant is used to tag test events that are detected as new by early flake detection
75+
TestIsNew = "test.is_new"
76+
7377
// TestIsRetry indicates a retry execution
7478
// This constant is used to tag test events that are part of a retry execution
7579
TestIsRetry = "test.is_retry"
80+
81+
// TestEarlyFlakeDetectionRetryAborted indicates a retry abort reason by the early flake detection feature
82+
TestEarlyFlakeDetectionRetryAborted = "test.early_flake.abort_reason"
7683
)
7784

7885
// Define valid test status types.

internal/civisibility/integrations/gotesting/instrumentation.go

Lines changed: 276 additions & 437 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)