Summary
For subscriptions of GitHub projects to MM channels, all of the subscription configuration is stored in the subscriptions portion of the KV store slice that is used by the Github plugin. In order to avoid race conditions and conflicts when two users are concurrently editing subscriptions, we should wrap the operations in a function like atomicModify used in the Jira plugin.
Ticket Link
https://mattermost.atlassian.net/browse/MM-18722
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Plugin: GitHub" community channel.
New contributors please see our Developer's Guide and our Plugins Guide.
Summary
For subscriptions of GitHub projects to MM channels, all of the subscription configuration is stored in the
subscriptionsportion of the KV store slice that is used by the Github plugin. In order to avoid race conditions and conflicts when two users are concurrently editing subscriptions, we should wrap the operations in a function likeatomicModifyused in the Jira plugin.Ticket Link
https://mattermost.atlassian.net/browse/MM-18722
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Plugin: GitHub" community channel.
New contributors please see our Developer's Guide and our Plugins Guide.