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

Figures bug fixes #213

Merged
merged 5 commits into from
May 16, 2020
Merged

Figures bug fixes #213

merged 5 commits into from
May 16, 2020

Conversation

johnbaldwin
Copy link
Contributor

@johnbaldwin johnbaldwin commented May 7, 2020

  • Addresses progress data pipeline errors in LearnerCourseDetails serializer
  • Added testing for LearnerCourseGradeMetricsManager
  • Updates LearnerCourseDetailsSerializer.get_prgress_data check if there is not a record to process
  • Adds serializer testing for the above
  • Fixes Ginkgo migration for a Django 1.8 -> 1.11 incompatibility

Django post 1.8 introduced a site model change that is not backward
compatible, so we have a conditional dependency depending on the Django
version
Test fails because a datetime based query returns empty results when
freezegun is enabled in Ginkgo. Skipping test if environment is Ginkgo
until we can make time to investigate and fix
If there aren't any matching LearnerCourseGradeMetrics records matching
the filtering criteria then an exception is raised and trapped,
triggering an error log.

This does not change the behvior of the method. What is does is reduce
logging noise to the log files and also does not create a
`PipelineError` table log enty, saving database space
Copy link
Contributor

@OmarIthawi OmarIthawi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @johnbaldwin. I need to unassign myself from this to focus on Multi-Tenant Emails.

@melvinsoft
Copy link
Contributor

@johnbaldwin I'll review this one today.

@codecov-io
Copy link

codecov-io commented May 16, 2020

Codecov Report

Merging #213 into master will decrease coverage by 0.18%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #213      +/-   ##
==========================================
- Coverage   91.31%   91.12%   -0.19%     
==========================================
  Files          37       37              
  Lines        1876     1882       +6     
==========================================
+ Hits         1713     1715       +2     
- Misses        163      167       +4     
Impacted Files Coverage Δ
figures/migrations/0010_site_monthly_metrics.py 90.90% <75.00%> (-9.10%) ⬇️
figures/serializers.py 94.37% <100.00%> (-1.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0293795...3f12fa3. Read the comment docs.

@johnbaldwin johnbaldwin merged commit 9eb0331 into master May 16, 2020
@johnbaldwin johnbaldwin deleted the john/fix_progress_percent branch May 16, 2020 19:53
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.

4 participants