Revert "Use Group#has_active_hooks? before building group webhook payloads"
What does this MR do and why?
Reverts !256561 (merged), which is blocking deployments.
ee/spec/features/groups/usage_quotas/seats_tab_spec.rb started failing in
about 20% of jobs right after !256561 (merged) merged (fcda1bdef887, 2026-09-24
19:32 UTC). The failure rate is 0 of 3,856 jobs before the merge and 38 of
291 after it, and !256561 (merged) is the only change between the last green master
SHA (f69e079cdd80) and the first failing one.
This revert restores master while the cause is confirmed. It is not a judgement on the change itself, which should be re-landed once the interaction with the seats page is understood.
Incident: gitlab-org/quality/analytics/ci-health-incidents#1325
Why !256561 (merged)'s own pipeline was green
It changed only ee/app/models/ee/group.rb, ee/app/models/ee/member.rb
and a model spec, so predictive test selection never ran this system spec.
Suspected mechanism (not yet proven)
The spec expects 4 / 5 Seats in use / Seats available but the page renders
4 / 5 Free seats used. In subscription_seats_statistics_card.vue,
hasFreePlan takes precedence, and it is plan.code === 'free' — so the
group now has a gitlab_subscription row it should not have. The only code
that creates one is EE::Namespace#generate_subscription, reached through
actual_plan from feature_available?, which the new has_active_hooks?
guard calls. Because the spec's group is a let_it_be, one example leaking
the row affects later ones, which fits an order-dependent ~20% rate.
How to set up and validate locally
bin/rspec ee/spec/features/groups/usage_quotas/seats_tab_spec.rbRun it with several seeds on master to see the failure, then with this revert applied to see it pass.