You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it looks like this was happening because rfcbot set the reviewed status to true in the database, and then afterwards set it back when it parsed the status comment and the box hadn't been checked. Oops!
Quick fix: don't allow unchecking items to revert a reviewed status after rfcbot knows about it. This might be a problem down the road but will fix things for @michaelwoerister@vadimcn and @withoutboats who have been using the fcp reviewed command instead of the checkboxes.
The bot was doing this:
1. receive reviewed command, set db entry reviewed=true
2. finish processing commands, starts parsing the status comment for checkboxes
3. found an unchecked box, set db entry reviewed=false
4. updating the status comment based on the comment's prior state instead of command
The easy change was to make it so that step 3 doesn't happen. Checkboxes are one-way
(as was originally intended) -- no takesies-backsies.
Closesrust-lang#91
Former-commit-id: b765d8d
@alexcrichton, #61 (comment) -- this was definitely missed. Need to look at logs.
The text was updated successfully, but these errors were encountered: