CLAUDE LABJP
DESIGN — Claude Design gets a major update: design-system imports, direct canvas editing, and more export formatsCODE — Claude Design can start from your local codebase and hand a design off to Claude Code to implementFABLE — Fable 5, a Mythos-class model made safe for general use, is now available in Claude Code v2.1.170FIX — Mid-stream connection drops now preserve partial responses instead of showing a raw errorSCROLL — A new wheelScrollAccelerationEnabled setting disables mouse-wheel scroll acceleration in fullscreenTIER — The Claude Design beta is available to Pro, Max, Team, and Enterprise customersDESIGN — Claude Design gets a major update: design-system imports, direct canvas editing, and more export formatsCODE — Claude Design can start from your local codebase and hand a design off to Claude Code to implementFABLE — Fable 5, a Mythos-class model made safe for general use, is now available in Claude Code v2.1.170FIX — Mid-stream connection drops now preserve partial responses instead of showing a raw errorSCROLL — A new wheelScrollAccelerationEnabled setting disables mouse-wheel scroll acceleration in fullscreenTIER — The Claude Design beta is available to Pro, Max, Team, and Enterprise customers
Articles/Claude Code
Claude Code/2026-06-19Advanced

Noticing From the Outside When a Scheduled Job Quietly Did Nothing

exit 0, but zero output. How to catch a silent no-op not from the job's own log but from an external heartbeat ledger and ground truth, written from running several sites on a nightly schedule as an indie developer.

Claude Code158automation69scheduled tasks5observability13reliability7

Premium Article

One morning I opened the update log and a single line was missing — the line for a generation job that should have run overnight. The error log held nothing. The exit code was 0. So as far as the system was concerned, it had succeeded, yet not a single article had been added. There was no commit at that time in the git history either.

That state — "succeeded, but nothing was produced" — was the hardest to deal with. A crash is easier; at least you notice. This failed in silence, and worse, it believed it had succeeded. When you run several sites in sequence overnight as an indie developer, these silent no-ops slip in now and then. Today I want to write down how to notice them from the outside.

Start from the premise that "success" and "result" are different

We tend to treat the exit code as proof of a result. But exit 0 only guarantees that the last command returned no error. There are plenty of paths where the job finds nothing to generate and exits cleanly without creating anything.

In my case, the cause was usually one of these. A reference-data cat hit the wrong path and returned empty, so the job slid past topic selection in silence. The disk was full and a clone gave up halfway, yet the following steps still went through the motions. A model pause left generation empty-handed, with nothing to push. None of these are individual bugs; they share the same structure — a no-op that still counts as success.

So the goal of monitoring is not "did the job crash." It is "did the expected output actually come into existence." Narrowing to that one question makes the design much cleaner.

Why you cannot trust the job's own log

The first thing you want to reach for is writing a "done" line at the end of the job. I did exactly that. It does not work.

Silent no-ops happen precisely when the run takes a path off the main flow. And the "write the done log" step sits at the tail of that main flow. In other words, the situation that drops your log and the situation that drops your output share the same root. The one time it fails is the one time the line announcing failure never gets written. Self-reporting goes quiet at exactly the moment you need it most.

That realization became the starting point for the design. Move the observer outside the job. Base the verdict not on what the job says about itself, but on facts a third party — independent of the job — can see. Once you decide that, what to record becomes obvious.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
Why a job's self-reported log cannot be trusted, and how to record a heartbeat to a JSONL ledger
The dead-man's-switch idea — absence as the signal — and the expected ⊆ observed reconciliation
A full watchdog that double-checks output against git ground truth instead of self-reports
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Claude Code2026-06-18
Moving Cleanup and Logging into a SessionEnd Hook
How to use Claude Code's new post-session hook to automate temp-file cleanup and log writing after a session ends, with real examples from a pipeline that processes several repositories in sequence.
Claude Code2026-06-17
The Day a Billing Change Got Reversed at the Last Minute — Designing a Reversible Pipeline So You Don't Rewrite in a Panic
A billing change due to take effect on June 15 was retracted at the eleventh hour. From the position of someone who had literally logged 'effective today' the night before, here is why I didn't have to scramble to rewrite my headless stages, and how to build a pipeline that survives reversals and delays — with working code.
Claude Code2026-06-17
When an Announced Billing Change Gets Paused at the Last Minute: Designing Automation That Doesn't Rush the Cutover
A billing change that was supposed to take effect on June 15 was paused that same day. If your pipeline trusts the announced date, a retraction breaks it twice. Here is a design that decides the cutover from a runtime signal, with implementation code.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →