-
Notifications
You must be signed in to change notification settings - Fork 75
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
ticketvote: Add cache fsck #1531
Conversation
@lukebp ready for a review mate 👍 |
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 left a couple comments, but overall, this is really nice. The quality of your code has dramitically improved this year. This PR clean, well documented, and reads well. Good job.
Hey @lukebp appreciate it mate. You've been an excellent team lead, so I also have you to thank for. This is ready for another look 👍 |
Actually still fixing one thing @lukebp will push in a bit |
Good to go now @lukebp |
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.
It doesn't look like you've tested this against all record status.
Populate your backend with the seedproposals
command to get proposals for all record statuses.
$ pictl seedproposals --comments=0 --commentvotes=0 [adminEmail] [adminPass]
The pictl voteinv
response should be the same before and after the fsck.
This fixes a bug that was causing the vote status of non-public proposals to be returned incorrectly from the summary plugin command. The vote status was being returned as `unauthorized` when it should be `ineligible`.
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.
tACK
This diff adds a
fsck
command for the ticketvote plugin. For everyrecord of the provided tokens, it:
Part of #1511