Repository navigation
Description
RFC Start Date
2025-08-27
Target Plan Accepted Date
2025-09-10
Target Transition Unblocked Date
Already unblocked: frontend-base sites get their configuration from /api/frontend_site_config/v1/.
Earliest Breaking Changes Unblocked Date
After Willow is released.
Earliest Open edX Named Release with Breaking Changes
Xylon
Rationale
The MFE runtime configuration API was created as an option for Tutor users to expose environment variables (normally configured via .env files in the root of MFE repositories) specific to their deployment without having to rebuild the mfe Docker image. However, we have moved away from .env files and environment variables in favor of more expressive Javascript configuration (such as env.config.jsx or frontend-base's site.config.tsx) which makes frontend plugins possible. The runtime config API, much like .env files, is incapable of supporting frontend plugins and other newer uses of configuration, notably frontend-base's.
Instead of modifying it to support a subset of modern configuration, we propose it be deprecated for removal along with the conversion of MFEs to frontend-base. Frontend-base should be initially modified to support partial runtime configuration via a simpler mechanism of loading JSON from an arbitrary URL, and eventually, via runtime loading of modules, also support full runtime configuration.
Removal
Replacement
Frontend-base should be initially modified to support partial runtime configuration via a simpler mechanism of loading JSON from an arbitrary URL, and eventually, via runtime loading of modules, also support full runtime configuration.
Deprecation
No response
Additional Info
This API is only called by legacy MFEs, so it goes away with them: see openedx/public-engineering#580.
Task List
No response
Task List
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTransition Unblocked
- StatusShow more project fieldsTodo
Activity
[FC-0118] docs: add ADR for canonical MFE configuration endpoint
docs: add ADR for canonical MFE configuration endpoint
[FC-0118] docs: ADR for documenting and consolidating internal MFE AP…
docs: ADR for documenting and consolidating internal MFE APIs (#38309)
docs: ADR for documenting and consolidating internal MFE APIs (#38309)
docs: ADRs for axim api improvements (#38738)
docs: ADRs for axim api improvements (openedx#38738)