Skip to content

feat: hq-10825 enable residential features on mitxonline.#4629

Open
Ardiea wants to merge 3 commits into
mainfrom
md/202605_edx_consolidation
Open

feat: hq-10825 enable residential features on mitxonline.#4629
Ardiea wants to merge 3 commits into
mainfrom
md/202605_edx_consolidation

Conversation

@Ardiea
Copy link
Copy Markdown
Member

@Ardiea Ardiea commented May 15, 2026

What are the relevant tickets?

https://github.com/mitodl/hq/issues/10825

Description (What does it do?)

As part of consolidating MITx Residential courses into the mitxonline deployment, several application-level configuration changes are needed in ol-infrastructure. These enable Canvas integration and other residential features, and reconcile conflicting settings between the two deployments.

Copilot AI review requested due to automatic review settings May 15, 2026 14:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the mitxonline Open edX (edxapp) infrastructure configuration to support Canvas integration and other “residential” feature toggles as part of consolidating MITx Residential courses into the mitxonline deployment.

Changes:

  • Adds additional waffle flags for mitxonline CI/QA/Production stacks and introduces edxapp:canvas_base_url stack config.
  • Updates edxapp k8s interpolated config generation to trust Canvas for CSRF and include MIT IdP in CORS for mitxonline.
  • Enables additional feature flags in the mitxonline FEATURES config (Canvas integration, rapid response author view, instructor background tasks, higher problem response cap).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/ol_infrastructure/applications/edxapp/Pulumi.mitxonline.QA.yaml Adds new mitxonline waffle flags and sets edxapp:canvas_base_url.
src/ol_infrastructure/applications/edxapp/Pulumi.mitxonline.Production.yaml Adds new mitxonline waffle flags and sets edxapp:canvas_base_url.
src/ol_infrastructure/applications/edxapp/Pulumi.mitxonline.CI.yaml Adds new mitxonline waffle flags and sets edxapp:canvas_base_url.
src/ol_infrastructure/applications/edxapp/k8s_configmaps.py Extends mitxonline-specific interpolated config (CORS/CSRF + Canvas base URL wiring).
src/ol_infrastructure/applications/edxapp/config_builder.py Enables additional mitxonline feature flags relevant to residential/Canvas functionality.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +279 to 283
config["CORS_ORIGIN_WHITELIST"].append("https://idp.mit.edu")
config["CSRF_TRUSTED_ORIGINS"] = [
"https://canvas.mit.edu",
f"https://{domains['lms']}",
f"https://{domains['studio']}",
Comment thread src/ol_infrastructure/applications/edxapp/Pulumi.mitxonline.CI.yaml Outdated
Comment thread src/ol_infrastructure/applications/edxapp/Pulumi.mitxonline.QA.yaml Outdated
Ardiea and others added 2 commits May 15, 2026 13:32
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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