Skip to content

feat: add SupportContactContextRequested filter - #390

Merged
pwnage101 merged 1 commit into
openedx:mainfrom
brobro10000:brobro10000/ENT-11574
Sep 9, 2026
Merged

feat: add SupportContactContextRequested filter#390
pwnage101 merged 1 commit into
openedx:mainfrom
brobro10000:brobro10000/ENT-11574

Conversation

@brobro10000

@brobro10000 brobro10000 commented Sep 3, 2026

Copy link
Copy Markdown
Member

ENT-11574

Adds a filter that lets pipeline steps enrich the support-contact tags list:
SupportContactContextRequested (org.openedx.learning.support.contact.context.requested.v1).

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 (asserts run_filter invokes the pipeline
and returns the expected value).

Locally verified: pytest openedx_filters/learning/tests/test_filters.py — 75 passed, 99% line
coverage on filters.py. mypy clean. isort --check-only clean.

Changelog / version

Bumped __version__ to 3.10.0 and added a CHANGELOG.rst entry, matching current practice
(see #391). Note: #391 is also unmerged and claims 3.10.0 — whichever of us merges second will
need a quick rebase to the next version slot; that's expected/normal, not a blocker.

@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574 branch from 407df09 to 7e96a3c Compare September 8, 2026 12:37
@brobro10000 brobro10000 changed the title feat: add SupportContactContextRequested and SupportEnrollmentDataRequested filters feat: add SupportContactContextRequested filter Sep 8, 2026
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574 branch from 7e96a3c to 19dc1e8 Compare September 8, 2026 14:01
Comment thread openedx_filters/learning/filters.py Outdated
Comment thread openedx_filters/learning/filters.py Outdated
Comment thread openedx_filters/learning/filters.py Outdated
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574 branch from 19dc1e8 to 353279b Compare September 8, 2026 16:38
brobro10000 added a commit to brobro10000/openedx-filters that referenced this pull request Sep 8, 2026
ENT-11574

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.
Comment thread openedx_filters/learning/filters.py Outdated
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574 branch from 353279b to e158b17 Compare September 9, 2026 16:07
@brobro10000
brobro10000 marked this pull request as ready for review September 9, 2026 16:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 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 ⚠️ Failed 2026-09-09T16:27:42.809456Z e158b17 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.

Adds a filter that lets pipeline steps enrich the support-contact tags list.
run_filter returns a tuple of all its inputs (tags, user), matching the
convention used by every other filter in this module — pipeline steps that
need the current request can pull it from crum themselves rather than
having it threaded through the filter signature. Includes unit tests.

ENT-11574
@brobro10000
brobro10000 force-pushed the brobro10000/ENT-11574 branch from e158b17 to 84cf8c7 Compare September 9, 2026 16:35
brobro10000 added a commit to brobro10000/openedx-filters that referenced this pull request Sep 9, 2026
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
@pwnage101
pwnage101 merged commit 1c96e42 into openedx:main Sep 9, 2026
9 checks passed
brobro10000 added a commit to brobro10000/openedx-filters that referenced this pull request Sep 9, 2026
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 added a commit to brobro10000/openedx-filters that referenced this pull request Sep 10, 2026
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 added a commit to brobro10000/openedx-filters that referenced this pull request Sep 10, 2026
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
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