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

While starting to look at typing, I found some code we took from CPython 2.7 and was not updated. Briefly tested manually, it looks like it's working (but please check, this is my first time touching CMS in quite some time). #1174

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

stefano-maggiolo
Copy link
Member

@stefano-maggiolo stefano-maggiolo commented Mar 26, 2021

This change is Reviewable

@codecov
Copy link

codecov bot commented Mar 26, 2021

Codecov Report

Merging #1174 (7cf9858) into master (81fb9df) will decrease coverage by 0.13%.
The diff coverage is 50.00%.

❗ Current head 7cf9858 differs from pull request most recent head 98cf097. Consider uploading reports for the commit 98cf097 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1174      +/-   ##
==========================================
- Coverage   63.67%   63.54%   -0.14%     
==========================================
  Files         232      232              
  Lines       17048    17042       -6     
==========================================
- Hits        10856    10830      -26     
- Misses       6192     6212      +20     
Flag Coverage Δ
functionaltests 47.42% <37.50%> (-0.15%) ⬇️
unittests 44.14% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cms/log.py 92.30% <50.00%> (+0.71%) ⬆️
cms/service/EvaluationService.py 72.88% <0.00%> (-4.73%) ⬇️
cms/db/base.py 86.13% <0.00%> (-2.98%) ⬇️
cms/service/esoperations.py 81.25% <0.00%> (-2.78%) ⬇️
cms/db/util.py 54.07% <0.00%> (-1.49%) ⬇️
cms/grading/Job.py 88.18% <0.00%> (-1.11%) ⬇️
cms/grading/tasktypes/Batch.py 96.55% <0.00%> (-0.69%) ⬇️
cms/db/filecacher.py 77.09% <0.00%> (-0.65%) ⬇️
cms/service/ProxyService.py 67.17% <0.00%> (-0.51%) ⬇️
cms/io/rpc.py 94.21% <0.00%> (ø)
... and 7 more

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 81fb9df...98cf097. Read the comment docs.

Copy link
Member

@andreyv andreyv left a comment

Choose a reason for hiding this comment

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

As far as I can see, the upstream changes are ported correctly, and the custom code is preserved. Looks good!

cms/log.py Show resolved Hide resolved
@stefano-maggiolo
Copy link
Member Author

Thank you Andrey!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants