It is possible to get an inconsistent state where the overall badge count (mw-echo-notifications-badge) is not the sum of Alerts + Messages.
When the data changes for either Alerts or Messges, the UI should be updated for all three elements. mw-echo-notifications-badge should be the sum of the two underlying counts.
Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=71080
https://bugzilla.wikimedia.org/show_bug.cgi?id=71775
https://bugzilla.wikimedia.org/show_bug.cgi?id=70255