A website link checker can fail while asking a server for a page that still exists. It can also fail because the site points at a page that has moved or disappeared. Both outcomes can block a release, but they call for different investigations. In our website CI, a run on the staging revision reported seven HTTP 503 errors and failed. A rerun of the same revision reported zero errors and passed. The result cleared a release check on that revision. It also made a useful distinction visible: a verdict describes an attempt under its particular conditions, even when the code and link corpus stay fixed.

Read the two attempts together

The two hosted summaries each reported a total of 2,707. The first counted 2,687 successes and seven errors. The second counted 2,694 successes and zero errors. Those totals are counts reported by the checker, so they should not be read as a tally of distinct addresses or fresh network requests. The change in the success count is numerically equal to the change in the error count. The aggregate results alone do not identify which individual addresses account for that difference. This is one example in which the verdict changed, and the reports support a direct comparison because both attempts checked the same website revision.

A 503 records the server response that the checker received at the time. It gives the release team a reason to investigate, even though it leaves open what a visitor would get later. A repeatable 404 for a link in an edited paragraph would suggest a different next step. The editor could inspect the destination or correct the reference, then check the revised page. That is a hypothetical comparison here. The seven observed errors were 503s. They tell us how the first check failed, and the rerun tells us the checker did not report those errors on the next attempt.

Decide how fresh a success needs to be

We configured the checker to reuse recent successful results for up to a day and to exclude HTTP error responses from reuse. A recently checked reference can therefore contribute a success without requiring another fresh successful fetch. That choice matters for a website where the same references appear across repeated builds. It also puts a limit on what a green run says about the moment it finishes. If a destination breaks after a successful fetch, a later check can still reuse that success before it expires. The tradeoff is between asking again for information the checker already has and finding a new break as soon as possible.

We also configured the checker to allow one request at a time per host and to space requests to that host by half a second. Pacing changes when an outgoing request is eligible to run. It does not turn a 503 into a success. The first staging attempt used that pacing and still failed on 503 responses. That detail matters because the passing rerun followed a change that was already in effect for the failure. Comparing the two verdicts cannot isolate any benefit from pacing or caching, and the reports do not establish what the upstream service was doing.

Decide what to record

For a release decision I would keep the revision, attempt number, and failure category alongside the pass. That record lets a later reader see that a check actually passed on the release candidate and that the same candidate previously encountered a service error. To test whether either configuration change improved reliability, we would need a different comparison. It would keep the link set fixed, vary one setting at a time, record which links were checked live, and repeat the checks across enough attempts to see whether the result recurs. A planned broken-link fixture could also test the freshness tradeoff by first recording a success and then changing the response. We did not run that experiment for this example.

The passing rerun provided the result the release gate required. If a reader asks whether all the references are reachable now, that is a new question that calls for fresh observations. If they ask whether request pacing fixed the earlier failures, that calls for a controlled comparison. Keeping those questions separate lets the team use a green check for the decision it was designed to support.

← All engineering articles