Add gradual rollout feature flags for fix pipeline trigger

Summary

  • Add two feature flags to control gradual rollout of the fix_pipeline/v1 flow trigger:
    • fix_pipeline_gradual_trigger_group (scoped to root_group): opts a group into the gradual rollout mechanism
    • fix_pipeline_gradual_trigger_gate (scoped to :request): controls the percentage of events that trigger within opted-in groups
  • Groups without the group flag enabled keep existing behavior unaffected

Test plan

  • Verify that without fix_pipeline_gradual_trigger_group enabled, fix pipeline triggers run as normal
  • Enable fix_pipeline_gradual_trigger_group for a test group and verify fix_pipeline_gradual_trigger_gate percentage controls execution
  • Verify non-fix-pipeline flow triggers are unaffected by both flags
  • RSpec: ee/spec/models/ee/project_spec.rb (execute_flow_triggers context)

🤖 Generated with Claude Code

Merge request reports

Loading