KingsChat, an award-winning communication platform, faced a lot of legacy code issues that were impacting product stability and user experience. At the beginning of 2024, we have launched a recovery plan targeting specific pain points.
The main issues identified in the recovery plan involved critical components like CI/CD pipeline failures, inconsistent codebases, and outdated Objective-C code slowing down development and causing functional inconsistencies. These challenges were leading to a sluggish and error-prone deployment process, impeding the platform's ability to introduce new features effectively and maintain its market-leading position.
Refining CI/CD Processes:
We took charge of overhauling the CI/CD pipeline to ensure smooth operation. We managed to fix the process of making cuts, tagging, generating changelogs, setting versions, and creating release branches has been streamlined. This overhaul reduced manual release time significantly, improving from an unpredictable 30 minutes to two days, to just a few minutes.
Code Consistency and Modernization:
We eliminated most unused code, outdated projects, and duplicated classes, paving the way for the introduction of new functionalities using the latest technologies without causing further complications.
Standardizing Development Practices on iOS:
We established a standard for describing pull requests and commits. We also standardized the versions of tools used by the team.
Transition from Objective-C to Swift:
New functionalities were developed in Swift, and several smaller classes were transitioned from Objective-C, modernizing the codebase and facilitating easier maintenance and updates.
These focused improvements have substantially enhanced the platform's stability and development velocity in six months. Here are some specific achievements:
These advancements have not only elevated the technical standards of our client, but have also positively impacted business metrics, contributing to a more stable, robust, and innovative product.