Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: DB tx isolation and informative license logging #530

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

iloveagent57
Copy link
Contributor

Description

Track license changes in a celery task outside of the DB transaction block that updates the license state, so that task can read the committed updates to the license records.
Also add helpful logging to our license assignment/reminder email tasks. ENT-7795

Link to the associated ticket: https://openedx.atlassian.net/browse/ENT-7795

Testing considerations

  • Include instructions for any required manual tests, and any manual testing that has
    already been performed.
  • Include unit and a11y tests as appropriate
  • Consider performance issues.
  • Check that Database migrations are backwards-compatible

Post-review

Squash commits into discrete sets of changes

Track license changes in a celery task outside of the DB transaction
block that updates the license state, so that task can read the
committed updates to the license records.
Also add helpful logging to our license assignment/reminder email tasks.
ENT-7795
@iloveagent57 iloveagent57 force-pushed the aed/fix-bulk-assignment-tracking branch from d8a3efe to 3790e16 Compare October 5, 2023 19:52
@iloveagent57 iloveagent57 force-pushed the aed/fix-bulk-assignment-tracking branch from e38222a to be7edcb Compare October 5, 2023 19:59
@iloveagent57 iloveagent57 merged commit 0ae12f4 into master Oct 5, 2023
5 of 6 checks passed
@iloveagent57 iloveagent57 deleted the aed/fix-bulk-assignment-tracking branch October 5, 2023 20:03
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