A shadow report should exist just long enough for someone to explain its differences. It is not a backup edition, a quiet experiment on readers, or an instruction to produce a different outcome for a worker. A payroll reporting team uses a shadow run to judge a candidate report without giving it the audience, feeds, or authority of the recognized edition.
Say which input is shared and which output is not
Compare the current and candidate report on the same authorized snapshot or shared set of fabricated fixtures. Record the data revision, the declared reporting period and the candidate and baseline versions. If the two runs quietly read different inputs because a source was updated in between, the comparison will mix a change in the world with a change in presentation. Record the bounds before interpreting any difference.
Keep the experimental output in its own controlled review location. Mark it as not published, and make sure downstream readers and automated recipients cannot confuse it with their routine edition. Engineers sometimes assume that removing a dashboard link is enough. A scheduled export, emailed attachment or endpoint that accepts a familiar filename can make that assumption wrong. Start with an inventory of readers from the release gate, and make each candidate route an explicit exception rather than an unlabeled copy.
Do not compare totals alone
A total of 120 in both editions says little about which groups those rows fell into. A corrected boundary may move an invented row from Friday’s group to Thursday’s while a separate defect moves a different row the other way. Overall counts remain unchanged. Compare the distribution by approved grouping keys and inspect a small set of synthetic examples whose independent expected results are known. Avoid exporting granular identifiers to make comparisons easier; design useful counts and controlled examples first.
Classify what can legitimately differ. One category is declared change, for which a reviewer can point to a written decision. A second is material unexplained difference, which should block promotion until understood. A third is expected nondeterminism in presentation, such as report creation timestamps that reflect the moment each version was generated. Filter only a comparison dimension the reviewer actually agrees is irrelevant; do not leave a broad rule such as “ignore date differences.” The companion timestamp contract offers a way to distinguish a run’s finish time from the period being measured.
Test a failed shadow deliberately
A comparison tool should know what to do when a candidate crashes, an approved input is missing, or an export is visibly incomplete. Treat missing candidate output as no evidence rather than as a clean result. A report that writes its header and then fails may still produce a file that looks plausible. Check the candidate’s completeness marker and documented shape before comparing its figures. If the input was unavailable, confirm the review system distinguishes unavailable from zero changed rows.
For a small table, a suitably bounded comparison may be a reviewer checking a short matrix of synthetic examples. For a larger internal report, compare summarized deltas and preserve enough context to reproduce them in an approved environment. Not every reviewer needs to see raw inputs. Keep a language for referring to rule-level failures without putting a source row into a broadly shared ticket. A fabricated example that shows the defect can be more useful than a screenshot with redactions.
Document which display formats were actually compared. For example, a weekly dashboard and its downloadable export may use different grouping libraries. A candidate dashboard match is evidence only for that surface. If users load CSV files into a standing analysis template, give that format its own verdict and tell the reviewer if a comparison failed because an expected consumer was unavailable.
Decide what qualifies as a useful control
Google’s SRE workbook chapter on canary releases discusses evaluating a candidate against a control and how environmental differences can complicate that comparison. In this reporting application, the useful part of that reasoning is the comparison itself. There is no need to send the candidate to real recipients as part of a shadow test. Keep it private, use a named control, and write which differences are meaningful to the report owner.
Do not keep a shadow run forever because its charts look interesting. Choose a review date, name the owner of unresolved differences, and define when controlled artifacts can be removed. If the authorized environment cannot supply a comparable window, a strong synthetic set can establish a narrower claim about specified behaviors, but it cannot prove a complete comparison of real reporting conditions. Be explicit so the reviewer knows which work remains.
A reviewer can summarize the run in plain English: these editions used the same input, one declared change appeared where expected, no surprising changes appeared under defined checks, and two known limits remain. If the second clause or scope cannot be demonstrated, keep the candidate out of publication and follow the pause decision guide as needed. An experiment is valuable because its result can change the release decision, not because the second export exists.