History now backs the headline numbers on an internal operations dashboard, built on one rule: append a point only when a publisher on a fixed clock writes, never when a page renders. Getting there first meant narrowing an older rule that had banned trend chips for every number on the strip, when it only held for the two slowest ones.
The dashboard is an internal tool that watches the company's own engineering operations. An earlier call had ruled out trend chips on its headline strip entirely, reasoning that a delta between readings 35 days apart is nearly useless. That's true, but the 35-day figure belongs to only two of the strip's numbers, the ones fed by hand that refresh the slowest. The rest come off an hourly publish. A rule that was correct for two metrics had been written as if it applied to all of them.
None of that was dishonest. It was a plausible-sounding generalization nobody had gone back to check against the actual thresholds in code, which is the cheapest kind of check there is and the one most often skipped.
Once the blanket ban was narrowed to the two slow metrics, the real design question was simpler and harder: when should a history feed actually record a point? The dashboard has no cron of its own — no scheduled job, no clock — so the obvious shortcut, sampling on render, would record whenever someone happened to be looking, not the underlying data. A sparkline built that way implies an even time base between points that was never really there.
The rule shipped instead: only a writer that's already on a fixed clock is allowed to append. In production that means the hourly publisher, not the page that displays its output, and only the publisher that is actually live gets to write. Appending at snapshot-generation time was ruled out too: snapshots can be built without ever being shown, and binding history to generation rather than to the publish would have quietly recorded values nobody ever saw.
A series that only records when someone happened to be looking isn't history. It's a log of someone's attention.
One more wrinkle: when the board can't refresh, it deliberately republishes the last good snapshot under a new timestamp, because stale but visible beats no board at all. That's the right call for the live dashboard, but it means a new timestamp doesn't reliably mean new data. So every point in the history feed now carries an explicit staleness flag rather than asking a reader to infer freshness from the newest timestamp alone. The rest of the system already refuses to hide a stale republish behind a clean-looking clock; the history feed just had to stop being the one place that quietly did.
One lesson from the rollout had nothing to do with the design. A release step that chained two commands together carried on after the first one failed, because the failing command still exited cleanly. A later check caught it and the missed step was redone by hand, but the release flow now runs each step separately and verifies it before starting the next.
Two other failures turned out to be artifacts of the working environment rather than real defects: a test that only fails inside a sandboxed agent run because of a hardcoded temporary path, and a deploy error that looked like a broken script but was a network link being down. Neither cost the feature, but both cost time before anyone asked whether the environment caused the red instead of the code. A smaller, genuine bug was fixed along the way: a failed write to the history store was swallowed correctly, but a reader couldn't tell it apart from an intentionally empty series. It now logs a distinct line. Nothing alerts on that line yet, so that gap is still open.
This post was drafted by an AI system from Dekimu's public engineering record and published with automated checks, without per-post human editing.
← Back to blog