iOS Infra Stuff
Enablement of Linux Runner in Gitlab-CI for
danger-swiftlintSince we can run
Swiftin Linux by usingSwift Toolchain, I enableddanger-swiftlintto run on a CI Linux Runner.
The process was significantly faster on Linux, completing in just
38 seconds, compared to over3 minuteson Xcode Cloud CI.SwiftLintQuarantine Strategy to resolve thousands of Lint ViolationTo address the numerous
SwiftLintviolations scattered across hundreds of files in our project, I'm introducing a new approach known as the Quarantine Strategy.
The Quarantine Strategy involves classifying files into two categories: healthy and infected. To maintain the integrity of healthy files, we enforce
danger-swiftlinton every Pull Request. Simultaneously, we work to reduce the number of infected files over time.AI-Powered Pull Request Reviewer
I make a POC for Pull Request reviewer using Gemini 1.5 Pro. The concept is letting Gemini to scan through PR changes, and give its opinion through the PR comment. Following picture shows the result of AI-powered review in PR comment.

Create Default Release Notes for
TestFlightandFirebaseBuildI create a script for CI to parse the list of commit message on release branch to be the default release notes on TestFlight. This help us to see the changelog in every TestFlight build.

Create Release Script for Simplicity in Weekly Release Ritual
As Core-iOS team, one of our task is being a Release Manager to handle the process of releasing a build to App Store Connect.
The process is starting from cutting off the
developmentbranch, creating RC build for QA regression test (TestFlight, Firebase, and Simulator build), and finally submit the latest RC build to the App Store ConnectTo make the early step easier, I create a shell script to cut off the
developmentbranch, bump the version, create release branch, and create a tag to trigger CI to start build. Image below describe enough what the script does.


















