✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more
Andrii Bidochko
  • Updated: January 18, 2026
  • 6 min read

Developer Frustration with GitHub Actions Overcome by Makefile Solution

GitHub Actions can become a major source of developer frustration when cross‑platform builds break, but moving the generation step to a Makefile restores reliability and speeds up CI/CD pipelines.

Why GitHub Actions Leaves Developers Furious – A Deep‑Dive into CUE Failures and a Makefile Rescue

In early 2026 a seasoned Rust developer published a scathing rant titled “I Hate GitHub Actions with Passion.” The post details a painful CI/CD loop that cost hours of debugging, especially when trying to run CUE‑based code generation across four target platforms. This article distills the key frustrations, explains the technical root causes, and shows how a simple Makefile automation can turn the tide. The lessons are directly applicable to any team wrestling with GitHub Actions, cross‑platform builds, or CI pipeline optimization.

1. The Core GitHub Actions Issues

GitHub Actions promises a seamless, cloud‑hosted CI/CD experience, yet several hidden pitfalls emerged in the developer’s workflow:

  • Matrix isolation: Each runner in a build matrix runs in a sandboxed environment, meaning binaries installed on one runner are invisible to another.
  • Architecture mismatch: The Linux ARM runner could not locate the cue binary, even though the same binary worked on Linux x86_64 and macOS ARM runners.
  • YAML‑driven feedback loop: Fixes required editing .github/workflows/ci.yml, committing, and waiting 2‑3 minutes for the next run—an experience the author likened to “saving a file with a two‑minute lag.”

These problems are not unique to this project; they surface whenever a CI pipeline relies on external tools that are not natively available on every runner architecture.

For teams looking to streamline CI/CD best practices, our CI/CD best practices guide offers a checklist to avoid such pitfalls.

2. Cross‑Platform Build with CUE – What Went Wrong?

The project, tmplr, uses a build.rs script that invokes the CUE binary to generate README.md, CHANGELOG.md, and a version/help file. While the script runs flawlessly on a local machine, the CI matrix exposed two critical failures:

  1. Linux ARM runner: The step “install CUE” succeeded, but the subsequent command reported “command not found.” The runner silently filtered out the x86_64 binary, leaving no executable for ARM.
  2. MacOS ARM runner: Although macOS can run x86_64 binaries via Rosetta, the runner’s security policies prevented the binary from being executed, causing a silent failure.

These failures illustrate a broader issue: GitHub Actions does not automatically provide architecture‑specific binaries. Developers must either compile from source for each target or supply pre‑built binaries for every architecture.

Our Chroma DB integration demonstrates how to package multi‑architecture assets for seamless deployment.

3. The Debugging Loop – A Time‑Consuming Vortex

Each iteration of the debugging cycle followed the same exhausting pattern:

1️⃣ Search for a fix →
2️⃣ Edit ci.yml →
3️⃣ Commit & push →
4️⃣ Open the Actions tab →
5️⃣ Wait for the runner →
6️⃣ Inspect logs →
7️⃣ Rinse & repeat

Even though each run only took 2‑3 minutes, the cumulative cost of a single change ballooned to 30+ minutes of idle time. For a fast‑moving development team, that latency translates into missed deadlines and reduced morale.

If you need a faster feedback cycle, explore our Workflow automation studio, which lets you run local runners with the same environment as GitHub Actions.

4. The Makefile Automation Solution

After exhausting the matrix, the developer opted for a pragmatic fix: shift all CUE‑based generation from build.rs to a GNU Makefile. The new approach offered several advantages:

  • Deterministic execution: Make runs locally before the CI step, guaranteeing that generated files are present in the repository.
  • Single source of truth: The Makefile becomes the canonical place for code generation, reducing duplication across build scripts.
  • Faster CI runs: Since the heavy lifting occurs before the commit, the CI pipeline only needs to compile the final code, cutting the loop to seconds.

The Makefile snippet used in the project looks like this:

generate:
    @echo "Generating docs with CUE..."
    cue export -f -o README.md schema.cue
    cue export -f -o CHANGELOG.md changelog.cue
    cue export -f -o VERSION.md version.cue

.PHONY: generate

Developers now run make generate locally, commit the generated files, and let GitHub Actions focus solely on building and testing.

For a deeper dive into Makefile‑based CI, see our Makefile automation blog post, which outlines best practices for integrating Make into modern pipelines.

5. Lessons Learned and Recommendations for CI/CD Pipelines

From this saga, several actionable insights emerge for any DevOps team:

  1. Prefer self‑contained scripts: Keep generation logic outside of build.rs or other language‑specific hooks. A Makefile or shell script is portable and easier to debug.
  2. Test binaries on every target architecture: Use Docker multi‑arch images or local QEMU emulation to verify that tools like CUE run on ARM and x86_64 before committing to CI.
  3. Cache dependencies wisely: GitHub Actions supports actions/cache. Cache the CUE binary per architecture to avoid repeated downloads.
  4. Leverage matrix strategies sparingly: Only include truly independent builds in the matrix. If a step fails for a single architecture, isolate it into its own job with clearer logs.
  5. Adopt a “fail fast, fail early” mindset: Run generation locally and push the results, so CI failures are limited to compilation or test failures.

Our Enterprise AI platform by UBOS provides built‑in support for multi‑arch pipelines, eliminating many of the manual steps described above.

6. Visual Summary of the Debugging Loop

Debugging loop illustration

Figure: The endless GitHub Actions debugging loop and the streamlined Makefile alternative.

7. Original Rant for Full Context

For readers who want to see the original, unfiltered rant, visit the source article: I Hate GitHub Actions with Passion. The post captures the raw emotion behind the technical challenges and serves as a cautionary tale for any team relying heavily on GitHub Actions.

8. Related UBOS Resources to Accelerate Your CI/CD Journey

Beyond the specific Makefile fix, UBOS offers a suite of tools that can help you build, test, and deploy faster:

Conclusion: Turn Frustration into Automation Mastery

GitHub Actions remains a powerful CI/CD platform, but its convenience can quickly turn into frustration when architecture‑specific tools like CUE are involved. By moving generation logic to a Makefile, caching binaries, and testing across architectures, teams can reclaim hours of productivity. Combine these practices with UBOS’s automation suite, and you’ll have a resilient pipeline that scales from startups to enterprises.

Ready to streamline your CI/CD workflow? Explore the UBOS pricing plans and start building faster, more reliable pipelines today.


Andrii Bidochko

CTO UBOS

Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.

Sign up for our newsletter

Stay up to date with the roadmap progress, announcements and exclusive discounts feel free to sign up with your email.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.