FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: drop CodeOwnerMonitoringMiddleware from the master LMS settings models by blarghmatey · Pull Request #231 · mitodl/lehrer · GitHub

/ lehrer Public

fix: drop CodeOwnerMonitoringMiddleware from the master LMS settings models - #231

Merged
blarghmatey merged 2 commits into
mainfrom
tmacey/regen-master-aqueduct
Sep 14, 2026
Merged

blarghmatey merged 2 commits into
mainfrom
tmacey/regen-master-aqueduct

Conversation

Copy link
Copy Markdown
Member

openedx/openedx-platform#39047 (319c1964e3, merged 2026-09-10) removed edx_django_utils.monitoring.CodeOwnerMonitoringMiddleware from MIDDLEWARE in lms/envs/common.py. Both committed master LMS models still list it, so settings-verify reports drift on every master cell: main's scheduled run at 2026-09-14T07:27Z failed on mit-ol mitxonline, mitx, mitx-staging and generic, and the same drift fails the three settings checks on #229.

  • deployments/mit-ol/settings/lms/models/aqueduct.py: regenerated with dagger call platform regenerate-aqueduct-settings --deployment-name mitxonline --release-name master --build-manifest deployments/mit-ol/build_manifest.yaml. The one-line removal is the only change; the CMS model rendered identical to what is committed.
  • deployments/generic/settings/lms/models/aqueduct.py: the same line removed by hand, matching the diff main's run printed for generic/master/generic (one hunk, LMS only).

🤖 Generated with Claude Code

https://claude.ai/code/session_01J43t1WXNsmVV5mbdzxv6iT

blarghmatey and others added 2 commits September 14, 2026 11:02
…ware removal

edx-platform master dropped CodeOwnerMonitoringMiddleware from MIDDLEWARE,
so the committed model no longer matches a fresh render and settings-verify
fails for every master cell, including main's scheduled run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J43t1WXNsmVV5mbdzxv6iT
…settings model

Same upstream removal as the mit-ol model. main's scheduled settings-verify
reported the identical one-line drift for generic/master/generic.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J43t1WXNsmVV5mbdzxv6iT
Copilot AI balanced review requested due to automatic review settings September 14, 2026 15:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

🟢 Approval recommended

Both reviewed files align with the upstream middleware configuration.

Pull request overview

Updates master LMS Aqueduct settings models to match upstream by removing obsolete middleware.

Changes:

  • Removed CodeOwnerMonitoringMiddleware from both LMS models.
  • Left CMS models unchanged.
File summaries
File Summary
deployments/mit-ol/settings/lms/models/aqueduct.py Removed stale middleware entry.
deployments/generic/settings/lms/models/aqueduct.py Removed stale middleware entry.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

blarghmatey merged commit 214a5fc into main Sep 14, 2026
19 checks passed
blarghmatey deleted the tmacey/regen-master-aqueduct branch September 14, 2026 15:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL