-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fixes #971: Add a Protobuf linter to the project #1186
Conversation
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.
Overall looks good! I had a question mainly about why we are removing the except cases. Also I want to wait and see if its running okay in CircleCI before approving so let's wait on that
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.
I think the linters job is failing while trying to install buf: https://app.circleci.com/pipelines/github/oppia/oppia-android/3415/workflows/c8e3f4af-2b51-4c75-b761-ded3b37fbe3e/jobs/6809/parallel-runs/0/steps/0-104
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.
Thanks @anandwana001! This generally LGTM. Just had a few comments.
Locally working fine. Need to understand the task Changing |
Overall its going on the right track @anandwana001 ! Just a couple things - we want to enforce the enum checks that buf is asking for, so let's not exclude that and instead make those changes in our enums. Otherwise just some nits. Also note that the non-flaky-tests failed, but I think that's because of a circleCI load issue, can you rerun them and check? |
Ok, I will rerun and check. Does modifying enums in all these proto files will affect other parts of the project? |
@vinitamurthi Sure. I will do that. |
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.
Need some clarifications related to proto changes. Also, one of the reasons why the circle ci is failing is because of the changes in proto.
app/src/main/java/org/oppia/app/options/OptionControlsViewModel.kt
Outdated
Show resolved
Hide resolved
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. I have added one comment for Sarthak and Vinita.
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
Looks good, there are a few unresolved comments though, please wait on that. |
@anandwana001 Resolved all my comments. |
Thank you |
Merging this on behalf of @anandwana001 |
Explanation
install_buf
jobChecklist