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

18495 - Add Memorandum Update to COOP Correction - Update Filer, Legal-API, Emailer #2353

Merged
merged 5 commits into from
Dec 12, 2023

Conversation

Jxio
Copy link
Collaborator

@Jxio Jxio commented Dec 9, 2023

Issue #: /bcgov/entity18495

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@Jxio Jxio self-assigned this Dec 9, 2023
@Jxio Jxio requested review from seeker25 and argush3 December 9, 2023 00:56
Copy link

codecov bot commented Dec 9, 2023

Codecov Report

Merging #2353 (ecc702e) into main (79511cd) will decrease coverage by 1.54%.
Report is 51 commits behind head on main.
The diff coverage is 62.36%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2353      +/-   ##
==========================================
- Coverage   77.37%   75.84%   -1.54%     
==========================================
  Files         202       68     -134     
  Lines       11602     3299    -8303     
  Branches     1961      534    -1427     
==========================================
- Hits         8977     2502    -6475     
+ Misses       2043      594    -1449     
+ Partials      582      203     -379     
Flag Coverage Δ
entityemailer 70.41% <57.05%> (?)
entityfiler 80.54% <90.00%> (+0.14%) ⬆️
legalapi ?

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

Files Coverage Δ
...rvices/entity-emailer/src/entity_emailer/config.py 100.00% <100.00%> (ø)
...mailer/email_processors/correction_notification.py 76.41% <100.00%> (ø)
...iler/src/entity_emailer/message_tracker/tracker.py 83.96% <100.00%> (ø)
...vices/entity-emailer/src/entity_emailer/version.py 100.00% <100.00%> (ø)
...ocessors/filing_components/rules_and_memorandum.py 89.18% <100.00%> (+0.30%) ⬆️
..._services/entity-filer/src/entity_filer/version.py 100.00% <100.00%> (ø)
...e_services/entity-filer/src/entity_filer/worker.py 71.97% <100.00%> (+0.31%) ⬆️
.../filing_processors/filing_components/correction.py 93.49% <83.33%> (-0.53%) ⬇️
...rc/entity_filer/filing_processors/agm_extension.py 89.47% <89.47%> (ø)
...iler/email_processors/special_resolution_helper.py 69.64% <0.00%> (ø)
... and 4 more

... and 178 files with indirect coverage changes

Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

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

Looks good to me, do the outputs list need to change now to accommodate the fact someone uploaded a memorandum?

EG - changes here:

https://github.com/bcgov/lear/blob/75c7c6f925775e24a13679f429903e477c8ebfbf/legal-api/src/legal_api/reports/report.py#L999C10-L999C10

if filing.meta_data.get('correction', {}).get('uploadNewRules'):

Copy link

sonarcloud bot commented Dec 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Jxio Jxio changed the title 18495 - Add Memorandum Update to COOP Correction 18495 - Add Memorandum Update to COOP Correction - Update Filer, Legal-API, Emailer Dec 12, 2023
@Jxio
Copy link
Collaborator Author

Jxio commented Dec 12, 2023

After confirm with Karim, the legal-api unit tests have 3 failed cases for a while, not from this PR

@argush3
Copy link
Collaborator

argush3 commented Dec 12, 2023

After confirm with Karim, the legal-api unit tests have 3 failed cases for a while, not from this PR

yeah, we'll be fixing these broken tests in #18954

@Jxio Jxio merged commit e050a0f into bcgov:main Dec 12, 2023
15 of 17 checks passed
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.

None yet

3 participants