Loading
Add the mfe_duo_chat_poc feature flag
What does this MR do and why?
Adds the mfe_duo_chat_poc wip feature flag for the Duo Chat micro-frontend (MFE) proof of concept. Later MRs in this stack use it to render agentic Duo Chat in the AI panel from the @gitlab-mfe/duo-chat Module Federation remote.
The flag is pushed to the frontend through gon, like the other Duo Chat flags. Nothing reads it yet.
This is MR 1 of a 4-MR stack, split from !233214:
- Feature flag (this MR)
- Build and runtime configuration: !268042 (merged)
- Context contract CI job: !268043 (merged)
- Agentic Duo Chat from the MFE in the AI panel: !268044
References
- gitlab-org#22344
- https://gitlab.com/gitlab-org/frontend/gitlab-mfe/-/blob/main/docs/architecture-rfc.md
- !233214
Screenshots or screen recordings
Not applicable: no visible change.
How to set up and validate locally
-
In the Rails console, enable the flag:
Feature.enable(:mfe_duo_chat_poc) -
Load any page and check that
gon.features.mfeDuoChatPocistruein the browser console.
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.
Edited by Rafa Frederico