feat: Preload feature categories JSON schema

Adds a new configuration option feature_category_schema_path to preload the feature category JSON schema from a local file, avoiding HTTP requests at runtime.

This feature can be used later on on gitlab-org/gitlab!220223 (merged), to hide complexity of the manual cache preloading.

Why?

  • Enables validation in environments without external network access
  • Ensures consistent validation against a known schema version
  • We abstract and control the cache key in Labkit, avoiding possible future migration issues
Edited by Hercules Merscher

Merge request reports

Loading
Loading