-
Notifications
You must be signed in to change notification settings - Fork 54
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
✨ add testify linter and address fixes #1334
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1334 +/- ##
=======================================
Coverage 76.37% 76.37%
=======================================
Files 41 41
Lines 2438 2438
=======================================
Hits 1862 1862
Misses 402 402
Partials 174 174
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@grokspawn did you run testifylint locally and the PR code changes are driven by the output of the run? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Also the commit does not have any details about why this PR was required i.e. some historical context around #1330 would also help. |
/hold Adding hold to get some response before we merge this PR. |
/hold cancel as we discussed this in slack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add some more context in to commit message? It will help anyone looking in to the commit and trying to understand why the change was made.
/hold cancel |
06009e7
to
1d7c603
Compare
Of course. |
What are you looking for? The description of this PR already gives a little background on how this evolved from the other PR and includes a link to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This PR description has useful information/context but the commit does not have it. we should not have to rely on the the github interface to find useful information in general. |
While reviewing operator-framework#1330 we had a discussion about the ability to generally prevent the use of `requires` within `Eventually` calls to prevent future flakes, and that led us to evaluate the `testifylint`-er to give us some cautionary guidelines. It did _not_ resolve the requires-within-eventually issue, but we may try to tackle that with some custom AST in the future. Signed-off-by: Jordan Keister <jordan@nimblewidget.com>
New changes are detected. LGTM label has been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I updated the commit message to contain PR description. Will merge when this is ready.
Description
While reviewing #1330 we had a discussion about the ability to generally prevent the use of
requires
withinEventually
calls to prevent future flakes, and that led us to evaluate thetestifylint
-er to give us some cautionary guidelines. It did not resolve the requires-within-eventually issue, but we may try to tackle that with some custom AST in the future.Reviewer Checklist