reference-cache: mirrored source is a tagless shallow clone, so a pinned release cannot be read #15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
reference-cachemirrors upstream source with a shallow clone that carries no tags, so the cache can only ever answer "what does upstreammainlook like right now" — not "what shipped in the version we actually run".Reproduction
Why it matters
The fleet runs authentik 2026.5.3, and diffing live flow exports against the blueprints of that release is the routine task. The cache holds
main, which has already drifted —flow-default-authenticator-webauthn-setup.yamlin the cache has aprevent_duplicate_devices: falsefield that does not exist in 2026.5.3.The workaround is a manual fetch:
That works, and the fleet repo's
authentik/flows/README.mdnow documents it — but every consumer has to know to do it, and nothing records which version a given cache entry is supposed to be read at.Options
--depth 1per tag keeps it cheap), so a release is always reachable.System/Reference Cache.mdrecord a pinned ref per tool and have the refresh honour it.Any of the three closes it; (1) plus (2) together is the useful pair, since the manifest already exists as the place a pin would naturally live.
Context
Surfaced while removing 29 vendored authentik blueprints from the fleet repo, which existed precisely because the cache could not serve the pinned version.