[Bug]: Latency benchmark observability fixtures use unsupported config version 3
Affected area
Build, packaging, or CI; Observability or exporters.
Current behavior
The latency benchmark ships two observability plugin fixtures that still use configuration version 3:
scripts/latency_benchmark/config/plugins-file.tomlscripts/latency_benchmark/config/plugins-otlp.toml
The current observability plugin only accepts version 4 (crates/observability/src/plugin.rs, validate_version). With the default unsupported_value = "error" policy, validate_static_plugin_config returns an error and initialize_plugins_exact_inner aborts activation with PluginError::InvalidConfig.
The benchmark starts Relay with --plugin-config-path for these fixtures (scripts/latency_benchmark/src/processes.py), so the relay-file and relay-otlp variants cannot activate the observability plugin.
Expected behavior
The shipped benchmark fixtures should satisfy the current observability plugin schema and use version = 4.
Steps to reproduce
- Build the CLI with
just build-cli. - Run the latency benchmark, for example
just latency-benchmark --tests startup --samples 1 --warmup 0. - Observe that the
relay-file/relay-otlpvariants fail during startup, or that observability is not activated for those variants.
A direct static check also shows the mismatch: both fixtures set [components.config] version = 3, while docs/configure-plugins/observability/configuration.mdx and validate_version require version 4.
Environment
- NeMo Relay version or commit:
mainat3c29c9d2 - OS and architecture: Windows x86_64 (the configuration issue is platform-independent)
- Rust version: N/A (not installed in the environment used for the report)
- Python version: 3.14.10 (uv-managed)
- Node.js version: 24.22.1
- Go version: N/A
- Install/build command: not run; the issue was confirmed by reading the validation and benchmark startup paths
Impact
Anyone running the latency benchmark with the default relay-file or relay-otlp variants gets a failed or invalid benchmark result for those variants. The benchmark is intended to measure observability plugin overhead, so this silently undermines the comparison.
Proposed fix
Change version = 3 to version = 4 in both fixture files and add a small static-fixture test so future schema bumps cannot leave the benchmark fixtures stale.
Opened #1740 with the two fixture updates and a static-fixture guard. I kept the change scoped to the benchmark configuration; happy to adjust or drop the guard if you prefer a different shape.
Per maintainer guidance, #1740 now targets release/0.11 and has been rebased onto that branch. The same benchmark fixtures still use observability config version 3 on 0.11, while the validator there also requires version 4.
The 1.0 line will reset plugin versioning, so I kept this fix on the maintained 0.11 branch.