Add warning alert for composite_identity_forbidden

What does this MR do and why?

This change improves how pipeline error messages are displayed to users. Previously, all pipeline errors showed the same red danger alert with a generic error list. Now, the system provides special handling for a specific type of error called "composite identity forbidden" - when this occurs, users see a yellow warning alert instead of red, along with helpful guidance that directs them to the CI/CD settings page to enable automatic pipeline execution. The warning also includes a "Verify changes" button that takes users to either the merge request or commit page to review their code changes. For all other types of pipeline errors, the original red danger alert behavior remains unchanged. The update also includes new text translations and comprehensive tests to ensure the different error scenarios work correctly.

References

  • #535705

Screenshots or screen recordings

Before After
Screenshot_2025-09-15_at_19.50.56 Screenshot_2025-09-15_at_19.48.16
Screenshot_2025-09-15_at_19.51.11 Screenshot_2025-09-15_at_19.49.04
Screenshot_2025-09-15_at_19.50.33 Screenshot_2025-09-15_at_19.47.51
Screenshot_2025-09-15_at_19.53.25 Screenshot_2025-09-15_at_19.48.04

How to set up and validate locally

Follow this instructions: !191864 (comment 2614405736)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #535705

Edited by Anna Vovchenko

Merge request reports

Loading