Skip to content

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

@blarghmatey

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
Contributor

Choose a reason for hiding this comment

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

🟢 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
blarghmatey merged commit 214a5fc into main Sep 14, 2026
19 checks passed
@blarghmatey
blarghmatey deleted the tmacey/regen-master-aqueduct branch September 14, 2026 15:49
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