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

Send proper context to celery email notification task #3653

Merged
merged 2 commits into from
Feb 22, 2018

Conversation

humitos
Copy link
Member

@humitos humitos commented Feb 22, 2018

This solves an issue in the .com site that we are experimenting.

Although I couldn't get the error report in .org Sentry, I'm not receiving the email on FAILED builds in my .org account either. So, I think this PR will also fix the problem here.

NOTE: by sending the objects as dictionaries we can continue using the templates as they are. Antoher approach could be sending all that data in separate fields like version_verbose_name or project_name and adapting the templates to this.

Ref: https://github.com/readthedocs/readthedocs-corporate-ops/issues/77

@agjohnson
Copy link
Contributor

I think this looks good! The context data structure makes sense to me.

I thought we solved this problem here already, but perhaps this was a different email i'm thinking of.

@agjohnson agjohnson merged commit 1b58bed into master Feb 22, 2018
@humitos humitos added PR: work in progress Pull request is not ready for full review and removed PR: ready for review labels Feb 22, 2018
@stsewd stsewd deleted the humitos/notifications/fix branch August 15, 2018 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: work in progress Pull request is not ready for full review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants