validate_registry

command
v0.17.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command validate_registry checks every providers/*.json against the runtime schema before the publish workflow uploads to GitHub Pages.

Without this step a malformed config (e.g. forgotten field after a schema change, accidental file rename, a non-HTTPS endpoint that slipped past code review) would ship to clients and get silently rejected six hours later when refreshFromRemote runs. Failing the CI job here keeps the bad file off the registry.

Usage:

go run ./cmd/validate_registry providers/

Exits non-zero on the first invalid file, with a diagnostic naming the offending file and the schema rule it violated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL