Skip to content

feat: add SupportEnrollmentDataRequested filter - #393

Open
brobro10000 wants to merge 1 commit into
openedx:mainfrom
brobro10000:brobro10000/ENT-11574-enrollment
Open

feat: add SupportEnrollmentDataRequested filter#393
brobro10000 wants to merge 1 commit into
openedx:mainfrom
brobro10000:brobro10000/ENT-11574-enrollment

Conversation

@brobro10000

@brobro10000 brobro10000 commented Sep 8, 2026

Copy link
Copy Markdown
Member

ENT-11574

Companion PR to the already-open support-contact-tag PR set (openedx-filters#390,
edx-enterprise#2688, openedx-platform#39076, edx-platform#455) — this one covers the
other half of ENT-11574's acceptance criteria: enterprise enrollment data for the support
enrollment view.

Adds SupportEnrollmentDataRequested (org.openedx.learning.support.enrollment.data.requested.v1)
— lets pipeline steps inject enterprise enrollment data into the support enrollment lookup.

Related PRs

Testing

New: unit tests for the filter class in openedx_filters/learning/tests/test_filters.py,
matching the existing per-filter-class test pattern.

Locally verified: pytest openedx_filters/learning/tests/test_filters.py — 75 passed. mypy
clean. isort --check-only clean.

Changelog / version

Bumped __version__ to 3.11.0 (3.10.0 already claimed by the sibling contact-tag PR) and
added a CHANGELOG.rst entry, matching current practice.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-10T16:30:39.838505Z 1d1fa1d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread openedx_filters/learning/filters.py Outdated
Comment thread openedx_filters/learning/filters.py Outdated
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574-enrollment branch from 1d1fa1d to c0a3d1c Compare September 10, 2026 18:01
Adds a filter that lets pipeline steps inject enterprise enrollment data
into the support enrollment lookup view. run_filter returns a tuple of all
its inputs (enrollment_data, user), matching the convention used by every
other filter in this module (per pwnage101's review feedback on the
sibling SupportContactContextRequested filter in PR openedx#390). Includes unit
tests.

ENT-11574
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574-enrollment branch from c0a3d1c to 4a1172e Compare September 10, 2026 18:05
@brobro10000

Copy link
Copy Markdown
Member Author

@pwnage101 addressed both docstring suggestions in the latest commit — dropped the "with additional enrollment records" framing from the class summary, and reworded the Purpose paragraph to say pipeline steps can inject new records or augment existing ones, rather than implying additive-only enrichment. CI is green.

@pwnage101

Copy link
Copy Markdown
Contributor
Screenshot 2026-09-10 at 13 00 51

Please delete all this highlighted text from the commit message, it's just more irrelevant information containing a history of past conversions.

@pwnage101 pwnage101 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.

LGTM, just simplify that commit message

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