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: User profile not found on account creation #56

Merged
merged 1 commit into from
May 24, 2024

Conversation

bmtcril
Copy link
Contributor

@bmtcril bmtcril commented May 24, 2024

Sometimes the user profile sink would get run before the transaction creating the target row was committed in the LMS. This led to UserProfileNotFound errors and the data not making its way to ClickHouse. This delays creating the task until the transaction is committed.

Closes: #54

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Changelog record added
  • Fixup commits are squashed away

Copy link

github-actions bot commented May 24, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  platform_plugin_aspects
  __init__.py
  signals.py
  xblock.py
Project Total  

This report was generated by python-coverage-comment-action

@bmtcril bmtcril requested review from Ian2012 and saraburns1 May 24, 2024 12:27
Sometimes the user profile sink would get run before the transaction creating the target row was committed in the LMS. This led to UserProfileNotFound errors and the data not making its way to ClickHouse. This delays creating the task until the transaction is committed.
@bmtcril bmtcril force-pushed the bmtcril/fix_userprofilenotfound branch from 2e5c242 to 9dc7496 Compare May 24, 2024 12:41
@saraburns1
Copy link
Contributor

lgtm!

@bmtcril bmtcril merged commit c6d8515 into main May 24, 2024
10 checks passed
@bmtcril bmtcril deleted the bmtcril/fix_userprofilenotfound branch May 24, 2024 16:19
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.

bug: User profile errors on user creation
3 participants