Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed Sep 17 17:10:48 2025 +0100 Add build-metric schema to sai-web `sai-web` was unable to parse build metric information sent from `sai-server` because it was missing the schema definition for `com.warmcat.sai.build-metric`. This commit adds the missing schema to the `lsm_schema_json_map` array in `w-comms.c`, allowing `sai-web` to correctly parse and handle build metric messages. diff --git a/src/web/w-comms.c b/src/web/w-comms.c index 1ddf2cf..2b07fc6 100644 --- a/src/web/w-comms.c +++ b/src/web/w-comms.c @@ -101,6 +101,8 @@ const lws_struct_map_t lsm_schema_json_map[] = { "com.warmcat.sai.loadreport"), LSM_SCHEMA (sai_browse_rx_evinfo_t, NULL, lsm_websrv_evinfo, "com.warmcat.sai.taskactivity"), + LSM_SCHEMA (sai_build_metric_t, NULL, lsm_build_metric, + "com.warmcat.sai.build-metric"), }; size_t lsm_schema_json_map_array_size = LWS_ARRAY_SIZE(lsm_schema_json_map);