You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I want to fix the dependency versions being inconsistent across packages in Cacti. NOTE: This is the final phase and need to be done only once all the 13 phases are completed and merged in the repo
Targeted packages:
cactus-plugin-ccmodel-hephaestus
Root package.json related changes and any lingering version upgrades which might be needed in the time all the previous phases changes are included in the code
Run the script tools/custom-checks/check-dependency-version-consistency.ts with fix: true, note down the changes for the above targeted packages, stash and drop the changes, and proceed with fixing just those targeted packages.
Possible errors
The package being dependent on other packages can lead to conflicts in those dependent packages. Even if those newly failing package tests occur, fixing those in this phase becomes important or else we will have broken code in repo.
To test this scenario, simply create a PR for this task fixing only the targeted packages and have a lookout on CI for any failing tests. If we have any failing tasks, we should fix them as a part of this task
The fix might involve breaking changes, and shall be reported in the PR
For some dependencies, the suggest change might not be an exact version (due to it being the highest version among all packages), so instead of including the versions like >=1.2.3, fix the root package which has this sort of version and then include that in the conflicting package (a 2 way solution)
Acceptance Criteria
The above targeted packages have all the dependency version inconsistencies fixed
No new crashes are seen in CI
The text was updated successfully, but these errors were encountered:
Description
As a developer, I want to fix the dependency versions being inconsistent across packages in Cacti.
NOTE:
This is the final phase and need to be done only once all the 13 phases are completed and merged in the repoTargeted packages:
Depends on #3612
Solution:
Run the script tools/custom-checks/check-dependency-version-consistency.ts with
fix: true
, note down the changes for the abovetargeted packages
, stash and drop the changes, and proceed with fixing just those targeted packages.Possible errors
To test this scenario, simply create a PR for this task fixing only the targeted packages and have a lookout on CI for any failing tests. If we have any failing tasks, we should fix them as a part of this task
>=1.2.3
, fix the root package which has this sort of version and then include that in the conflicting package (a 2 way solution)Acceptance Criteria
The text was updated successfully, but these errors were encountered: