Documentation
¶
Overview ¶
Command registryids is the registry id stability check (AD-4).
Provider ids and detector ids ("<provider>.<pattern>") are permanent once released. The check compares registry/providers/*.yaml in the working tree with a baseline: the latest v* tag by version order, else the local main branch, else origin/main. It fails listing every baseline id that is missing from the working tree. A provider id still counts as present when it appears in some provider's aliases[]; its detectors then must exist under the new provider id. Marking an entry deprecated: true keeps it present. With no baseline it exits 0 with a note.
Usage: go run ./tools/registryids
Exit codes: 0 no id removed, 1 ids removed or renamed, 2 the check could not run.