Skip to content

[DEPR]: MFE runtime config API #37255

Open
Open

Description

@arbrandes

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

Activity

  1. self-assigned this
    on Aug 21, 2025
  2. added
    depr
    on Aug 21, 2025
  3. moved this to In Progress in frontend-baseon Aug 21, 2025
  4. moved this from In Progress to Todo in frontend-baseon Jan 14, 2026
  5. added theissue type on Jan 14, 2026
  6. changed the issue type fromtoon Jan 28, 2026
  7. removed their assignment
    on Apr 23, 2026
  8. moved this from Draft to Transition Unblocked in DEPR: Deprecation & Removalon Nov 18, 2026
  9. added this to the Xylon.1 milestone on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    depr

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions