Skip to content

Conversation

@owtaylor
Copy link
Collaborator

Distinguish between:

  • Model decided to set failed_test_ids even though baseline tests already exist
  • There's a new set of tests that failed, and we should run new baseline tests

by comparing the failed_test_ids with those for the existing tests.

Distinguish between:

 - Model decided to set failed_test_ids even though baseline
   tests already exist
 - There's a new set of tests that failed, and we should
   run new baseline tests

by comparing the failed_test_ids with those for the existing
tests.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly updates the logic to re-run baseline tests if the set of failed tests changes. This properly distinguishes between an initial test failure and a new set of failures. I have provided one suggestion to refactor the conditional logic for improved readability and a minor performance gain by avoiding redundant computations.

Copy link
Collaborator

@Jazzcort Jazzcort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@owtaylor owtaylor merged commit 56c73d1 into packit:main Nov 18, 2025
7 checks passed
@owtaylor owtaylor deleted the repeat-baseline-tests branch November 18, 2025 11:06
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