Automatic global group membership is sometimes updated on unrelated local group changes:
I suppose this is because the new global group was not initially populated with the users belonging to relevant local groups, so the change took effect the next time the local group membership was changed in any way?
I think we should fix it by populating the groups with a maintenance script. I am already working on one for the 'local-bot' group from T415588: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1234540. Should we run the script for the 'global-temporary-account-viewer' group as well?