Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/civisibility: add early flake detection feature #2916

Merged
merged 11 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading