Skip to content

Commit

Permalink
Merge branch 'main' into mtoff/header-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoffl01 authored Oct 10, 2024
2 parents 6b5427f + 5b9a8af commit 3053bb9
Show file tree
Hide file tree
Showing 13 changed files with 1,807 additions and 572 deletions.
9 changes: 9 additions & 0 deletions internal/civisibility/constants/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,13 @@ const (
// GitTag indicates the current git tag.
// This constant is used to tag traces with the tag name associated with the current commit.
GitTag = "git.tag"

// GitHeadCommit indicates the GIT head commit hash.
GitHeadCommit = "git.commit.head_sha"

// GitPrBaseCommit indicates the GIT PR base commit hash.
GitPrBaseCommit = "git.pull_request.base_branch_sha"

// GitPrBaseBranch indicates the GIT PR base branch name.
GitPrBaseBranch = "git.pull_request.base_branch"
)
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
Loading

0 comments on commit 3053bb9

Please sign in to comment.