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

#257 - Merge Release v1.15.0 into main #3940

Merged
merged 8 commits into from
Nov 14, 2024
Merged

#257 - Merge Release v1.15.0 into main #3940

merged 8 commits into from
Nov 14, 2024

Conversation

bidyashish
Copy link
Collaborator

@bidyashish bidyashish commented Nov 14, 2024

sh16011993 and others added 8 commits November 4, 2024 17:15
### The following are achieved in this hotfix:

- SIN Validation - Gender Field Limit
(#3839)
- SINF restriction bridge mapping and rename to SINR
(#3846)
- Virus Scanning - Not functioning PROD
(#3854)
- Modify process that reads SIN & CRA verification response files
(#3835)
- Hotfix: Bulk uploads: Unexpected error while uploading the file
displays when "Validate" or "Create now" are selected for valid bulk
upload
- Virus Scanning - Empty File Check
- Hotfix: Change file naming convention of the SIN validation request
file
- Hotfix: Fix for withdraw upload
- Hotfix: Name change for CRA Response file
- Parse the last 2 characters in NEB as decimal places
- Update PTMSFAA File Name

---------

Co-authored-by: Ashish <[email protected]>
Co-authored-by: Andre Pestana <[email protected]>
Co-authored-by: Lewis Chen <[email protected]>
Co-authored-by: Andrew Boni Signori <[email protected]>
Co-authored-by: Dheepak Ramanathan <[email protected]>
## Main PR Goal

- Increase the log level at the `SFTPIntegrationBase` without disrupting
the consumer's methods and try to limit the amount of refactoring.
- Deploy to PROD in the next possible release to allow troubleshooting
of current intermittent issues while archiving files.

### Changes

- Adapted the `LoggerService.error` to receive a friendly error and log
the error itself, keeping it compatible with the existing methods.
- Added log messages to all base SFTP operations in the
`SFTPIntegrationBase`. The errors are reshown keeping the current
behavior for current method consumers.
- Adjusted the API `mais.ts` that was using the log context.
- Adjusted the global error handler to generate only one log entry
instead of three.
- Even though the `SFTPIntegrationBase` method is now generating more
logs, the archive operation error handling was adjusted to ensure the
exception details are logged.
- Small refactor to stop passing the `SFTP_ARCHIVE_DIRECTORY` for every
archive method.
)

Fix issues from the previous PR for better logging. The main log from
the SFTP base would still work but ensuring the logs are added to the
Job in some way makes it easier for troubleshooting.
The goal is to have all the methods following similar archive catch
handling doing something closet to each other.

See the example below of a sample that will display errors and `causes`.

![image](https://github.com/user-attachments/assets/dbb7e668-38d0-4f04-95a0-6c09720f308b)
…#3903)

- Upgrade the [ssh2-sftp-client to version
11.0.0](https://www.npmjs.com/package/ssh2-sftp-client).
- Minor changes for the logging.
…rttime (#3913)

**As a part of this PR, the scheduler
`DisbursementReceiptsFileIntegration` is being enabled for Parttime.**
- Update the gender to have a white space as a default option.
- Adjusted and created some E2E tests for e-Certs.
- Adjusted MSFAA E2E that was already using "preferNotToAnswer".
- SIN is using the same method from e-Cert and MSFAA.
Adjusted the CSL balance imported to have 2 decimals places.
- Masked the `totalFamilyIncome` following the same approach used to
mask the MSFAA.
- Masked only for public institutions.
- The method used to format the money in the NOA UI when it is a number
has no issues with the "masked" string.

![image](https://github.com/user-attachments/assets/9ae48b52-d619-442a-82cf-65db7a9c20c1)

### Sample UI with the masked value


![image](https://github.com/user-attachments/assets/d6eaf9c7-c568-44a2-b7ce-0c1cbeb58781)
@bidyashish bidyashish self-assigned this Nov 14, 2024
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.19% ( 3720 / 16761 )
Methods: 10.28% ( 214 / 2081 )
Lines: 25.54% ( 3228 / 12638 )
Branches: 13.61% ( 278 / 2042 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.43% ( 583 / 891 )
Methods: 59.26% ( 64 / 108 )
Lines: 68.54% ( 464 / 677 )
Branches: 51.89% ( 55 / 106 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.92% ( 1243 / 1430 )
Methods: 88.57% ( 124 / 140 )
Lines: 87.77% ( 1055 / 1202 )
Branches: 72.73% ( 64 / 88 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 66.91% ( 5777 / 8634 )
Methods: 64.65% ( 715 / 1106 )
Lines: 70.85% ( 4537 / 6404 )
Branches: 46.71% ( 525 / 1124 )

@andrewsignori-aot andrewsignori-aot changed the title Release/v1.15.0 #257 - Merge Release v1.15.0 into main Nov 14, 2024
Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

👍

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

Successfully merging this pull request may close these issues.

3 participants