Skip to content

fix: add managemement command to filter hook#200

Open
ktyagiapphelix2u wants to merge 3 commits into
release-ulmofrom
ktyagi/filter
Open

fix: add managemement command to filter hook#200
ktyagiapphelix2u wants to merge 3 commits into
release-ulmofrom
ktyagi/filter

Conversation

@ktyagiapphelix2u

Copy link
Copy Markdown

Description

Add a pluggable filter hook in manage.py so Django management command execution can be intercepted by configured Open edX filter pipelines. This keeps edx-platform limited to the public integration point and avoids embedding org-specific monitoring logic here

Reference Ticket

https://2u-internal.atlassian.net/browse/BOMS-151

@ktyagiapphelix2u ktyagiapphelix2u marked this pull request as ready for review July 14, 2026 13:37
Copilot AI review requested due to automatic review settings July 14, 2026 13:37

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.

Pull request overview

Adds an Open edX Filters integration point to manage.py so Django management command execution can be intercepted (e.g., wrapped/monitored) via configured filter pipelines, keeping org-specific logic out of edx-platform.

Changes:

  • Introduces a new public filter type (org.openedx.platform.management.command.execute.requested.v1) for management command execution.
  • Wraps execute_from_command_line in a command_runner callable and passes it through the filter pipeline before execution.

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

Comment thread manage.py
Comment thread manage.py
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.

3 participants