-
Notifications
You must be signed in to change notification settings - Fork 522
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
Test deprecated rule modification #3727
Conversation
The local testing is failing approproatley
Unsure why the Unit Test in workflow is passing, this is being checked. |
The Workflow of Unit Test checkout on this commits
This has the latest changes for the test and the modified deprecated rules. The unit test picks up the new test case But it does not pick up the modified files changes, the argument and rule path is completely as expected. and this that path there should be this changed files as expected.
But locally the test asserts failures as expected.
The PR will be for review since tests are passing locally, but the failures in the Github workflow is like wierd! |
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.
🟢 Manual review, looks good to me! 👍
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.
🔥
(cherry picked from commit f9b3534)
(cherry picked from commit f9b3534)
(cherry picked from commit f9b3534)
(cherry picked from commit f9b3534)
(cherry picked from commit f9b3534)
(cherry picked from commit f9b3534)
Issues
Summary
'--diff-filter=M'
where only modified files are consideredCode Changes
origin/main
in diff check. This was a crucial change without which even if we were able to fetch the commit hash of origin/main with method, we received errors likefatal: bad object 856c6c5a1f40916d30be65af5def6e17b1c1a188
when trying to perform diff.Testing
Testing Complete : Modified deprecated rules are being identified sample_run