You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gateway rejects a configuration that has an unknown key or a value of the wrong type. verdictan policy lint and the API save validation reject the same configurations, because they use the same policy schema check. CLI 0.6.6 to 0.6.9 loaded these configurations and logged a warning.
The load error names the path of each incorrect field. For a wrong type, the error gives the type that the schema expects. For an unknown key, the error gives the closest defined field when there is one, for example history.enabled: unknown field; the policy schema does not define it; did you mean history.capture.enabled?. verdictan policy lint shows the same suggestion on a hint: line, and the API save error shows it in the field message.
When a value can have more than one shape, such as the agents list or a policies.chain entry, the error names the incorrect field in the shape that the value uses. Before this change, the error could report the parent value as a wrong type. A value that matches no shape gets one error that lists each expected type.
Retired sections, such as regions, circuit_breaker, ai_usage_streaming and providers_source, are unknown keys. The gateway refuses to load a configuration that has one. Before this change, the gateway ignored the section and logged a warning. Other schema findings, such as a value outside its range, stay warnings.
The policy schema describes more fields that the gateway reads, so lint and the gateway accept them: the runtime_routing section, models.exposed_model_ids, object entries in context_fabric.multi_gateway.peers, provider on test assertions, and the documented routing fields providers.routing.measurement_window_seconds and providers.routing.warmup_ratio.
Operator note: find and fix rejected keys before you upgrade a gateway.
On a gateway with CLI 0.6.6 or later, read /readyz. When configuration_schema.strict_ready is false, each entry of configuration_schema.issues with rejected_in_later_release: true names a field that this release rejects.
Alternatively, run verdictan policy lint <file> or verdictan gateway check --config <file> with this release.
Remove or correct each field. Use the did you mean suggestion when the error gives one.
Save the corrected configuration as a new version in Console or through the API. The API refuses a version that has an unknown key or a wrong type, and the error names each field.
Deploy the new version, then upgrade the gateway.
Behavior when the gateway rejects a configuration: a gateway that loads a local file does not start, and verdictan gateway reload keeps the active configuration. A connected gateway that cannot load a newly deployed version keeps the configuration that it has, logs the error, and records it as the last refresh error. While the refresh fails, the publication catalog and routing feeds do not refresh, so /readyz fails when they become stale. A connected gateway that starts with a rejected deployment waits for a control-plane deployment that it can load. The gateway never removes a field silently.