Skip to content

chore: remove ref from checkout workflow - #27490

Merged
liamdebeasi merged 3 commits into
mainfrom
test-liam-ci
May 18, 2023
Merged

liamdebeasi merged 3 commits into
mainfrom
test-liam-ci

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented May 16, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

Screenshots in a branch are currently compared against the screenshots on main. While we ultimately need to compare against ground truths in main, this can cause tests to seemingly fail at random. For example, this branch was created based on eb2772c. However, 381de0b was added to main after the first commit and has new screenshot diffs.

I do not have the latest ground truths for the changed screenshots in this branch, so the screenshot tests failed in https://github.com/ionic-team/ionic-framework/actions/runs/4995702351/jobs/8947969061 even though I did not change any component implementations.

What is the new behavior?

  • Test runs in CI now run against the ground truths available in the branch. When a commit is added to the merge queue, it will be tested against the latest main and any commits ahead of it in the queue. As a result, if there is a conflict then the test run will fail at that point and the commit will be removed from the merge queue.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: core @ionic/core package label May 16, 2023
@github-actions github-actions Bot removed the package: core @ionic/core package label May 16, 2023
@liamdebeasi liamdebeasi changed the title Test chore: remove ref from checkout workflow May 17, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review May 18, 2023 13:08
@liamdebeasi
liamdebeasi requested a review from a team as a code owner May 18, 2023 13:08
@liamdebeasi
liamdebeasi enabled auto-merge May 18, 2023 13:08
@liamdebeasi
liamdebeasi added this pull request to the merge queue May 18, 2023
Merged via the queue into main with commit 6326a3a May 18, 2023
@liamdebeasi
liamdebeasi deleted the test-liam-ci branch May 18, 2023 14:34
brandyscarney pushed a commit that referenced this pull request May 22, 2023
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

Screenshots in a branch are currently compared against the screenshots
on `main`. While we ultimately need to compare against ground truths in
`main`, this can cause tests to seemingly fail at random. For example,
this branch was created based on
eb2772c.
However,
381de0b
was added to `main` after the first commit and has new screenshot diffs.

I do not have the latest ground truths for the changed screenshots in
this branch, so the screenshot tests failed in
https://github.com/ionic-team/ionic-framework/actions/runs/4995702351/jobs/8947969061
even though I did not change any component implementations.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Test runs in CI now run against the ground truths available in the
branch. When a commit is added to the merge queue, it will be tested
against the latest `main` and any commits ahead of it in the queue. As a
result, if there _is_ a conflict then the test run will fail at that
point and the commit will be removed from the merge queue.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants