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

chore: fix false positive in detecting that yardstick changed #388

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

willmurphyscode
Copy link
Contributor

@willmurphyscode willmurphyscode commented Nov 6, 2023

Previously, if "git diff" included the yardstick dependency declaration in one of the context/unchanged lines, configure.py would request running the quality gate on every provider. Fix this false positive by only considering lines with changes in them in the output.

Basically, this check could false positive, as evident in #387 trying to run all the providers even though it doesn't change anything that should necessitate that.

Previously, if "git diff" included the yardstick dependency declaration
in one of the context/unchanged lines, configure.py would request
running the quality gate on every provider. Fix this false positive by
only considering lines with changes in them in the output.

Signed-off-by: Will Murphy <[email protected]>
@willmurphyscode willmurphyscode added the run-pr-quality-gate Triggers running of quality gate on PRs label Nov 6, 2023
@willmurphyscode willmurphyscode merged commit 3b3fc2a into main Nov 7, 2023
18 of 19 checks passed
@willmurphyscode willmurphyscode deleted the chore/fix-configure-test branch November 7, 2023 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-pr-quality-gate Triggers running of quality gate on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants