-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Central-Ledger] Unable to upgrade Knex dependency on Central-Ledger #3096
Comments
Hey team! Please add your planning poker estimate with Zenhub @mdebarros @kleyow @vijayg10 @sri-miriyala @PaulGregoryBaker |
…er - mojaloop/project#3096 - added UV_THREADPOOL_SIZE config to circleci command for running integration tests - upgraded knex to latest version
Investigation findings indicate that there are no issues with regard to upgrade Knex, HOWEVER, the upgrade seems to cause more instabilities when running Integration Tests. This PR mojaloop/central-ledger#939 instead contains several changes to how Integration Tests are run on the Central-Ledger, specifically at the Central-Ledger Service is started as a seperate process on the CI script, instead of starting the Handlers inline to the Integration Tests. The following issue #3112 was created to investigate as to why the Integration Tests are so unstable when then Event Handlers are executing in-line. For the time being the above PR clearly separates the process which resolves the stability issue for the time being. |
…er (#939) fix(mojaloop/#3096): unable to upgrade knex dependency on centralLedger - mojaloop/project#3096 - added UV_THREADPOOL_SIZE config to CI command for running integration tests - upgraded knex to latest version The following issue mojaloop/project#3112 was created to investigate as to why the Integration Tests are so unstable when then Event Handlers are executing in-line. For the time being the above PR clearly separates the process which resolves the stability issue for the time being. The following changes were made as a work-around: - Integration Tests will no longer start the Event Handlers in-line. You will need to start the Central-Ledger Service as a seperate process (see updated documentation for more information) - Documentation for Integration Tests updated to reflect the above requirement - CI Job updated to start the Central-Ledger Service as a seperate Process prior to running Integration Tests - Added comments to where the commented out code for the initialization of the in-line Event Handlers referencing the above story. - Also made some changes to the Handler tests to handle failures instead of stalling the Integration Tests chore: maintenance updates - fixed audit issues - added missing kafka topics from docker-compose init kafka container to ensure the CL Service startup is clean
Summary:
Unable to upgrade Knex dependency on Central-Ledger
This also blocks the resolution of audits failing due to the follow vulnerability: GHSA-4jv9-3563-23j3
Severity:
(Low, Medium, High)
Priority:
(Critical, Medium, Low)
Expected Behavior
Integration Tests should pass after upgrading knex from 2.3.0 to 2.4.x.
Steps to Reproduce
Specifications
Notes:
Initial sev, pri:
The text was updated successfully, but these errors were encountered: