Skip to content

Commit 71cfa41

Browse files
authored
Merge pull request #156 from argos-ci/clarify-how-baseline-build-is-chosen
fix: clarify how baseline build is chosen
2 parents 9469215 + 749cfd0 commit 71cfa41

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/learn/baseline-build.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ A **baseline build** serves as the reference point for comparing screenshots to
2222

2323
## How does Argos determine the baseline build?
2424

25-
Argos uses your Git commit history to identify the most recent successful build on the **baseline branch** (default branch or custom-configured branch). This build is then set as the baseline for screenshot comparisons.
25+
Argos selects the baseline build by finding the most recent **candidate build** that meets all of the following conditions:
26+
27+
- Has the same build name as the triggered build
28+
- All framework tests passed
29+
- Be auto-approved, manually approved or orphan
30+
- Its commit is an ancestor of the merge base between the triggered build's commit and the baseline branch
2631

2732
## What is the baseline branch?
2833

0 commit comments

Comments
 (0)