For the past two years, ThunderMind Tech's founder, Muhammad Arslan, has been writing code for the Open edX platforms run by MIT Open Learning: the systems behind MITx Online, MIT xPRO and the Open edX LMS and Studio that power them. That work adds up to more than 115 merged pull requests across MIT Open Learning's repositories and over 50 pull requests to the upstream Open edX project itself.
This post collects the lessons that came out of it. If you run an Open edX site, are planning one, or are looking for an Open edX development partner, these are the things we wish someone had told us on day one.
What "the platform" actually means
Open edX is not one application. In production at MIT Open Learning, the work touched:
- edx-platform (LMS and Studio), the core Django monolith for courses, grading and authoring.
- Micro-frontends (MFEs) such as the Authoring, Instructor Dashboard, Learner Dashboard and Profile apps, written in React/TypeScript.
- XBlocks, the component system for problems, video and other course content.
- Custom plugins in MIT's open-edx-plugins repository.
- Surrounding Django apps like MITx Online and MIT xPRO (catalog, enrollment, e-commerce, Wagtail CMS pages) and the ODL video service.
- Infrastructure: Kubernetes config maps and deployment settings in ol-infrastructure.
Lesson zero: before estimating any Open edX feature, map which of these layers it touches. A "small UI change" often spans an MFE, an LMS API and a config map.
Lesson 1: Extend with plugins, don't fork the core
The fastest way to make an Open edX upgrade painful is to patch edx-platform directly. MIT Open Learning keeps its custom behaviour in plugins that hook into Open edX signals and settings.
One example: a plugin feature that creates a GitHub repository automatically when a course is created and keeps course content exported to Git. Later we extended it to support exporting content libraries to Git, which needed a matching change in edx-platform itself. That upstream change was proposed to Open edX rather than carried as a private patch.
Plugins also surface real-world timing issues. We hit a race condition where the export ran before a library was available in the modulestore, and fixed it by making the export wait for the content to land. Signal-driven code needs to assume events can arrive before data is committed.
Lesson 2: Fix it upstream, not just locally
Every bug you patch only in your fork is a bug you will re-patch on every upgrade. Over two years, more than 50 pull requests went to the Open edX organisation, including:
- A grading fix in xblocks-core so problem scores are calculated correctly when a problem is added to a graded subsection.
- Namespacing throttle cache keys in edx-platform so API views with the same rate-limit scope stop sharing buckets.
- Keeping the edx_video_id when video components are used inside content libraries.
- Showing the certificate report in the Instructor Dashboard MFE only when certificates are enabled.
- A cleaner "source of truth" for course settings in the Authoring MFE, so sidebar and outline edits stay in sync.
- Instructor API fixes for rescoring learners and small UI consistency fixes in the video player.
Upstream review is slower than merging locally, but the payoff is huge: the fix ships to every Open edX instance and you never maintain it alone. When a fix is urgent, backport it to the release you run and keep the upstream PR open in parallel.
Lesson 3: MFEs live and die by configuration
A surprising number of production issues were not code bugs at all. They were missing or wrong settings: an absent MFE_CONFIG block for edxapp, a relative URL where the Communications MFE needed an absolute one, a wrong marketing root URL, or a support link pointing to the default instead of MIT's help desk.
What helps:
- Keep MFE settings in version-controlled infrastructure code (for MIT, Kubernetes config maps), not hand-edited on servers.
- Test every MFE in a staging environment that mirrors production URLs and domains.
- When an MFE "looks broken", check runtime config before touching React code.
Lesson 4: The LMS is only half of an Open edX product
Learners rarely see Studio. They see the catalog, course pages, checkout and enrollment, and at MIT those live in separate Django apps that talk to Open edX.
- On MIT xPRO we built new Wagtail page types for external courses ("How you will learn", B2B sections, course overview pages), replaced a free-text duration with structured
min_weeks/max_weeksfields, and added validation so one course can't end up with duplicate pages. - On MITx Online we added a management command to retire course runs tied to an ending B2B contract and retuned the Celery beat schedule for retrying failed edX enrollments.
- On the video service we added bulk re-transcoding of collections and call-to-action links on videos.
The lesson: Open edX development is really Django and integration work. Enrollment sync, retries and data consistency between systems deserve as much attention as course features.
Lesson 5: Write the setup down
Getting edx-platform, MFEs and companion services running locally is the biggest barrier for new developers. One of our most-discussed contributions was documentation in MIT Open Learning's handbook covering Devstack and Tutor setup and how to integrate MITx services with a local Open edX. Good onboarding docs pay for themselves the first time someone new joins the project.
Lesson 6: Small PRs, clear tickets, tidy dependencies
- Every PR linked a ticket, explained what it does and how to test it, and included screenshots for UI changes. Reviewers move faster when they don't have to guess.
- Small, focused PRs (a config fix, a version bump, one validation rule) get merged; giant ones stall.
- Dependency hygiene matters: security bumps (for example djoser) and removing a legacy XBlock package that conflicted with newer requirements prevented much bigger upgrade problems later.
How this shapes the way ThunderMind Tech builds
The same habits now drive our own products: Raseed Pro (FBR-compliant invoicing), GetMeBed, True Proposals and ElectCrew. Django back ends, clean integrations, configuration in code, and small reviewable changes are how we ship reliably with a small team.
Our Open edX development services
If you run or are planning an Open edX site, we can help with:
- Custom Open edX plugins and XBlocks
- MFE customisation and theming (Authoring, Learner and Instructor dashboards)
- Integrations with catalogs, e-commerce, CRMs and enrollment systems
- Bug fixes, upgrades and upstream contributions to the Open edX project
- Tutor and Kubernetes deployment configuration
- Course export, Git workflows, video and reporting tooling
Let's talk about your Open edX project
Need an experienced team for Open edX development? Contact ThunderMind Tech and tell us what you're building. We'll come back with a clear plan, timeline and estimate. You can also reach us on LinkedIn.