Rails 8.1 Local CI Discussion
I found the default local CI to be a bit basic. One of my projects is a platform and when we run CI we have to run the test suite multiple times for each implementation of the platform, and we leverage containers to run our suite of external services locally. Modifying the bin/ci script to work with these other tools "works", but it felt pretty clunky. I would like a summarization table at the end of the bin/ci run to show me which steps failed and how long it all took as well instead of having to scroll back up hundreds of lines to find out what failed and why. I ended up building my own local bin/ci script with some of these modifications, but am back/forth between just using the framework default or going with my own. I like the concept, just think it needs some more functionality and polish.
For my project, we need to spin up multiple services in containers and run the test suite under different configurations, and the out-of-the-box scripts feel a bit limited. I ended up customizing the CI scripts to handle our environment, add better logging, and summarize results at the end, which makes debugging much easier. I like the idea of having a standard framework, but in practice, it often needs extra polish and flexibility to handle more complex setups.
Hey Collin, nice video. I'm attempting to use it in my app, but after configuring the required signoff, now dependabot cannot merge the PRs, even after passing the regular github actions workflow. Do you know what could be the best way to deal with that?
If your custom script works reliably and gives the clarity you need, it’s probably worth sticking with it — the default framework is convenient, but sometimes tailoring the CI to your workflow pays off in efficiency and readability.