Skip to content

build: Default the dev MFE config API URL to local.openedx.io - #877

Merged
feanil merged 1 commit into
masterfrom
feanil/default_dev_config_url
Aug 10, 2026
Merged

build: Default the dev MFE config API URL to local.openedx.io#877
feanil merged 1 commit into
masterfrom
feanil/default_dev_config_url

Conversation

@feanil

@feanil feanil commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Defaults the dev npm script's MFE_CONFIG_API_URL to http://local.openedx.io:8000/api/mfe_config/v1 instead of http://localhost:8000/....

Fetching MFE config from local.openedx.io keeps the LMS, Studio, and MFEs under one *.local.openedx.io domain, which avoids localhost-specific CORS/cookie carve-outs and better matches a production setup. It works with Tutor dev (whose default LMS host is local.openedx.io) and with the upcoming openedx-platform bare-metal development.py config.

Motivated by openedx/openedx-platform#37444.

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.57%. Comparing base (f8f14f5) to head (4befa49).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #877   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files         165      165           
  Lines        3632     3632           
  Branches     1001      997    -4     
=======================================
  Hits         3435     3435           
  Misses        184      184           
  Partials       13       13           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@feanil
feanil marked this pull request as ready for review August 7, 2026 20:15
@brian-smith-tcril
brian-smith-tcril enabled auto-merge (squash) August 10, 2026 17:40
auto-merge was automatically disabled August 10, 2026 17:43

Pull request was closed

@brian-smith-tcril

Copy link
Copy Markdown
Contributor

commenting to see if that gets CLA to work

Fetching MFE config from local.openedx.io:8000 instead of localhost:8000
keeps the LMS, Studio, and MFEs under one *.local.openedx.io domain, which
avoids localhost-specific CORS/cookie carve-outs and better matches a
production setup.

Works with Tutor dev (whose default LMS host is local.openedx.io) and with
the upcoming openedx-platform bare-metal development.py config.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@feanil
feanil force-pushed the feanil/default_dev_config_url branch from 9d46769 to 4befa49 Compare August 10, 2026 21:12
@feanil
feanil enabled auto-merge August 10, 2026 21:12
@feanil
feanil merged commit 2e944eb into master Aug 10, 2026
6 checks passed
@feanil
feanil deleted the feanil/default_dev_config_url branch August 10, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants