Something we don’t speak enough about as we include more AI in our processes is the cost, not of the tokens, but of the classical compute we need. The more AI, the more PRs, the more CI we run. To combat that I have been building a custom system I call the merge gate. The gate watches the team’s pull requests and when one looks ready, the gate syncs it with the main branch, which triggers the real CI jobs. It picks the order so CI time stays under control, and then it merges the PR once everything is green. This fully automated process has kept the costs of our CI under control allowing us to increase the usage of AI in a responsible manner.
In the past I’ve written about the setup I typically use with Danger. It worked quite well given the limitations but there was always the annoying restriction that to update the checks you had to push a commit so the CI could run Danger again.
With the release Xcode 11 is now easier than ever before to work with the Swift Package manager. If I enjoyed making CLI tools with Swift before, now it’s a pleasure! Lately I’ve been working on a small plugin for the recently released static site generator Publish. And the plugin is itself a Swift Package so I had to opportunity to enjoy SPM and Swift tooling development.
At the iOS team at Lifeworks we’ve been using Danger since its inception. We care about the etiquette of our PRs and the more that can be automated the better.
Today I released AMPActivityIndicator. I wrote this little class a year ago and today I made a little clean up and made it available through Cocoapods.