Skip to content

Commit

Permalink
internal/civisibility: add early flake detection feature (#2916)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyredondo authored Oct 10, 2024
1 parent 2f2854f commit 5b9a8af
Show file tree
Hide file tree
Showing 8 changed files with 1,232 additions and 572 deletions.
7 changes: 7 additions & 0 deletions internal/civisibility/constants/test_tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,16 @@ const (
// This constant is used to tag traces with the test session name
TestSessionName = "test_session.name"

// TestIsNew indicates a new test
// This constant is used to tag test events that are detected as new by early flake detection
TestIsNew = "test.is_new"

// TestIsRetry indicates a retry execution
// This constant is used to tag test events that are part of a retry execution
TestIsRetry = "test.is_retry"

// TestEarlyFlakeDetectionRetryAborted indicates a retry abort reason by the early flake detection feature
TestEarlyFlakeDetectionRetryAborted = "test.early_flake.abort_reason"
)

// Define valid test status types.
Expand Down
713 changes: 276 additions & 437 deletions internal/civisibility/integrations/gotesting/instrumentation.go

Large diffs are not rendered by default.

Loading

0 comments on commit 5b9a8af

Please sign in to comment.