Schedule rearchiving calls in a list and apply later in core:archive. CC @tsteur
ideally we also adjust removeInvalidationsSafely to additionally remove any entry from the list that matches the given pluginName (and maybe idsites)?
I'll be mostly in meetings tmrw. @sgiehl could you test this tomorrow? and then we adjust the plugins that use this in activate/deactivate plugin
tested that locally with adjusted Cohorts PR. Besides the comments I've added and #16705 it seems to work as expected.
Guess you missed that comment: https://github.com/matomo-org/matomo/pull/16702#discussion_r522023501
Will create a PR to fix that
Guess you missed that comment: #16702 (comment)
yes, missed it, the tab that had this github page didn't update I guess