cd /news/ai-tools/how-to-make-progress-on-the-job-you-… · home › topics › ai-tools › article
[ARTICLE · art-179298] src=thecoder.io ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

How to make progress on the job you keep putting off

A developer cut a Magento shop's full GitLab CI deployment pipeline from a median of about 29 minutes to about 10 to 11 minutes by handing documentation research and measurement to Claude Code sub agents while keeping the goal and decisions himself. Build-and-test time fell from about 16 minutes to about 4 to 5 minutes through three changes: GitLab CI `needs` so jobs start when their dependencies finish, stopping jobs from re-uploading hundreds of megabytes of unneeded artifacts, and allowing more jobs to run concurrently, which cut time jobs spent waiting for the build machine from about 15 minutes or more to under 1 minute. The author said each change was reviewed by a sub agent that had not written it and then verified by a test run, with nothing untested reaching a live server.

recommendation

Audit your CI pipeline for stage-wide waits and redundant artifact uploads, then apply GitLab CI `needs`, empty `artifacts` where nothing downstream consumes them, and higher job concurrency — the source cut build-and-test from 16 to 4-5 minutes.

more in playbook: Running AI in production
by read6 min views2 publishedDec 1, 2026
How to make progress on the job you keep putting off
Image: Thecoder (auto-discovered)

AI / Automation / Developer tools / Magento

A slow deployment pipeline I had put off for years went from about 29 minutes to about 10. The AI did the research and the measuring. I kept the goal and the decisions.

The project I kept putting off #

Everyone has a job like this. Mine was a slow deployment pipeline.

For years I had a deployment pipeline that worked but was slow. A full run for a client’s Magento shop took about half an hour, from pushing code to having it live on the test server and checked.

I knew it could be much faster. I also knew exactly why I hadn’t done it. It was complicated, it touched a lot of moving parts, and nobody was paying for it. Every time I looked at it, something paid came along and the pipeline went back on the shelf.

What I could do, and what I couldn’t afford to learn #

I built the deployment myself, using Deployer and a fairly basic layer of GitLab CI around it. I understand what a good deployment needs to do, and I know what each step is for.

What I don’t have is the time to learn every option that GitLab CI offers, or to keep up as those options change. Finding the right setting, testing it, measuring it and trying the next one would have taken me weeks of unpaid time. That is the real reason the project never got done: I could have done it, but I couldn’t afford the time to learn enough to do it well.

Handing the research to the AI #

So I split the job. I stayed in charge of the goal and the decisions. The AI took the part that eats time: reading the documentation, finding the options, making the changes and measuring what each one did.

The goal was simple: a full deployment in about five minutes. I also told it what must not happen: nothing untested reaches a live server.

I did the work in Claude Code, on my own machine, using sub agents to review each change and to run the tests afterwards. So every change was checked twice: once by a reviewer that had not written it, and once by the test run.

The safety net: tests, safe branches and measuring everything #

Letting an AI change a deployment pipeline sounds risky, and without a safety net it would be. Three things made it safe enough for me.

The results: from about 29 minutes to about 10 #

The whole pipeline, from first job to last, went from a median of about 29 minutes to about 10 to 11 minutes, with the same code throughout.

Measure Before After
Full pipeline including deploy about 29 min about 10 to 11 min
Build and test only about 16 min about 4 to 5 min
Deploy job alone about 4.5 min about 3 min
Time jobs sat waiting for the build machine about 15 min or more under 1 min

The build and test time came down in steps, and each step was measured on its own.

Step Build and test time
Starting point about 16 min
More jobs allowed to run at once on the build machine about 9 to 11 min
Jobs stop re-up the same large files about 6 to 6.5 min
Jobs start as soon as the jobs they depend on finish about 4 to 5 min

Three changes did most of the work. I’ll show each one in a few lines.

1. Let jobs start when their dependencies are done, not when the whole previous stage is done. GitLab calls this needs.

build:
  needs: [prepare]
tests:
  needs: [prepare]
analysis:
  needs: [prepare]

2. Stop every job up the same large folders. Each job was up hundreds of megabytes that nothing downstream needed. That one was my own doing: I had misunderstood how artifacts work when I set the pipeline up, all those years ago.

tests:
  artifacts: {}      # nothing to upload
build:
  artifacts:
    paths:
      - artifacts/   # only the finished build

3. Allow more jobs to run at once on the build machine. The runner was sharing four workers between ten configured projects, so jobs sat idle between steps. Raising the limit cut waiting time from about 12 minutes to about 15 seconds.

concurrent = 12

A word on why I have my own build machine. I use the free cloud version of GitLab, and I was running out of free build minutes. I didn’t want to move everything onto my own infrastructure yet, so I set up a runner on my Mac Studio using Docker. That meant I never had to worry about minutes, and I could concentrate on the pipeline itself instead of rebuilding everything around it.

The change that did nothing, and why I reverted it #

The first thing the AI tried was a per-project setting on the build machine. It ran three pipelines and the numbers did not move, so it put the setting back from the backup.

I know very little about how these runners work, and I would have spent ages on this. The AI found the real cause on its own, from the job traces: the machine was serving ten projects with only four workers, and the polling from the other nine was blocking the one being tested. The fix was the global limit, not the per-project one.

That is why I measured everything. Without the before and after numbers, we would have kept a change that did nothing and believed it worked.

What I kept for myself #

I did not hand over the decisions. The AI proposed and measured, and I approved. Anything that touched shared equipment, such as the settings on the build machine other projects also use, only changed after I said yes, and I kept a backup so it could be put back.

I also chose what to leave alone. A few things in the pipeline looked odd and had no recorded reason, and I decided to leave them for now instead of changing everything in one go. Speed was the goal, and it was not worth risking a live shop to tidy up.

One honest limit: tests only protect what they cover. They gave me the confidence to let the AI work, but they are only as good as the things somebody thought to test.

How to try this on your own put-off project #

Most of this has nothing to do with Magento. If you have a slow, dull, unpaid job that you keep putting off, the same method should work.

  • Write the goal down as a number, for example "a deployment in five minutes".
  • Say what must never happen, and make sure something automatic will catch it.
  • Let the AI experiment where it cannot cause harm.
  • Measure every change on the same code, three runs before and three after.
  • Keep what the numbers support and revert what they don't.
  • Keep the decisions for yourself.

I’m now looking at making this reusable for other people, which needs more work to make it generic. If that would be useful to you, get in touch.

── more in #ai-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-make-progress…] indexed:0 read:6min 2026-12-01 · —