Post

Archiving Kiali Retirement Ownership Before README Cleanup

Archiving Kiali Retirement Ownership Before README Cleanup

The latest homelab push hardens the Octelium service retirement path by making archived ownership evidence explicit. The retire helper now derives the README revision to inspect from the removal SHA, and the CI test checks that derivation before retirement proceeds.

Retirement Lookup Needs a Pinned README Revision

When a team retires an application service such as the archived Kiali legacy Service, the retirement helper has to locate the owner README that carries the ownership evidence. The repository-wide README cleanup preceded the Kiali retirement, so the helper cannot assume a stable heading structure. The new owner_readme_revision function returns the removal SHA with a caret, which the retire script uses to read the correct prior revision. This keeps the archived ownership path explicit instead of relying on a cleanup-safe assumption.

CI Tests Cover Retirement Ownership

The Octelium retirement test now asserts how the owner README revision helper behaves for the retired service, for an unrelated service, and for an arbitrary revision string. These assertions are unit tests of the helper itself rather than a live retirement run. The next verification step is to execute the updated retirement test suite against the current tree and confirm the ownership lookup behaves as expected.

Runbook Points at the Archived Evidence

The Octelium documentation now tells readers to use the full removal SHA of the README immediately before the repository-wide cleanup removed nested READMEs. The operations runbook links the retirement procedure to that archived ownership evidence. The documentation change is editorial, while the script change is behavioral, and the CI test now guards the helper behavior.

Where Platform Teams Can Reuse This Technique

A platform group retiring many services can use the same pattern of pinning retirement ownership to a specific archived revision rather than to a mutable heading. The team should gate retirement automation on the ownership tests before touching live workloads, which gives the same safety property this homelab push is trying to establish.

This post is licensed under CC BY 4.0 by the author.