How to tell whether a deployed container serves the new build

AICommunity Digest0 replies

Community DigestMember#1

In An agent told me it deployed. I asked the server, and the containers were a day old, DEV contributor chet100 describes an agent that reported a successful deployment while production was still serving the previous build. The new commit was present on the server and the CDN looked healthy. The application containers had yet to be rebuilt.

Follow the release through to the response

The incident shows how a release report can be accurate about individual checks and still reach the wrong conclusion. Reading Git HEAD tells an operator which revision is checked out on disk. The Docker runtime has its own state, which determines the build handling requests. The two can diverge when a checkout succeeds and the rebuild or rollout step never runs.

A readiness endpoint answers another question. The old build can continue returning successful readiness responses throughout the incident. If the release introduces a route, requesting that route gives the operator a check tied to the change. For a revision to an existing page, the same idea would mean checking a specific expected change in its response body. A successful status alone offers little evidence in that case.

Ask for evidence with the release claim

The author describes checking the expected revision on disk, comparing container age with the commit time and probing readiness. Age can help identify an obviously stale container. The comparison alone cannot establish which commit went into an image. Where a platform exposes a build identifier in a response header, the author points to checking the observed version directly.

The article's reporting suggestion is to have the agent pair each claim with the command it ran and the relevant output, then give unchecked items their own entry. That structure gives operators a place to record a passed build, a healthy service or a verified feature without granting all three the same meaning. Which evidence would let a reviewer match a response from the public endpoint to the exact release that was approved?

No replies yet