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

Refactor send reports #2927

Merged
merged 4 commits into from
Mar 31, 2020
Merged

Refactor send reports #2927

merged 4 commits into from
Mar 31, 2020

Conversation

dracos
Copy link
Member

@dracos dracos commented Mar 16, 2020

This refactors send reports to not be one monolithic function, and moves the per-row processing to its own package for future use elsewhere. It also takes the 'verbose' end summary of failures out to its own script.

@dracos dracos changed the base branch from master to 2788-open311-save-drop-extra-changes March 16, 2020 16:05
@dracos dracos requested a review from struan March 16, 2020 16:52
@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #2927 into master will increase coverage by 0.06%.
The diff coverage is 77.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2927      +/-   ##
==========================================
+ Coverage   83.05%   83.11%   +0.06%     
==========================================
  Files         239      240       +1     
  Lines       15081    15094      +13     
  Branches     2810     2806       -4     
==========================================
+ Hits        12526    12546      +20     
- Misses       1652     1653       +1     
+ Partials      903      895       -8
Impacted Files Coverage Δ
perllib/FixMyStreet/SendReport.pm 75.75% <ø> (ø) ⬆️
perllib/FixMyStreet/Cobrand/Northamptonshire.pm 70.9% <0%> (+2.48%) ⬆️
perllib/FixMyStreet/Cobrand/Bromley.pm 88.38% <100%> (-0.08%) ⬇️
perllib/FixMyStreet/Cobrand/Westminster.pm 72.54% <100%> (-0.53%) ⬇️
perllib/FixMyStreet/Cobrand/Greenwich.pm 53.57% <100%> (-3.1%) ⬇️
perllib/FixMyStreet/Roles/ConfirmOpen311.pm 88.88% <100%> (ø) ⬆️
perllib/FixMyStreet/SendReport/Open311.pm 84% <100%> (+2.18%) ⬆️
perllib/FixMyStreet/SendReport/Email.pm 86.11% <100%> (ø) ⬆️
perllib/FixMyStreet/Cobrand/CheshireEast.pm 78.94% <100%> (+3.5%) ⬆️
perllib/FixMyStreet/Cobrand/Bexley.pm 86.5% <100%> (+0.1%) ⬆️
... and 6 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 044eef4...7dff554. Read the comment docs.

@dracos dracos requested review from chrismytton and removed request for struan March 17, 2020 12:35
Copy link
Member

@chrismytton chrismytton left a comment

Choose a reason for hiding this comment

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

🔀

@dracos dracos force-pushed the 2788-open311-save-drop-extra-changes branch from bf4308d to f4f24f7 Compare March 30, 2020 13:33
@dracos dracos changed the base branch from 2788-open311-save-drop-extra-changes to master March 31, 2020 08:14
@dracos dracos merged commit 5eb5bc3 into master Mar 31, 2020
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