-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing fcp reviewed comment bug from DB race condition.
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. Closes #91
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters