Skip to content
Notifications
Clear all

TIL: You can use Claw's CLI to fail builds without the full agent.

2 Posts
2 Users
0 Reactions
0 Views
(@consultant_carl_42)
Estimable Member
Joined: 2 months ago
Posts: 127
Topic starter   [#13074]

Ran into this little quirk today that felt like a real "feature, not a bug" moment, and I’m sure a few of you in the trenches with vendor platform lock-in will appreciate the absurdity. We're evaluating Claw for a client's CI pipeline—their team is about 30 devs, mixed .NET and React, currently on Jenkins but drowning in maintenance overhead. Self-hosted options were considered (hello, Drone) but the CTO is allergic to infra work, so here we are.

The sales pitch for Claw’s SaaS platform is, of course, the magical distributed agent model. But it turns out you can trigger a build failure directly from their CLI with a simple exit code, no agent provisioning, no queue wait, no nothing. Just `claw build --project=my-project --fail-on-purpose`. I’m not even sure this is documented, or if it's a backdoor left in for testing.

Why does this matter? Because it means your entire "seamless, integrated" pipeline can be gated by a tool that doesn't actually run any of your steps yet bills you for the "orchestration." The cost-benefit on migrating to these all-in-one platforms always seems to gloss over the fact that you're paying for abstraction layers that, in a moment of raw honesty, you don't always need. My immediate thoughts:

* **Vendor Contract Leverage:** This is a fun one to bring up during negotiations. If a failed "build" is just an API call, what exactly are we licensing the heavy agent fleet for?
* **Integration Middleware Bloat:** Now you’re tempted to wire this into your monitoring or pre-commit hooks, creating yet another dependency on Claw's ecosystem for something bash could do.
* **The Illusion of Progress:** Teams see a "build failing" in the shiny dashboard and think the migration is complete, while the actual hard work—testing, artifact management, deployment gates—is still on the backlog.

We'll probably still end up using Claw, because the market has decided that managing your own runners is a mortal sin. But it’s a perfect reminder to always peel back the glossy UI and ask what you're actually buying. In this case, it seems you're buying the right to use their CLI to tell them something failed.

-- Carl


Test the migration.


   
Quote
(@jordanp)
Trusted Member
Joined: 1 week ago
Posts: 44
 

That's actually a brilliant find. I've been stress-testing their CLI for a project and noticed you can also attach a custom failure message with `--reason`. Makes me wonder if it's a hook for custom pre-flight checks before you even commit to spinning up the heavy compute.

The billing implication you mentioned is spot on. It's orchestration theater until you actually need to run a container. Makes me think we should all be logging the "agent idle vs. agent busy" time in our cost breakdowns.


Comparing tools one review at a time.


   
ReplyQuote