Agents in Production: The Pipeline Nobody Watches
🇮🇹 Leggi in italiano

TL;DR: MarTech Ledger’s pipeline runs every morning with nobody watching. In its first two months all 82 runs completed, and the worst failure of the period happened inside runs that reported success: from 2 to 7 October nine Salesforce sources went unread while every summary stayed green. A system with no operator has to say by itself that it is broken, and it can only do that by checking each source against a cadence declared in advance.

The fetch job of MarTech Ledger starts at 04:17 UTC, which in Bologna is a little after five or six in the morning depending on the season. By the time I open a laptop the day’s records are already public. Part 4 was about what had to be written down before that run could happen without me. This part is about the run itself, and about the mornings when it went wrong and looked exactly like the mornings when it went right.

A run at 04:17 with nobody awake

The public record keeps a summary of every run, and with data as of 25 November it lists 82 of them since 27 September: 61 from the daily pipeline on GitHub Actions and 21 from a scheduled task on my own computer that exists for one source, HubSpot Community. Every one of the 82 is marked completed. Eight list a source that failed, most often the MoEngage release notes. Read as a reliability report, that is a calm two months.

It is also a misleading one. The record now covers 21 platforms and more than 3,000 features, and I read none of the new entries before they are public. In the second part of this series I described failures that pass every check, and every example had the same ending: I found the problem because I read the output before it shipped. That ending is not available here. The first reader of a Ledger record is whoever opens the site, and a missing record has no reader at all, because an absence does not show up anywhere. So the question this part turns on is how a pipeline that nobody watches can notice what it did not do.

The failure that reported green

The eight runs with a failed source were the easy cases. A page timed out or answered with an error, the run recorded the source as failed, and the next morning it either worked again or showed up a second time. The pipeline was doing what monitoring usually does, counting the attempts that went badly.

The failure that mattered left no entry at all. From 2 to 7 October nine Salesforce sources were not read, the release notes of three products with their archives. The cause was mine and it was small. Each source has a runner field in its configuration, and on those nine I had used it for a note in plain words, which was harmless for as long as nothing read the field. On 2 October the fetch script began choosing sources by runner, a change made for an unrelated reason. A sentence is not a runner name, so no job tried those nine sources, and a source that is never tried cannot fail. Their published health stayed “ok”, carried over from the last good read. The run summaries for those days show completed runs, and the single trace is a number that nobody was comparing with anything: 30 sources read each day where there should have been 33. I found the gap on 7 October, during a review, while going through the run history.

Diagram of the failure that reported green, in three steps. A note in a field: nine Salesforce sources carried free text where a runner name belonged. A new filter: from 2 October the fetch read only sources with a runner it recognised. Nothing failed: never tried, so never failed, and their health stayed ok until 7 October. What the run summary showed: completed runs, one unrelated failed source, and 30 sources read where there should have been 33.

What I took from it is that a run can only report on the sources it was told to try, so success measured per run says nothing about a source that fell off the list. The fix had to live on the source. Each one now declares how often it is read, daily or weekly, and carries four timestamps: the last attempt, the last successful read, the last change seen in the content, and the moment its health was assessed. And the health label has an age. A daily source with no successful read for more than three days is published as degraded, and a weekly one after more than ten, whatever the last run said about it.

An “ok” that nobody has renewed is published as “degraded”.

That rule would have caught the Salesforce gap on its fourth day without anyone understanding its cause, which is the property I wanted: it does not depend on the failure being of a kind I had already imagined, only on time passing without a success.

Diagram comparing success per run with freshness per source. Per run, did it finish?: it reports only on the sources it tried, a source nobody tried leaves no entry, an old ok stays ok. Per source, is it fresh?: a declared cadence, daily or weekly, four timestamps kept separately, degraded after 3 days, or 10 if weekly. The rule that came out of it: an ok that nobody has renewed is published as degraded, whatever the last run said about it.

When the source fights back

The second kind of trouble comes from the other side. A vendor’s help site is built for people with browsers, and from time to time it decides that the pipeline is not one.

On 23 October the Salesforce release notes came back as an error page. The first fix was the obvious one: reload the page, and if the error is still there, record it by name. That kept the run honest and explained nothing, because a reload treats every failure as bad luck. The cause appeared only when the same pages were requested in other ways. Curl, a full Chromium and the Chrome on my desktop all received them, and the only client refused was the lightweight headless browser that Playwright, the fetcher’s browser library, uses by default. Switching to the full browser fixed it the same day.

HubSpot Community was harder, and it taught me something different. In one week of October it had three homes. The hosted runner never got past the bot check in front of the site. A routine in the cloud worked for a few days and was then blocked too, on 5 and 8 October, which are the two HubSpot failures in the run summary. Since 9 October the source is read through the browser on my own desktop, twice a week. Each move solved the access problem and changed what has to stay switched on. A hosted runner needs nothing from me. A cloud routine needs a plan that includes it and a schedule that somebody owns. A desktop browser needs my computer on, connected and running the app at the right hour, which makes a laptop in Bologna a production dependency of a public record.

Diagram of how every change of route changes what stays on, for HubSpot Community from 2 to 9 October. Hosted runner: needs nothing from me, never passed the site's challenge. Cloud routine: needs a plan and a schedule, challenged on 5 and 8 October. Desktop browser: needs my computer on, with the app open, twice a week. Each move solved the access problem and added a dependency; the last one made a laptop part of the production system.

Telling the world it is broken

Per-source freshness answers whether a source is being read. It does not answer whether the pipeline as a whole is still alive, because if the scheduler stops, nothing runs the code that would refresh the health labels. The specification saw this coming in September and asked for a heartbeat, a job that opens an issue when 36 hours pass with no sign of life. A day and a half is one missed run plus a margin.

I have to report that for the first two months the heartbeat was only a line in the specification. It was the agent checking this draft against the decision log that pointed it out: the workflow did not exist. I built it that same evening, on 29 November. Until then the one signal of a dead pipeline was the date in the site’s header, which would have gone stale in public before anything told me in private. Building it also changed it. The original condition, no new data in 36 hours, would have fired on any quiet stretch in which the vendors published nothing, and an alarm that rings on quiet days is one I would have learned to ignore. The heartbeat that shipped asks whether a fetch has succeeded in the last 36 hours, and opens an issue for me if none has. It covers the fetch only, so a pipeline that reads everything and then fails to publish is still not caught by it, and I would rather say so here than let the word “heartbeat” suggest more than it does.

The same honesty applies to what the site shows about itself. The run summary is public and the logs behind it are private. The Status page says that the date in the header tells when the data was compiled and nothing about whether the sources are being read. And the Ledger publishes its own delay, the days between a vendor’s stated date and the day the pipeline first saw the change, as a median only when a platform has at least five observations. Below that it lists the few values it has, or none. A system that measures itself in public has to know when it does not yet have enough data, and has to say so in the place where the number would have been.

What still needs a person

None of this removed me from the system. It moved me to its edges, and the list of what sits there is longer than the phrase “nobody watches” suggests.

A pull request that passes validation merges by itself, and one that fails waits for me. When an audit changes a rule and re-applies it to the history, the result is a branch that touches hundreds of records, and merging it is my decision. When the HubSpot route left the cloud, the old routine had to be switched off, and the agent that had created it could not change it afterwards, so the cleanup was mine. The computer has to be on. And the whole operation runs inside two allowances, a Claude subscription and the free minutes of GitHub Actions, that somebody has to watch as platforms are added.

Why an agent can create a schedule and not remove it, and who should be allowed to merge a branch that rewrites history, are questions of authority, and they belong to the series that follows this one. The observation that fits here is narrower. An unattended pipeline still has an operator, whose work is now made of the things the pipeline cannot do to itself.

What transfers to a client stack: freshness against a declared cadence

The Ledger reads public web pages, which no client of mine would call critical infrastructure. The failure in its second section, though, is one I have met on every enterprise stack I have worked on, under other names. A CDP source connector keeps running after an upstream team renames a field, and delivers rows with the attribute empty. A catalogue feed arrives on time with yesterday’s file. A nightly import finishes in four seconds because the export it depends on produced nothing. In each case the job succeeded, the monitoring dashboard is green, and the first person to notice is a marketer wondering why a segment has been shrinking for a week.

Most monitoring I see in MarTech operations watches jobs: did it run, did it finish, how long did it take. What the Ledger’s October taught me to watch is the data’s age against a promise. Every connector, feed and import should declare how often it is expected to deliver something new, and the platform should know separately when it last tried, when it last succeeded and when the content last actually changed. A status that has not been renewed within that cadence should turn amber by itself, with no failure required. It is the operational side of the argument I made about latency budgets for customer engagement, where the number that counts is how old the data is when the decision uses it.

The second thing that transfers is the habit of asking, each time an integration is moved to get around a problem, what now has to stay switched on. The answer is often a person’s laptop, a personal access token or a trial licence, and it is rarely written down.

A job that succeeded tells you the scheduler works. Only freshness measured against a declared cadence tells you the data arrived, and a pipeline nobody watches has to be built to notice the difference by itself.

Sources

MarTech Ledger

  • Status. The public run summary, source coverage per platform and recording lag with its publication rule.
  • Sources. Each source’s schedule, the four timestamps and the thresholds for the degraded label.
  • Methodology. How sources are monitored and the statement that there is no per-record human verification.



Tools

  • Playwright, Browsers. The headless shell that Playwright uses by default and the full Chromium alternative.
Open full size