Implement PERSISTENT_SUBSECTION_GRADE_CHANGED event#38862
Draft
bmtcril wants to merge 2 commits into
Draft
Conversation
added 2 commits
July 8, 2026 16:18
Adds a new openedx event that fires when a persistenty subsection grade changes and is event bus compatible. Needed for CBE work to help rate student mastery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This dusts off @mgwozdz-unicon 's #37978 for testing openedx/openedx-events#587 . It adds a new Openedx Event
PERSISTENT_SUBSECTION_GRADE_CHANGEDin order to support CBE's need to assess student competency at a skill.In draft until I can replace the branch references in requirements with a new release of openedx-events.
Current test failures are all query count. Mostly going from 47 to 48, one went from 44 to 48. I'm going to take a look at that one to try and understand if there are things we can do to improve it.
Supporting information
Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.
Testing instructions
If you are set up with an event bus configuration you can test all the way through by completing a problem in a graded subsection. The lms-worker should attempt to serialize and send the event. I've tested this path locally, and it worked, though I can't guarantee it will work with every problem currently.