Magento CI/CD pipeline: every store change checked, day and night
A Magento CI/CD pipeline is a line of automatic checks that every change to your store passes before and after it goes live. Today most stores work without one: a release, the moment a new version goes onto the live store, breaks something, and nobody notices until a customer complains or sales drop. Agencies charge for testing and for server work as separate lines. The setup in this article checks every change by machine, day and night, without a team, for about the price of two subscriptions at $20 a month each, plus the server you already pay for. I run it myself and I set it up on Magento stores.
I am Oleksandr Osadchyi, an ex-Magento 2 core and ex-Adobe Commerce core engineer with commits in the public magento/magento2 repository, Adobe Certified Master (Adobe Commerce Architect) and Claude Certified Architect – Professional. I write the code, ship the release and keep the server running myself.
The problem: releases that nobody checks
In most stores a change goes live like this. A developer finishes the work, looks at one or two pages, and puts the new version on the store.
Nobody else reads the change. A second pair of eyes on every change is called code review, and small teams skip it because it takes a senior person's time.
Nobody opens the store on a phone and a tablet after the release. A menu that works on a desktop can be broken on a phone for days.
Nobody watches at night or on a weekend. A payment script, a banner service or a certificate can fail on Saturday, and you hear about it on Monday from a customer.
The usual fix is people. Agencies sell testing, called QA, and server work, called DevOps, by the hour. Larger stores hire for both. Smaller stores do without and hope.
How it works: two people steps, everything else automatic
A person does two things here. A developer sets the task at the start, and you read a message at the end. Everything between those two points is done by machines, in the same order, for every change.
I built this flow in November 2026 for this site and the tools behind it. The numbers further down come from that setup.
1. A developer sets the task
Every change starts as a numbered task: what is wrong, what the result should be.
The code itself is written by an AI and led by a developer. A senior developer gives the task and checks the result, and the AI types the code. I use Claude Code for this, and I describe that setup in how to set up Claude Code for Magento 2.
The AI also writes a short report for each change: the problem, the expected result, what was changed, how it was checked, what the risks are.
What this means for you: a year later you can point at any part of your store and find out who asked for it, why, and how it was checked.
2. First AI review, on the server (automatic)
Before the change leaves the server, an AI reviewer reads it line by line and lists what looks wrong. Those points are fixed right away.
The review is recorded for that exact version of the change. If anything is edited afterwards, the record no longer matches and the review runs again.
The change cannot move forward without that record.
What this means for you: no change reaches your store unread, and nobody can slip in one last edit after the review.
3. The change waits on GitHub (automatic)
The change is then sent to GitHub, the service where the store's code lives. There it becomes a pull request, which is a proposed change that waits until all the checks are done.
Everything about the change is on one page: the report, the first review, the second review and the results of the checks.
A private store on GitHub's Free plan is enough for this.
What this means for you: one page per change, which you or any developer you hire later can open and read.
4. Second AI code review and automated tests (automatic)
Two things start at the same moment.
4a. A second AI reviewer, Codex from OpenAI, reads the change. It comes from a different company than the first one and has not seen the first one's conclusions, so it catches different mistakes. OpenAI's documentation describes its result as a standard GitHub code review focused on serious issues.
4b. Automated tests run. These are small programs that check the store still works, every time, the same way.
The tests run on a runner, which is the machine that does the checking. Here the runner is your own server, so GitHub charges nothing for the time.
Only the checks that a change can affect are started. A change to a page's look does not start the checks for orders and prices.
What this means for you: two independent reviewers and a set of checks on every change, with no hourly bill for any of them.
5. The change is accepted only when every check is green (automatic)
The change is accepted only when every check has passed on the exact version that was reviewed.
A check that was cancelled or is still running does not count as passed.
Each task goes into the store's history as one entry. A bad change is undone by taking back that one entry.
What this means for you: a half-checked change cannot get through on a busy Friday, and a mistake is quick to undo.
6. Release to the live store (automatic)
The new version is prepared next to the running one. Customers keep shopping on the old version while that happens.
The store goes into maintenance mode only for the switch itself.
What this means for you: a release no longer needs a quiet hour at night and a developer on call.
7. A robot clicks through the live store (automatic)
About 30 seconds after every release, a robot opens the live store in a real browser and clicks through it like a customer. The tool is called Playwright, and it is open source and costs nothing.
It does this on four kinds of device: desktop, touch laptop, phone and tablet. Playwright ships a list of device settings, so one check runs on all four.
On this site it runs 148 checks. Every page opens. No link or image is broken. Forms work to the end. Nothing is cut off on a phone screen. Text is readable in the light and the dark theme. The tags that search engines read are in place.
On a store the same robot covers search, category and product pages, add to cart, the checkout up to the payment step on a test product, and customer login. Its visits are kept out of your statistics.
The full run also repeats once a day. That catches what breaks without a release: an expired certificate, a script from another company, a changed outside service.
What this means for you: you learn about a broken page minutes after it breaks, from a robot, and not days later from a customer.
8. You get a message
The result of each run goes wherever you want it: Telegram, Slack, WhatsApp, email, Microsoft Teams or any other channel.
The message says how many checks passed, which ones failed and on which device.
What this means for you: one short message after every release and once a day, in the channel you already use, and that is all you have to read.
The usual way and this setup, side by side
| The usual way | With this setup | |
|---|---|---|
| Who checks each change | The developer who wrote it, when there is time | Two AI reviewers and a set of automatic checks, every time |
| Who reads the change | Often nobody | Two AI reviewers from two different companies, plus the developer in charge |
| When you find out about a broken page | When a customer writes or sales drop | Minutes after the release, in a message in the channel you choose |
| Nights and weekends | Nobody is watching | The robot runs after every release and once a day |
| Phone and tablet | Checked by hand, sometimes | Checked on four kinds of device, every run |
| Cost per month | Agency QA and DevOps hours, or staff salaries | From two subscriptions at $20 each, plus the server you already have. The full table is further down |
| What you need to do | Ask, remind, and test the store yourself | Read one message |
Real numbers from my own setup
The first six changes that went through this flow were small changes to the flow itself.
Codex, the second AI reviewer, left remarks on three of the six. There were six remarks in total: two serious and four less serious. All six were fixed before the changes went live. The other three changes got a "no major issues" verdict.
Two examples of what it caught. A check that had been cancelled was being counted as passed. And a change could have been accepted in a version whose checks had not been confirmed.
The robot that clicks through the live site runs 148 checks on four kinds of device. It found three real bugs that the older checks had missed:
- A promo card that no real visitor had ever seen. The page decided whether to show it by looking at how the visitor points at the screen, with a mouse or with a finger, and that rule kept it hidden.
- A button too small to tap on a tablet. It was under 44 pixels, which is too small for a finger.
- A "page not found" page with a broken tracking script. Visitors who landed on a dead link got a page where the tracking did not work.
What it does not replace
- Deciding what to build. The machines check how a change is made. A person still chooses the change.
- A person approving important changes. Two AI reviews reduce what gets through, and I still read every change I accept.
- A security audit. Review remarks are a different thing from a security test. My checklist for patched stores is in the Magento 2 security check.
- Load testing before a big sale. A robot that opens every page once says nothing about ten thousand visitors at the same minute.
- Real payment checks with your provider. The robot stops at the payment step on purpose.
What the whole pipeline costs per month
Prices are as of November 2026.
| Item | What it does | Price per month (From – To) |
|---|---|---|
| GitHub, private repository on the Free plan | The place where the store's code lives and where every change waits for its checks | $0 |
| GitHub Actions minutes on your own server (self-hosted runner) | Runs the automatic checks. GitHub's billing page lists this use as free. GitHub announced a fee for it and then postponed it, with no new date | $0 |
| Codex automatic code review, inside ChatGPT Plus … Pro | The second AI reviewer. It reads every change by itself, and reviews count toward the plan's usage limits. Plus is $20, Pro starts from $100 and has a $200 tier | $20 – $200 |
| AI coding agent Claude Code, inside Claude Pro … Max / Ultra | Writes the code and does the first review. Pro is $20, Max is $100, Ultra is $200. The free Claude plan does not include it | $20 – $200 |
| Playwright robot tests | The robot that clicks through the store after every release and once a day. Open source, Apache 2.0 license | $0 |
| Notifications (Telegram, Slack, WhatsApp, email…) | Sends the result of every run wherever you want it: Telegram, Slack, WhatsApp, email, Microsoft Teams or any other channel | $0 for Telegram, Slack and email |
| Server | The server or VPS your store already runs on | $0 extra |
| TOTAL | Depends on how much AI work you run | about $40 – $400 a month |
The only thing that changes the price is how much AI work you run. The developer's time is not in this table, see pricing.
Same work the usual way
| Item | Price | Source |
|---|---|---|
| Checks on GitHub's own machines, beyond the 2,000 minutes a month included in the Free plan | $0.006 a minute (Linux 2-core) | GitHub runner pricing |
| A paid AI review tool, CodeRabbit Essentials | $24–$30 per developer a month | CodeRabbit pricing |
| GitHub Copilot Business | $19 per seat a month | GitHub Copilot plans |
| A DevOps engineer, average base salary in the US | $133,817 a year | Built In, 2026 |
| A QA tester, median pay in the US | $104,300 a year | Bureau of Labor Statistics, May 2025 |
How I set up a Magento CI/CD pipeline on your store
- I get access and look at what you have: where the code lives, how releases happen now, the server, the checks that already exist.
- I set the rules for tasks, so every change has a number and a short report.
- I set up the AI that writes code with rules for Magento, and the first AI review on the server.
- I connect the second AI reviewer to your code on GitHub, so it reads every change by itself.
- I put the machine that runs the checks on your server and turn on the automatic checks. This is tried first on staging, a private copy of your store, and only then on the live one that customers see.
- I add the rule that only a fully checked change is accepted, and connect it to the way you release today.
- I write the robot's route through your store: search, cart, checkout up to payment, login, on four kinds of device. Then I send the results wherever you want them, Telegram, Slack, WhatsApp, email, Microsoft Teams or any other channel, and show your developers how to add new checks.
The base flow is usually a few days of work. After that the list of checks grows with the store.
The same flow works for a headless store and sits in front of the release on Adobe Commerce Cloud. A Magento 1 to Magento 2 migration goes through it task by task.
The work is billed by the hour, and you get an estimate in hours before it starts: see pricing. If you want this for your store, write to me at alex@osadchyi.dev.
FAQ
Is GitHub Actions free for private repositories?
Partly. GitHub Actions is the part of GitHub that runs the checks. On the Free plan a private store gets $12 a month of GitHub's own machine time, which is 2,000 minutes at $0.006 a minute, and more is billed. Checks that run on your own server are not billed and do not use up that amount.
Can Codex code review check every change automatically?
Yes. Codex is included in ChatGPT plans, Plus among them, and automatic review is a setting: once it is connected to your code, it reads every proposed change and leaves remarks on the exact lines. In my setup it left six remarks on the first six changes, two of them serious, and all were fixed before going live.
Do I need a DevOps or QA person for a Magento CI/CD pipeline?
For this flow, no. The checks, the release and the robot run by themselves on your server. You still need a developer who sets the tasks and answers for the result, and that can be the same person who set the flow up.
Can a robot test my live Magento store after every release?
Yes. Playwright opens the live store in a real browser on desktop, laptop, phone and tablet and goes through search, product pages, add to cart, the checkout up to the payment step on a test product, and customer login. Its visits are kept out of your statistics, and the result arrives in a message wherever you want it: Telegram, Slack, WhatsApp, email, Microsoft Teams or any other channel.
Does this work for headless stores and Adobe Commerce Cloud?
Yes. A headless store gets the same flow for the storefront code. Adobe Commerce Cloud releases your store by itself when a change is accepted, but it does not test the store for you, so the reviews and checks sit in front of that release.