Well, that's the reason why they've been limiting addons in raid/combat environments since late Vanilla / TBC launch
If things go too far, they gut/restrict API, if this approach is impossible, they just don't use feature in question in later expansions (reforging case).