Skip to content

chore: Remove non-celery code owner monitoring code and docs - #551

Open
rahulkanneri-2u wants to merge 1 commit into
openedx:masterfrom
rahulkanneri-2u:boms-241/code-owner-cleanup-unblocked
Open

chore: Remove non-celery code owner monitoring code and docs#551
rahulkanneri-2u wants to merge 1 commit into
openedx:masterfrom
rahulkanneri-2u:boms-241/code-owner-cleanup-unblocked

Conversation

@rahulkanneri-2u

@rahulkanneri-2u rahulkanneri-2u commented Sep 1, 2026

Copy link
Copy Markdown

Removes the non-celery code owner monitoring code, docs, and the new_relic_search script, since this functionality is 2U-specific and has already been replaced by plugin-based instrumentation. The celery task decorator (set_code_owner_attribute) and its shared helpers are intentionally left in place, since it is still in active use and its removal is tracked separately.

Description:

Removes CodeOwnerMonitoringMiddleware and its supporting non-celery utilities, tests, and docs, plus the new_relic_search.py script and its docs. This is a trimmed-down replacement for #547, which mixed in premature removal of utils.py (the still-in-use celery decorator, set_code_owner_attribute). This PR leaves utils.py, test_utils.py, and the celery-related ADRs untouched.

JIRA:

#469

Dependencies:

None.

Merge deadline:

None currently.

Installation instructions:

None.

Testing instructions:

None.

Reviewers:

  • tag reviewer

Merge checklist:

  • All reviewers approved
  • CI build is green
  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

Post merge:

  • Create a tag
  • Check new version is pushed to PyPi after tag-triggered build is
    finished.
  • Delete working branch (if not needed anymore)

Author concerns:

List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.

Removes the CodeOwnerMonitoringMiddleware, its supporting utilities,
and the new_relic_search.py script/docs, since this web-request-based
monitoring is 2U-specific and has already been replaced by plugin-based
instrumentation. The celery task decorator (set_code_owner_attribute)
and its shared helpers are intentionally left in place, since it is
still in active use and its removal is tracked separately.

Refs openedx#469
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.

1 participant