None of that requires a broken page or bad arithmetic. The report can arrive on time and still lead someone to the wrong conclusion. A failed job is visible; a plausible-looking number can travel a long way before anyone questions it.
The repair had to answer a different question: which numbers had actually earned their place in the report? A complete layout could not answer that on its own.
When a zero looks more certain than it is
Say a column that normally has an activity count shows zero. A reader may reasonably take that to mean nothing happened. But perhaps the collector never reached the source. Perhaps that machine doesn't support the counter. Perhaps the count exists but is too small to disclose under a privacy rule. Those aren't variations on zero. They tell the person reading the report to do different things, and in the last case, to leave the exact value alone.
A numeric schema won't catch the mistake. Replace a blank field with zero and the field is valid. Bring forward an old observation and it still looks like a number. Add the values from the sources that answered and the arithmetic checks out, even if another source never answered at all. Tests that only ask whether the report renders and the totals add up will happily pass all three cases.
For the repair I was looking at, historical samples needed to stay visibly old. They could not support a seven-day change merely because a previous value was available. Coverage had to fall when polling was partial, regardless of the process exit status. And privacy limits had to appear as limits, not as holes for the report to fill. Each rule is small. Together they stop a finished-looking page from claiming more than the run observed.
Better collection reduces these failures, but sources still go offline, polls get interrupted, and some counters aren't available everywhere. Some values are withheld deliberately. The reporting layer has to be honest about those conditions even when the collector has done everything it can.
Five meanings of an empty-looking cell
A measured zero means a current observation covered the scope in question and found no activity. I wouldn't use zero as the fallback when the report lacks a value. That would turn an absence of evidence into a statement about what happened.
An unmeasured value has no observation behind it. The source might have been unreachable, or the counter might not exist in that environment. There's nothing to compare with last week. A stale value is different: someone did observe it, just earlier than the week printed on the page. It may still be useful as a last known value if the report carries its actual observation time. Without that time, it quietly poses as current data.
Then there is partial coverage. Suppose the report expects ten sources and hears from nine. The nine-source subtotal is real; it isn't the ten-source total. I would show it with the coverage attached if that subtotal is worth seeing. Suppression is another case altogether. The system may have observed a small count but be barred from disclosing it. Calling it zero would be false, while publishing a comparison that lets a reader infer the count would defeat the privacy rule.
This may sound like too much vocabulary for a weekly page. It stops sounding fussy when a trend is involved. Put a current count next to a stale one and a reader will see a week-over-week story even if the dates don't line up. A falling subtotal could mean activity fell, or it could mean a source failed to respond. The report shouldn't choose a story the observations cannot settle.
I'd rather see "unknown because one source did not respond" than a blank with no explanation. The reason matters. It gives someone something to check. An unsupported zero gives them a diagnosis before they have evidence.
The job can succeed while the report falls short
The scheduler and the reader have different ideas of success. The scheduler can tell that a process ran and returned. The reader needs to know whether the page reflects current observations across the intended scope. A zero exit status says very little about that second question.
I don't think a report with gaps is automatically a failed report. Sometimes the useful outcome is a page that says which inputs arrived and which didn't. What I distrust is a page that looks complete because it discarded the information needed to interpret its numbers.
The run should retain the expected sources, the ones that answered, the time of each observation, and the reason a field is unavailable or suppressed. Keep that information beside the value. If it lives only in an incident note, the person using the report is unlikely to have it when deciding whether to trust a total or a comparison.
There's also a point after which the lost context cannot be recovered. Convert a missing source to zero before aggregation and the sum already says the wrong thing. Retain only the sum, and later you cannot tell which inputs were old, absent, or current. The status has to stay with each observation through the decision about what to display.
I would apply the same discipline to a weekly change. Check freshness and comparable coverage first. If they don't hold, show whichever values can safely be shown, explain their limits, and leave the change unset. A meeting is awkward when the familiar percentage isn't there. It is more awkward to spend that meeting investigating a drop caused by an unanswered poll.
Make the limit useful to the reader
I wouldn't put a warning badge on every mark in the chart. People learn to ignore a page that treats every value as an alarm. Observation time, sources covered out of sources expected, and a clear suppression label give the reader enough to begin. When a comparison is withheld, the report can say whether freshness, coverage, or privacy is the reason.
Those details also tell me where to look when something seems off. An old observation points toward collection timing. Incomplete coverage points toward a missing source. A privacy label tells me another retry won't make the exact count publishable. That is more useful than a vague sense that the dashboard is unreliable.
Some judgment remains with the reader. A nine-source subtotal might be good enough for one decision and unusable for another. I don't want the reporting layer to make that call for everyone. I want it to say plainly whether the reader has a measured total, a qualified subtotal, or no publishable value yet.
That's the contract I want a weekly report to keep. Give each number its observation time and source. Say how much of the expected scope an aggregate covers. Keep missing, stale, partial, and suppressed values distinct, especially before calculating a trend. If a counter isn't available on a machine, say so. If the last observation was earlier, show when it was taken. Don't let a comparison reveal a count that the report is meant to withhold.
An empty cell is sometimes the accurate result. I would leave it empty and tell the reader why rather than fill it with a zero I can't defend.