Repository navigation
Semantic tag namespaces - Generate every spec namespace and SemanticTagNamespaceID with Alchemy - #75131
Semantic tag namespaces - Generate every spec namespace and SemanticTagNamespaceID with Alchemy#75131raul-marquez-csa wants to merge 5 commits into
Conversation
… adding every namespace and a namespace ID enum
Walkthrough
Merge Risk:
|
andy31415
left a comment
There was a problem hiding this comment.
I think it is ok even with the TV room case change (likely not that used and generally provisional) but would welcome another set of eyes/reviews here.
There was a problem hiding this comment.
Follow-up Comments

Add unit assertions for the SemanticTagNamespaceId numeric values.
465-465:Trivial · Functional Correctness · Quick win Add unit assertions for the SemanticTagNamespaceId numeric values.
No test in this change or the repository asserts the numeric
SemanticTagNamespaceIdvalues. The added namespace enum has no test coverage forkClosureWindow = 0x47 (71)orkClosureCabinet = 0x48 (72). A regression that swapped these values would not fail a test. The current generated values match the source XML, so this is a coverage gap, not a current defect. The shared guideline asks for unit tests on changes unless testing is impossible, which this generated enum does not appear to be.As per coding guidelines: "Unit tests are required for all changes unless unit testing is impossible (e.g., platform-specific code)."
Source: Coding guidelines

Add unit tests for the SemanticTagNamespaceId validator.
809-809:Trivial · Maintainability & Code Quality · Low value Add unit tests for the
SemanticTagNamespaceIdvalidator.No test calls
EnsureKnownEnumValue(Globals::SemanticTagNamespaceId). Add assertions that a declared ID such askCommonClosureis preserved. Add assertions that a reserved gap ID such as0x09maps tokUnknownEnumValue. The current switch matches the declared members, so these tests guard against future generator regressions.As per coding guidelines: "Unit tests are required for all changes unless unit testing is impossible (e.g., platform-specific code)." This gap is not a defect at head. The guideline applies to the generated output, but generator output is also checked by
check_alchemy_metadata.py, so this remains a follow-up.

Review info
-

Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
42ad099a-c41c-484b-81f3-7c9dc387eb61

Files selected for processing: 144
-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matter
examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
examples/all-clusters-app/realtek/data_model/all-clusters-app.matter
examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
examples/bridge-app/bridge-common/bridge-app.matter
examples/camera-app/camera-common/camera-app.matter
examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter
examples/chef/devices/multi_column_switch.matter
examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter
examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
examples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matter
examples/chef/devices/rootnode_chime_9991598b3f.matter
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter
examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter
examples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matter
examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matter
examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
examples/chef/devices/rootnode_extractorhood_0359bf807d.matter
examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
examples/chef/devices/rootnode_genericswitch_2dfff6e516.matter
examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter
examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
examples/chef/devices/rootnode_laundrydryer_01796fe396.matter
examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
examples/chef/devices/rootnode_microwaveoven_37420684d3.matter
examples/chef/devices/rootnode_modeselect_6860d3a65a.matter
examples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matter
examples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matter
examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
examples/chef/devices/rootnode_onofflight_samplemei.matter
examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
examples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matter
examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
examples/chef/devices/rootnode_pump_5f904818cc.matter
examples/chef/devices/rootnode_rainsensor_a7aa5d7738.matter
examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
examples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matter
examples/chef/devices/rootnode_waterheater_21bd13d651.matter
examples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matter
examples/chef/devices/rootnode_watervalve_6bb39f1f67.matter
examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
examples/closure-app/closure-common/closure-app.matter
examples/closure-app/silabs/data_model/closure-thread-app.matter
examples/closure-app/silabs/data_model/closure-wifi-app.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matter
examples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matter
examples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matter
examples/evse-app/evse-common/evse-app.matter
examples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matter
examples/jf-admin-app/jfa-common/jfa-app.matter
examples/laundry-washer-app/nxp/zap/laundry-washer-app.matter
examples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matter
examples/light-switch-app/light-switch-common/light-switch-app.matter
examples/light-switch-app/qpg/zap/switch.matter
examples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matter
examples/light-switch-app/realtek/data_model/light-switch-app.matter
examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
examples/lighting-app/esp32/data_model/lighting-app.matter
examples/lighting-app/lighting-common/lighting-app.matter
examples/lighting-app/nxp/zap/lighting-on-off.matter
examples/lighting-app/qpg/zap/light.matter
examples/lighting-app/realtek/data_model/lighting-app-extended-color.matter
examples/lighting-app/realtek/data_model/lighting-app.matter
examples/lighting-app/silabs/data_model/lighting-thread-app.matter
examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
examples/lighting-app/stm32/data_model/lighting-app.matter
examples/lit-icd-app/lit-icd-common/lit-icd-server-app.matter
examples/lock-app/lock-common/lock-app.matter
examples/lock-app/nxp/zap/lock-app.matter
examples/lock-app/qpg/zap/lock.matter
examples/lock-app/realtek/data_model/lock-app.matter
examples/lock-app/silabs/data_model/lock-app.matter
examples/log-source-app/log-source-common/log-source-app.matter
examples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matter
examples/network-manager-app/network-manager-common/network-manager-app.matter
examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
examples/placeholder/linux/apps/app1/config.matter
examples/placeholder/linux/apps/app2/config.matter
examples/pump-app/pump-common/pump-app.matter
examples/pump-app/silabs/data_model/pump-thread-app.matter
examples/pump-app/silabs/data_model/pump-wifi-app.matter
examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matter
examples/rvc-app/rvc-common/rvc-app.matter
examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
examples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matter
examples/thermostat/nxp/zap/thermostat_matter_br.matter
examples/thermostat/nxp/zap/thermostat_matter_eth.matter
examples/thermostat/nxp/zap/thermostat_matter_thread.matter
examples/thermostat/nxp/zap/thermostat_matter_wifi.matter
examples/thermostat/qpg/zap/thermostaticRadiatorValve.matter
examples/thermostat/thermostat-common/thermostat.matter
examples/thread-br-app/thread-br-common/thread-br-app.matter
examples/tv-app/tv-common/tv-app.matter
examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
examples/water-heater-app/water-heater-common/water-heater-app.matter
examples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matter
examples/window-app/common/window-app.matter
src/app/zap-templates/zcl/data-model/chip/alchemy_allowlists.yaml
src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml
src/controller/data_model/controller-clusters.matter
src/controller/python/matter/clusters/Objects.py
src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
zzz_generated/app-common/clusters/shared/Enums.h
zzz_generated/app-common/clusters/shared/EnumsCheck.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
42ad099a-c41c-484b-81f3-7c9dc387eb61
Files selected for processing: 144-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matterexamples/all-clusters-app/all-clusters-common/all-clusters-app.matterexamples/all-clusters-app/realtek/data_model/all-clusters-app.matterexamples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matterexamples/bridge-app/bridge-common/bridge-app.matterexamples/camera-app/camera-common/camera-app.matterexamples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matterexamples/chef/devices/multi_column_switch.matterexamples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_airpurifier_73a6fe2651.matterexamples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matterexamples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matterexamples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matterexamples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matterexamples/chef/devices/rootnode_chime_9991598b3f.matterexamples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matterexamples/chef/devices/rootnode_contactsensor_27f76aeaf5.matterexamples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matterexamples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matterexamples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matterexamples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matterexamples/chef/devices/rootnode_dishwasher_cc105034fe.matterexamples/chef/devices/rootnode_doorlock_aNKYAreMXE.matterexamples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matterexamples/chef/devices/rootnode_extractorhood_0359bf807d.matterexamples/chef/devices/rootnode_fan_7N2TobIlOX.matterexamples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matterexamples/chef/devices/rootnode_genericswitch_2dfff6e516.matterexamples/chef/devices/rootnode_genericswitch_9866e35d0b.matterexamples/chef/devices/rootnode_heatpump_87ivjRAECh.matterexamples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matterexamples/chef/devices/rootnode_laundrydryer_01796fe396.matterexamples/chef/devices/rootnode_laundrywasher_fb10d238c8.matterexamples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matterexamples/chef/devices/rootnode_microwaveoven_37420684d3.matterexamples/chef/devices/rootnode_modeselect_6860d3a65a.matterexamples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matterexamples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matterexamples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matterexamples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matterexamples/chef/devices/rootnode_onofflight_samplemei.matterexamples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matterexamples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matterexamples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matterexamples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matterexamples/chef/devices/rootnode_pump_5f904818cc.matterexamples/chef/devices/rootnode_rainsensor_a7aa5d7738.matterexamples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matterexamples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matterexamples/chef/devices/rootnode_roomairconditioner_9cf3607804.matterexamples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matterexamples/chef/devices/rootnode_speaker_RpzeXdimqA.matterexamples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matterexamples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matterexamples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matterexamples/chef/devices/rootnode_waterheater_21bd13d651.matterexamples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matterexamples/chef/devices/rootnode_watervalve_6bb39f1f67.matterexamples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matterexamples/closure-app/closure-common/closure-app.matterexamples/closure-app/silabs/data_model/closure-thread-app.matterexamples/closure-app/silabs/data_model/closure-wifi-app.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matterexamples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matterexamples/dishwasher-app/dishwasher-common/dishwasher-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matterexamples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matterexamples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matterexamples/evse-app/evse-common/evse-app.matterexamples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matterexamples/jf-admin-app/jfa-common/jfa-app.matterexamples/laundry-washer-app/nxp/zap/laundry-washer-app.matterexamples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matterexamples/light-switch-app/light-switch-common/light-switch-app.matterexamples/light-switch-app/qpg/zap/switch.matterexamples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matterexamples/light-switch-app/realtek/data_model/light-switch-app.matterexamples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-thread.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matterexamples/lighting-app/esp32/data_model/lighting-app.matterexamples/lighting-app/lighting-common/lighting-app.matterexamples/lighting-app/nxp/zap/lighting-on-off.matterexamples/lighting-app/qpg/zap/light.matterexamples/lighting-app/realtek/data_model/lighting-app-extended-color.matterexamples/lighting-app/realtek/data_model/lighting-app.matterexamples/lighting-app/silabs/data_model/lighting-thread-app.matterexamples/lighting-app/silabs/data_model/lighting-wifi-app.matterexamples/lighting-app/stm32/data_model/lighting-app.matterexamples/lit-icd-app/lit-icd-common/lit-icd-server-app.matterexamples/lock-app/lock-common/lock-app.matterexamples/lock-app/nxp/zap/lock-app.matterexamples/lock-app/qpg/zap/lock.matterexamples/lock-app/realtek/data_model/lock-app.matterexamples/lock-app/silabs/data_model/lock-app.matterexamples/log-source-app/log-source-common/log-source-app.matterexamples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matterexamples/network-manager-app/network-manager-common/network-manager-app.matterexamples/ota-provider-app/ota-provider-common/ota-provider-app.matterexamples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matterexamples/placeholder/linux/apps/app1/config.matterexamples/placeholder/linux/apps/app2/config.matterexamples/pump-app/pump-common/pump-app.matterexamples/pump-app/silabs/data_model/pump-thread-app.matterexamples/pump-app/silabs/data_model/pump-wifi-app.matterexamples/pump-controller-app/pump-controller-common/pump-controller-app.matterexamples/refrigerator-app/refrigerator-common/refrigerator-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matterexamples/rvc-app/rvc-common/rvc-app.matterexamples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matterexamples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matterexamples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matterexamples/thermostat/nxp/zap/thermostat_matter_br.matterexamples/thermostat/nxp/zap/thermostat_matter_eth.matterexamples/thermostat/nxp/zap/thermostat_matter_thread.matterexamples/thermostat/nxp/zap/thermostat_matter_wifi.matterexamples/thermostat/qpg/zap/thermostaticRadiatorValve.matterexamples/thermostat/thermostat-common/thermostat.matterexamples/thread-br-app/thread-br-common/thread-br-app.matterexamples/tv-app/tv-common/tv-app.matterexamples/tv-casting-app/tv-casting-common/tv-casting-app.matterexamples/virtual-device-app/virtual-device-common/virtual-device-app.matterexamples/water-heater-app/water-heater-common/water-heater-app.matterexamples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matterexamples/window-app/common/window-app.mattersrc/app/zap-templates/zcl/data-model/chip/alchemy_allowlists.yamlsrc/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xmlsrc/controller/data_model/controller-clusters.mattersrc/controller/python/matter/clusters/Objects.pysrc/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.hzzz_generated/app-common/clusters/shared/Enums.hzzz_generated/app-common/clusters/shared/EnumsCheck.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
The backwards compatibility check fails only on the |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #75131 +/- ##
==========================================
+ Coverage 56.78% 56.87% +0.09%
==========================================
Files 2143 2149 +6
Lines 141324 141557 +233
Branches 16601 16598 -3
==========================================
+ Hits 80245 80510 +265
+ Misses 61079 61047 -32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ature list, adding the in-progress namespaces
There was a problem hiding this comment.

Nitpick comments: 2
src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml: 1
467-483:Trivial · Maintainability & Code Quality · Low value Add a test that checks the values of the three new semantic-tag enums.
No unit test asserts the numeric values of
AlarmSeverityTag,ElectricalDistributionFormFactorTag, orElectricalDistributionOverVoltageTag, or the newSemanticTagNamespaceIdvalues. A regenerated value swap would pass the metadata check and the generatedEnsureKnownEnumValuechecks. Add a test that asserts each name-to-value pair from the spec.As per coding guidelines: "Unit tests are required for all changes unless unit testing is impossible (e.g., platform-specific code)."
Source: Coding guidelines
zzz_generated/app-common/clusters/shared/EnumsCheck.h: 1
474-478:Trivial · Maintainability & Code Quality · Low value Add a unit test for the over-voltage tag validator.
No unit test calls
EnsureKnownEnumValue(Globals::ElectricalDistributionOverVoltageTag). A change that drops thekLineToLinecase would pass the current tests. Add assertions thatkLineToLinestays known and that an unlisted value maps tokUnknownEnumValue.As per coding guidelines: "Unit tests are required for all changes unless unit testing is impossible."
Source: Coding guidelines

Review info
-

Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ec7e0d9e-32ab-4025-9b13-f4e27be69dde

Files selected for processing: 143
-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matter
examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
examples/all-clusters-app/realtek/data_model/all-clusters-app.matter
examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
examples/bridge-app/bridge-common/bridge-app.matter
examples/camera-app/camera-common/camera-app.matter
examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter
examples/chef/devices/multi_column_switch.matter
examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter
examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
examples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matter
examples/chef/devices/rootnode_chime_9991598b3f.matter
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter
examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter
examples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matter
examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matter
examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
examples/chef/devices/rootnode_extractorhood_0359bf807d.matter
examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
examples/chef/devices/rootnode_genericswitch_2dfff6e516.matter
examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter
examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
examples/chef/devices/rootnode_laundrydryer_01796fe396.matter
examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
examples/chef/devices/rootnode_microwaveoven_37420684d3.matter
examples/chef/devices/rootnode_modeselect_6860d3a65a.matter
examples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matter
examples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matter
examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
examples/chef/devices/rootnode_onofflight_samplemei.matter
examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
examples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matter
examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
examples/chef/devices/rootnode_pump_5f904818cc.matter
examples/chef/devices/rootnode_rainsensor_a7aa5d7738.matter
examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
examples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matter
examples/chef/devices/rootnode_waterheater_21bd13d651.matter
examples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matter
examples/chef/devices/rootnode_watervalve_6bb39f1f67.matter
examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
examples/closure-app/closure-common/closure-app.matter
examples/closure-app/silabs/data_model/closure-thread-app.matter
examples/closure-app/silabs/data_model/closure-wifi-app.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matter
examples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matter
examples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matter
examples/evse-app/evse-common/evse-app.matter
examples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matter
examples/jf-admin-app/jfa-common/jfa-app.matter
examples/laundry-washer-app/nxp/zap/laundry-washer-app.matter
examples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matter
examples/light-switch-app/light-switch-common/light-switch-app.matter
examples/light-switch-app/qpg/zap/switch.matter
examples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matter
examples/light-switch-app/realtek/data_model/light-switch-app.matter
examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
examples/lighting-app/esp32/data_model/lighting-app.matter
examples/lighting-app/lighting-common/lighting-app.matter
examples/lighting-app/nxp/zap/lighting-on-off.matter
examples/lighting-app/qpg/zap/light.matter
examples/lighting-app/realtek/data_model/lighting-app-extended-color.matter
examples/lighting-app/realtek/data_model/lighting-app.matter
examples/lighting-app/silabs/data_model/lighting-thread-app.matter
examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
examples/lighting-app/stm32/data_model/lighting-app.matter
examples/lit-icd-app/lit-icd-common/lit-icd-server-app.matter
examples/lock-app/lock-common/lock-app.matter
examples/lock-app/nxp/zap/lock-app.matter
examples/lock-app/qpg/zap/lock.matter
examples/lock-app/realtek/data_model/lock-app.matter
examples/lock-app/silabs/data_model/lock-app.matter
examples/log-source-app/log-source-common/log-source-app.matter
examples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matter
examples/network-manager-app/network-manager-common/network-manager-app.matter
examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
examples/placeholder/linux/apps/app1/config.matter
examples/placeholder/linux/apps/app2/config.matter
examples/pump-app/pump-common/pump-app.matter
examples/pump-app/silabs/data_model/pump-thread-app.matter
examples/pump-app/silabs/data_model/pump-wifi-app.matter
examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matter
examples/rvc-app/rvc-common/rvc-app.matter
examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
examples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matter
examples/thermostat/nxp/zap/thermostat_matter_br.matter
examples/thermostat/nxp/zap/thermostat_matter_eth.matter
examples/thermostat/nxp/zap/thermostat_matter_thread.matter
examples/thermostat/nxp/zap/thermostat_matter_wifi.matter
examples/thermostat/qpg/zap/thermostaticRadiatorValve.matter
examples/thermostat/thermostat-common/thermostat.matter
examples/thread-br-app/thread-br-common/thread-br-app.matter
examples/tv-app/tv-common/tv-app.matter
examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
examples/water-heater-app/water-heater-common/water-heater-app.matter
examples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matter
examples/window-app/common/window-app.matter
src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml
src/controller/data_model/controller-clusters.matter
src/controller/python/matter/clusters/Objects.py
src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
zzz_generated/app-common/clusters/shared/Enums.h
zzz_generated/app-common/clusters/shared/EnumsCheck.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ec7e0d9e-32ab-4025-9b13-f4e27be69dde
Files selected for processing: 143-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matterexamples/all-clusters-app/all-clusters-common/all-clusters-app.matterexamples/all-clusters-app/realtek/data_model/all-clusters-app.matterexamples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matterexamples/bridge-app/bridge-common/bridge-app.matterexamples/camera-app/camera-common/camera-app.matterexamples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matterexamples/chef/devices/multi_column_switch.matterexamples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_airpurifier_73a6fe2651.matterexamples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matterexamples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matterexamples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matterexamples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matterexamples/chef/devices/rootnode_chime_9991598b3f.matterexamples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matterexamples/chef/devices/rootnode_contactsensor_27f76aeaf5.matterexamples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matterexamples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matterexamples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matterexamples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matterexamples/chef/devices/rootnode_dishwasher_cc105034fe.matterexamples/chef/devices/rootnode_doorlock_aNKYAreMXE.matterexamples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matterexamples/chef/devices/rootnode_extractorhood_0359bf807d.matterexamples/chef/devices/rootnode_fan_7N2TobIlOX.matterexamples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matterexamples/chef/devices/rootnode_genericswitch_2dfff6e516.matterexamples/chef/devices/rootnode_genericswitch_9866e35d0b.matterexamples/chef/devices/rootnode_heatpump_87ivjRAECh.matterexamples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matterexamples/chef/devices/rootnode_laundrydryer_01796fe396.matterexamples/chef/devices/rootnode_laundrywasher_fb10d238c8.matterexamples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matterexamples/chef/devices/rootnode_microwaveoven_37420684d3.matterexamples/chef/devices/rootnode_modeselect_6860d3a65a.matterexamples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matterexamples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matterexamples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matterexamples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matterexamples/chef/devices/rootnode_onofflight_samplemei.matterexamples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matterexamples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matterexamples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matterexamples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matterexamples/chef/devices/rootnode_pump_5f904818cc.matterexamples/chef/devices/rootnode_rainsensor_a7aa5d7738.matterexamples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matterexamples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matterexamples/chef/devices/rootnode_roomairconditioner_9cf3607804.matterexamples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matterexamples/chef/devices/rootnode_speaker_RpzeXdimqA.matterexamples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matterexamples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matterexamples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matterexamples/chef/devices/rootnode_waterheater_21bd13d651.matterexamples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matterexamples/chef/devices/rootnode_watervalve_6bb39f1f67.matterexamples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matterexamples/closure-app/closure-common/closure-app.matterexamples/closure-app/silabs/data_model/closure-thread-app.matterexamples/closure-app/silabs/data_model/closure-wifi-app.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matterexamples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matterexamples/dishwasher-app/dishwasher-common/dishwasher-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matterexamples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matterexamples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matterexamples/evse-app/evse-common/evse-app.matterexamples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matterexamples/jf-admin-app/jfa-common/jfa-app.matterexamples/laundry-washer-app/nxp/zap/laundry-washer-app.matterexamples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matterexamples/light-switch-app/light-switch-common/light-switch-app.matterexamples/light-switch-app/qpg/zap/switch.matterexamples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matterexamples/light-switch-app/realtek/data_model/light-switch-app.matterexamples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-thread.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matterexamples/lighting-app/esp32/data_model/lighting-app.matterexamples/lighting-app/lighting-common/lighting-app.matterexamples/lighting-app/nxp/zap/lighting-on-off.matterexamples/lighting-app/qpg/zap/light.matterexamples/lighting-app/realtek/data_model/lighting-app-extended-color.matterexamples/lighting-app/realtek/data_model/lighting-app.matterexamples/lighting-app/silabs/data_model/lighting-thread-app.matterexamples/lighting-app/silabs/data_model/lighting-wifi-app.matterexamples/lighting-app/stm32/data_model/lighting-app.matterexamples/lit-icd-app/lit-icd-common/lit-icd-server-app.matterexamples/lock-app/lock-common/lock-app.matterexamples/lock-app/nxp/zap/lock-app.matterexamples/lock-app/qpg/zap/lock.matterexamples/lock-app/realtek/data_model/lock-app.matterexamples/lock-app/silabs/data_model/lock-app.matterexamples/log-source-app/log-source-common/log-source-app.matterexamples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matterexamples/network-manager-app/network-manager-common/network-manager-app.matterexamples/ota-provider-app/ota-provider-common/ota-provider-app.matterexamples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matterexamples/placeholder/linux/apps/app1/config.matterexamples/placeholder/linux/apps/app2/config.matterexamples/pump-app/pump-common/pump-app.matterexamples/pump-app/silabs/data_model/pump-thread-app.matterexamples/pump-app/silabs/data_model/pump-wifi-app.matterexamples/pump-controller-app/pump-controller-common/pump-controller-app.matterexamples/refrigerator-app/refrigerator-common/refrigerator-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matterexamples/rvc-app/rvc-common/rvc-app.matterexamples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matterexamples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matterexamples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matterexamples/thermostat/nxp/zap/thermostat_matter_br.matterexamples/thermostat/nxp/zap/thermostat_matter_eth.matterexamples/thermostat/nxp/zap/thermostat_matter_thread.matterexamples/thermostat/nxp/zap/thermostat_matter_wifi.matterexamples/thermostat/qpg/zap/thermostaticRadiatorValve.matterexamples/thermostat/thermostat-common/thermostat.matterexamples/thread-br-app/thread-br-common/thread-br-app.matterexamples/tv-app/tv-common/tv-app.matterexamples/tv-casting-app/tv-casting-common/tv-casting-app.matterexamples/virtual-device-app/virtual-device-common/virtual-device-app.matterexamples/water-heater-app/water-heater-common/water-heater-app.matterexamples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matterexamples/window-app/common/window-app.mattersrc/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xmlsrc/controller/data_model/controller-clusters.mattersrc/controller/python/matter/clusters/Objects.pysrc/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.hzzz_generated/app-common/clusters/shared/Enums.hzzz_generated/app-common/clusters/shared/EnumsCheck.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
…-tag-namespaces # Conflicts: # examples/air-purifier-app/air-purifier-common/air-purifier-app.matter # examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter # examples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matter # examples/all-clusters-app/all-clusters-common/all-clusters-app.matter # examples/all-clusters-app/realtek/data_model/all-clusters-app.matter # examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter # examples/bridge-app/bridge-common/bridge-app.matter # examples/camera-app/camera-common/camera-app.matter # examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter # examples/chef/devices/multi_column_switch.matter # examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter # examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter # examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter # examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter # examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter # examples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matter # examples/chef/devices/rootnode_chime_9991598b3f.matter # examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter # examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter # examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter # examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter # examples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matter # examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter # examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matter # examples/chef/devices/rootnode_dishwasher_cc105034fe.matter # examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter # examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter # examples/chef/devices/rootnode_extractorhood_0359bf807d.matter # examples/chef/devices/rootnode_fan_7N2TobIlOX.matter # examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter # examples/chef/devices/rootnode_genericswitch_2dfff6e516.matter # examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter # examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter # examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter # examples/chef/devices/rootnode_laundrydryer_01796fe396.matter # examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter # examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter # examples/chef/devices/rootnode_microwaveoven_37420684d3.matter # examples/chef/devices/rootnode_modeselect_6860d3a65a.matter # examples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matter # examples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matter # examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter # examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter # examples/chef/devices/rootnode_onofflight_samplemei.matter # examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter # examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter # examples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matter # examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter # examples/chef/devices/rootnode_pump_5f904818cc.matter # examples/chef/devices/rootnode_rainsensor_a7aa5d7738.matter # examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter # examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter # examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter # examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter # examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter # examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter # examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter # examples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matter # examples/chef/devices/rootnode_waterheater_21bd13d651.matter # examples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matter # examples/chef/devices/rootnode_watervalve_6bb39f1f67.matter # examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter # examples/closure-app/closure-common/closure-app.matter # examples/closure-app/silabs/data_model/closure-thread-app.matter # examples/closure-app/silabs/data_model/closure-wifi-app.matter # examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matter # examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter # examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter # examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter # examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter # examples/dishwasher-app/dishwasher-common/dishwasher-app.matter # examples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matter # examples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matter # examples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matter # examples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matter # examples/evse-app/evse-common/evse-app.matter # examples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matter # examples/jf-admin-app/jfa-common/jfa-app.matter # examples/laundry-washer-app/nxp/zap/laundry-washer-app.matter # examples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matter # examples/light-switch-app/light-switch-common/light-switch-app.matter # examples/light-switch-app/qpg/zap/switch.matter # examples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matter # examples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matter # examples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matter # examples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matter # examples/light-switch-app/realtek/data_model/light-switch-app.matter # examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter # examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter # examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter # examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter # examples/lighting-app/esp32/data_model/lighting-app.matter # examples/lighting-app/lighting-common/lighting-app.matter # examples/lighting-app/nxp/zap/lighting-on-off.matter # examples/lighting-app/qpg/zap/light.matter # examples/lighting-app/realtek/data_model/lighting-app-extended-color.matter # examples/lighting-app/realtek/data_model/lighting-app.matter # examples/lighting-app/silabs/data_model/lighting-thread-app.matter # examples/lighting-app/silabs/data_model/lighting-wifi-app.matter # examples/lighting-app/stm32/data_model/lighting-app.matter # examples/lit-icd-app/lit-icd-common/lit-icd-server-app.matter # examples/lock-app/lock-common/lock-app.matter # examples/lock-app/nxp/zap/lock-app.matter # examples/lock-app/qpg/zap/lock.matter # examples/lock-app/realtek/data_model/lock-app.matter # examples/lock-app/silabs/data_model/lock-app.matter # examples/log-source-app/log-source-common/log-source-app.matter # examples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matter # examples/network-manager-app/network-manager-common/network-manager-app.matter # examples/ota-provider-app/ota-provider-common/ota-provider-app.matter # examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter # examples/placeholder/linux/apps/app1/config.matter # examples/placeholder/linux/apps/app2/config.matter # examples/pump-app/pump-common/pump-app.matter # examples/pump-app/silabs/data_model/pump-thread-app.matter # examples/pump-app/silabs/data_model/pump-wifi-app.matter # examples/pump-controller-app/pump-controller-common/pump-controller-app.matter # examples/refrigerator-app/refrigerator-common/refrigerator-app.matter # examples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matter # examples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matter # examples/rvc-app/rvc-common/rvc-app.matter # examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter # examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter # examples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matter # examples/thermostat/nxp/zap/thermostat_matter_br.matter # examples/thermostat/nxp/zap/thermostat_matter_eth.matter # examples/thermostat/nxp/zap/thermostat_matter_thread.matter # examples/thermostat/nxp/zap/thermostat_matter_wifi.matter # examples/thermostat/qpg/zap/thermostaticRadiatorValve.matter # examples/thermostat/thermostat-common/thermostat.matter # examples/thread-br-app/thread-br-common/thread-br-app.matter # examples/tv-app/tv-common/tv-app.matter # examples/tv-casting-app/tv-casting-common/tv-casting-app.matter # examples/virtual-device-app/virtual-device-common/virtual-device-app.matter # examples/water-heater-app/water-heater-common/water-heater-app.matter # examples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matter # examples/window-app/common/window-app.matter # src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml # src/controller/data_model/controller-clusters.matter # src/controller/python/matter/clusters/Objects.py # src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h # zzz_generated/app-common/clusters/shared/Enums.h # zzz_generated/app-common/clusters/shared/EnumsCheck.h
…keeping the five existing tag enum names as aliases
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Update the semantic-tag generation instructions. · Interface.h:38-41
examples/all-devices-app/all-devices-common/device/api/Interface.h:38-41
Minor · Maintainability & Code Quality · Quick win Update the semantic-tag generation instructions.
Line 38 tells developers to edit
semantic-tag-namespace-enums.xml, and Line 41 says the file is hand-maintained. This change makes Alchemy the source of that file. If a developer follows these instructions, the metadata check rejects the hand edit. Replace the instructions with the Alchemy generation workflow and remove the stale TODO. The PR objectives state that the file is no longer hand-maintained.

Additional comments: 1
src/controller/python/matter/clusters/Objects.py-316-316: 1
316-316:Major · Data Integrity & Integration · Heavy lift
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.Preserve the legacy Python enum names.
The parent revision exported
Globals.Enums.AreaTypeTag,LandmarkTag,LocationTag, andSemanticTagNamespaceId. This revision replaces those names without Python aliases. Existing controller scripts that access a legacy name now raiseAttributeError, even though the enum values remain available under new names. Add aliases through the Python generation path so regeneration retains them. (raw.githubusercontent.com)As per coding guidelines, “Public APIs often have consumers outside this tree, so source compatibility is something to think about when changing or extending them.”
Also applies to: 788-788
Source: Coding guidelines

Review info
-

Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
c756a56f-b6d7-44c9-ace7-311ff169161c

Files selected for processing: 174
-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
examples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matter
examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
examples/all-clusters-app/realtek/data_model/all-clusters-app.matter
examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
examples/all-devices-app/all-devices-common/device-factory/DeviceFactory.h
examples/all-devices-app/all-devices-common/device/api/Interface.h
examples/all-devices-app/all-devices-common/device/types/battery-storage/BatteryStorage.cpp
examples/all-devices-app/all-devices-common/device/types/battery-storage/tests/TestBatteryStorage.cpp
examples/all-devices-app/all-devices-common/device/types/closure-panel/ClosurePanel.cpp
examples/all-devices-app/all-devices-common/device/types/closure/Closure.cpp
examples/all-devices-app/all-devices-common/device/types/closure/impl/ClosureVariants.cpp
examples/all-devices-app/all-devices-common/device/types/cooktop/impl/LoggingCooktop.cpp
examples/all-devices-app/all-devices-common/device/types/irrigation-system/impl/ValveConfigurations.cpp
examples/all-devices-app/all-devices-common/device/types/oven/impl/LoggingOven.cpp
examples/all-devices-app/all-devices-common/device/types/refrigerator/impl/LoggingRefrigerator.cpp
examples/all-devices-app/all-devices-common/device/types/robotic-vacuum-cleaner/impl/RvcSimulationLogic.h
examples/all-devices-app/all-devices-common/device/types/room-air-conditioner/impl/LoggingRoomAirConditionerWithSensors.cpp
examples/all-devices-app/all-devices-common/device/types/window-covering/WindowCoveringVariants.cpp
examples/bridge-app/bridge-common/bridge-app.matter
examples/camera-app/camera-common/camera-app.matter
examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter
examples/chef/devices/multi_column_switch.matter
examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter
examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
examples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matter
examples/chef/devices/rootnode_chime_9991598b3f.matter
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter
examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter
examples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matter
examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matter
examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
examples/chef/devices/rootnode_extractorhood_0359bf807d.matter
examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
examples/chef/devices/rootnode_genericswitch_2dfff6e516.matter
examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter
examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
examples/chef/devices/rootnode_laundrydryer_01796fe396.matter
examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
examples/chef/devices/rootnode_microwaveoven_37420684d3.matter
examples/chef/devices/rootnode_modeselect_6860d3a65a.matter
examples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matter
examples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matter
examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
examples/chef/devices/rootnode_onofflight_samplemei.matter
examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
examples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matter
examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
examples/chef/devices/rootnode_pump_5f904818cc.matter
examples/chef/devices/rootnode_rainsensor_a7aa5d7738.matter
examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
examples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matter
examples/chef/devices/rootnode_waterheater_21bd13d651.matter
examples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matter
examples/chef/devices/rootnode_watervalve_6bb39f1f67.matter
examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
examples/closure-app/closure-common/closure-app.matter
examples/closure-app/silabs/data_model/closure-thread-app.matter
examples/closure-app/silabs/data_model/closure-wifi-app.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matter
examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matter
examples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matter
examples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matter
examples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matter
examples/evse-app/evse-common/evse-app.matter
examples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matter
examples/jf-admin-app/jfa-common/jfa-app.matter
examples/laundry-washer-app/nxp/zap/laundry-washer-app.matter
examples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matter
examples/light-switch-app/light-switch-common/light-switch-app.matter
examples/light-switch-app/qpg/zap/switch.matter
examples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matter
examples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matter
examples/light-switch-app/realtek/data_model/light-switch-app.matter
examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
examples/lighting-app/esp32/data_model/lighting-app.matter
examples/lighting-app/lighting-common/lighting-app.matter
examples/lighting-app/nxp/zap/lighting-on-off.matter
examples/lighting-app/qpg/zap/light.matter
examples/lighting-app/realtek/data_model/lighting-app-extended-color.matter
examples/lighting-app/realtek/data_model/lighting-app.matter
examples/lighting-app/silabs/data_model/lighting-thread-app.matter
examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
examples/lighting-app/stm32/data_model/lighting-app.matter
examples/lit-icd-app/lit-icd-common/lit-icd-server-app.matter
examples/lock-app/lock-common/lock-app.matter
examples/lock-app/nxp/zap/lock-app.matter
examples/lock-app/qpg/zap/lock.matter
examples/lock-app/realtek/data_model/lock-app.matter
examples/lock-app/silabs/data_model/lock-app.matter
examples/log-source-app/log-source-common/log-source-app.matter
examples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matter
examples/network-manager-app/network-manager-common/network-manager-app.matter
examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
examples/placeholder/linux/apps/app1/config.matter
examples/placeholder/linux/apps/app2/config.matter
examples/pump-app/pump-common/pump-app.matter
examples/pump-app/silabs/data_model/pump-thread-app.matter
examples/pump-app/silabs/data_model/pump-wifi-app.matter
examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matter
examples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matter
examples/rvc-app/linux/RvcAppCommandDelegate.cpp
examples/rvc-app/rvc-common/rvc-app.matter
examples/rvc-app/rvc-common/src/rvc-service-area-delegate.cpp
examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
examples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matter
examples/thermostat/nxp/zap/thermostat_matter_br.matter
examples/thermostat/nxp/zap/thermostat_matter_eth.matter
examples/thermostat/nxp/zap/thermostat_matter_thread.matter
examples/thermostat/nxp/zap/thermostat_matter_wifi.matter
examples/thermostat/qpg/zap/thermostaticRadiatorValve.matter
examples/thermostat/thermostat-common/thermostat.matter
examples/thread-br-app/thread-br-common/thread-br-app.matter
examples/tv-app/tv-common/tv-app.matter
examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
examples/water-heater-app/water-heater-common/water-heater-app.matter
examples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.matter
src/app/clusters/bridged-device-basic-information-server/BridgedDeviceBasicInformationCluster.cpp
src/app/clusters/bridged-device-basic-information-server/BridgedDeviceBasicInformationCluster.h
src/app/clusters/bridged-device-basic-information-server/tests/TestBridgedDeviceBasicInformationCluster.cpp
src/app/clusters/ecosystem-information-server/ecosystem-information-server.cpp
src/app/clusters/ecosystem-information-server/ecosystem-information-server.h
src/app/clusters/service-area-server/service-area-cluster-objects.h
src/app/clusters/service-area-server/tests/TestServiceAreaCluster.cpp
src/app/common/BUILD.gn
src/app/common/CompatGlobalEnumNames.h
src/app/zap-templates/templates/app/clusters-shared-Enums.h.zapt
src/app/zap-templates/zcl/data-model/chip/global-structs.xml
src/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xml
src/app/zap-templates/zcl/data-model/chip/service-area-cluster.xml
src/controller/data_model/controller-clusters.matter
src/controller/python/matter/clusters/Objects.py
src/darwin/Framework/CHIP/templates/availability.yaml
src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
zzz_generated/app-common/clusters/ServiceArea/Structs.h
zzz_generated/app-common/clusters/shared/BUILD.gn
zzz_generated/app-common/clusters/shared/Enums.h
zzz_generated/app-common/clusters/shared/EnumsCheck.h
zzz_generated/app-common/clusters/shared/Structs.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
c756a56f-b6d7-44c9-ace7-311ff169161c
Files selected for processing: 174-
examples/air-purifier-app/air-purifier-common/air-purifier-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matterexamples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matterexamples/all-clusters-app/all-clusters-common/all-clusters-app.matterexamples/all-clusters-app/realtek/data_model/all-clusters-app.matterexamples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matterexamples/all-devices-app/all-devices-common/device-factory/DeviceFactory.hexamples/all-devices-app/all-devices-common/device/api/Interface.hexamples/all-devices-app/all-devices-common/device/types/battery-storage/BatteryStorage.cppexamples/all-devices-app/all-devices-common/device/types/battery-storage/tests/TestBatteryStorage.cppexamples/all-devices-app/all-devices-common/device/types/closure-panel/ClosurePanel.cppexamples/all-devices-app/all-devices-common/device/types/closure/Closure.cppexamples/all-devices-app/all-devices-common/device/types/closure/impl/ClosureVariants.cppexamples/all-devices-app/all-devices-common/device/types/cooktop/impl/LoggingCooktop.cppexamples/all-devices-app/all-devices-common/device/types/irrigation-system/impl/ValveConfigurations.cppexamples/all-devices-app/all-devices-common/device/types/oven/impl/LoggingOven.cppexamples/all-devices-app/all-devices-common/device/types/refrigerator/impl/LoggingRefrigerator.cppexamples/all-devices-app/all-devices-common/device/types/robotic-vacuum-cleaner/impl/RvcSimulationLogic.hexamples/all-devices-app/all-devices-common/device/types/room-air-conditioner/impl/LoggingRoomAirConditionerWithSensors.cppexamples/all-devices-app/all-devices-common/device/types/window-covering/WindowCoveringVariants.cppexamples/bridge-app/bridge-common/bridge-app.matterexamples/camera-app/camera-common/camera-app.matterexamples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matterexamples/chef/devices/multi_column_switch.matterexamples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_airpurifier_73a6fe2651.matterexamples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matterexamples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matterexamples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matterexamples/chef/devices/rootnode_castingvideoplayer_contentapp_34699714e7.matterexamples/chef/devices/rootnode_chime_9991598b3f.matterexamples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matterexamples/chef/devices/rootnode_contactsensor_27f76aeaf5.matterexamples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matterexamples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matterexamples/chef/devices/rootnode_cooktop_cooksurface_d3c174cc88.matterexamples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matterexamples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matterexamples/chef/devices/rootnode_dishwasher_cc105034fe.matterexamples/chef/devices/rootnode_doorlock_aNKYAreMXE.matterexamples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matterexamples/chef/devices/rootnode_extractorhood_0359bf807d.matterexamples/chef/devices/rootnode_fan_7N2TobIlOX.matterexamples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matterexamples/chef/devices/rootnode_genericswitch_2dfff6e516.matterexamples/chef/devices/rootnode_genericswitch_9866e35d0b.matterexamples/chef/devices/rootnode_heatpump_87ivjRAECh.matterexamples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matterexamples/chef/devices/rootnode_laundrydryer_01796fe396.matterexamples/chef/devices/rootnode_laundrywasher_fb10d238c8.matterexamples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matterexamples/chef/devices/rootnode_microwaveoven_37420684d3.matterexamples/chef/devices/rootnode_modeselect_6860d3a65a.matterexamples/chef/devices/rootnode_mounteddimmableloadcontrol_a9a1a87f2d.matterexamples/chef/devices/rootnode_mountedonoffcontrol_ec30c757a6.matterexamples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matterexamples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matterexamples/chef/devices/rootnode_onofflight_samplemei.matterexamples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matterexamples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matterexamples/chef/devices/rootnode_oven_temperaturecontrolledcabinet_cooktop_cooksurface_738dd18832.matterexamples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matterexamples/chef/devices/rootnode_pump_5f904818cc.matterexamples/chef/devices/rootnode_rainsensor_a7aa5d7738.matterexamples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matterexamples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matterexamples/chef/devices/rootnode_roomairconditioner_9cf3607804.matterexamples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matterexamples/chef/devices/rootnode_speaker_RpzeXdimqA.matterexamples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matterexamples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matterexamples/chef/devices/rootnode_waterfreezedetector_dd94a13a16.matterexamples/chef/devices/rootnode_waterheater_21bd13d651.matterexamples/chef/devices/rootnode_waterleakdetector_0b067acfa3.matterexamples/chef/devices/rootnode_watervalve_6bb39f1f67.matterexamples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matterexamples/closure-app/closure-common/closure-app.matterexamples/closure-app/silabs/data_model/closure-thread-app.matterexamples/closure-app/silabs/data_model/closure-wifi-app.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app-wifi.matterexamples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matterexamples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matterexamples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matterexamples/dishwasher-app/dishwasher-common/dishwasher-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-thread-app.matterexamples/dishwasher-app/silabs/data_model/dishwasher-wifi-app.matterexamples/electrical-protection-app/electrical-protection-common/electrical-protection-app.matterexamples/energy-gateway-app/energy-gateway-common/energy-gateway-app.matterexamples/evse-app/evse-common/evse-app.matterexamples/fabric-bridge-app/fabric-bridge-common/fabric-bridge-app.matterexamples/jf-admin-app/jfa-common/jfa-app.matterexamples/laundry-washer-app/nxp/zap/laundry-washer-app.matterexamples/light-switch-app/light-switch-common/icd-lit-light-switch-app.matterexamples/light-switch-app/light-switch-common/light-switch-app.matterexamples/light-switch-app/qpg/zap/switch.matterexamples/light-switch-app/realtek/data_model/icd-lit-light-switch-app.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_11.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_2.matterexamples/light-switch-app/realtek/data_model/light-switch-app-1_to_8.matterexamples/light-switch-app/realtek/data_model/light-switch-app.matterexamples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-thread.matterexamples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matterexamples/lighting-app/esp32/data_model/lighting-app.matterexamples/lighting-app/lighting-common/lighting-app.matterexamples/lighting-app/nxp/zap/lighting-on-off.matterexamples/lighting-app/qpg/zap/light.matterexamples/lighting-app/realtek/data_model/lighting-app-extended-color.matterexamples/lighting-app/realtek/data_model/lighting-app.matterexamples/lighting-app/silabs/data_model/lighting-thread-app.matterexamples/lighting-app/silabs/data_model/lighting-wifi-app.matterexamples/lighting-app/stm32/data_model/lighting-app.matterexamples/lit-icd-app/lit-icd-common/lit-icd-server-app.matterexamples/lock-app/lock-common/lock-app.matterexamples/lock-app/nxp/zap/lock-app.matterexamples/lock-app/qpg/zap/lock.matterexamples/lock-app/realtek/data_model/lock-app.matterexamples/lock-app/silabs/data_model/lock-app.matterexamples/log-source-app/log-source-common/log-source-app.matterexamples/microwave-oven-app/microwave-oven-common/microwave-oven-app.matterexamples/network-manager-app/network-manager-common/network-manager-app.matterexamples/ota-provider-app/ota-provider-common/ota-provider-app.matterexamples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matterexamples/placeholder/linux/apps/app1/config.matterexamples/placeholder/linux/apps/app2/config.matterexamples/pump-app/pump-common/pump-app.matterexamples/pump-app/silabs/data_model/pump-thread-app.matterexamples/pump-app/silabs/data_model/pump-wifi-app.matterexamples/pump-controller-app/pump-controller-common/pump-controller-app.matterexamples/refrigerator-app/refrigerator-common/refrigerator-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-thread-app.matterexamples/refrigerator-app/silabs/data_model/refrigerator-wifi-app.matterexamples/rvc-app/linux/RvcAppCommandDelegate.cppexamples/rvc-app/rvc-common/rvc-app.matterexamples/rvc-app/rvc-common/src/rvc-service-area-delegate.cppexamples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matterexamples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matterexamples/terms-and-conditions-app/terms-and-conditions-common/terms-and-conditions-app.matterexamples/thermostat/nxp/zap/thermostat_matter_br.matterexamples/thermostat/nxp/zap/thermostat_matter_eth.matterexamples/thermostat/nxp/zap/thermostat_matter_thread.matterexamples/thermostat/nxp/zap/thermostat_matter_wifi.matterexamples/thermostat/qpg/zap/thermostaticRadiatorValve.matterexamples/thermostat/thermostat-common/thermostat.matterexamples/thread-br-app/thread-br-common/thread-br-app.matterexamples/tv-app/tv-common/tv-app.matterexamples/tv-casting-app/tv-casting-common/tv-casting-app.matterexamples/virtual-device-app/virtual-device-common/virtual-device-app.matterexamples/water-heater-app/water-heater-common/water-heater-app.matterexamples/water-leak-detector-app/water-leak-detector-common/water-leak-detector-app.mattersrc/app/clusters/bridged-device-basic-information-server/BridgedDeviceBasicInformationCluster.cppsrc/app/clusters/bridged-device-basic-information-server/BridgedDeviceBasicInformationCluster.hsrc/app/clusters/bridged-device-basic-information-server/tests/TestBridgedDeviceBasicInformationCluster.cppsrc/app/clusters/ecosystem-information-server/ecosystem-information-server.cppsrc/app/clusters/ecosystem-information-server/ecosystem-information-server.hsrc/app/clusters/service-area-server/service-area-cluster-objects.hsrc/app/clusters/service-area-server/tests/TestServiceAreaCluster.cppsrc/app/common/BUILD.gnsrc/app/common/CompatGlobalEnumNames.hsrc/app/zap-templates/templates/app/clusters-shared-Enums.h.zaptsrc/app/zap-templates/zcl/data-model/chip/global-structs.xmlsrc/app/zap-templates/zcl/data-model/chip/semantic-tag-namespace-enums.xmlsrc/app/zap-templates/zcl/data-model/chip/service-area-cluster.xmlsrc/controller/data_model/controller-clusters.mattersrc/controller/python/matter/clusters/Objects.pysrc/darwin/Framework/CHIP/templates/availability.yamlsrc/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.hzzz_generated/app-common/clusters/ServiceArea/Structs.hzzz_generated/app-common/clusters/shared/BUILD.gnzzz_generated/app-common/clusters/shared/Enums.hzzz_generated/app-common/clusters/shared/EnumsCheck.hzzz_generated/app-common/clusters/shared/Structs.h
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
Summary
Adds every semantic tag namespace in the spec, plus a
SemanticTagNamespaceIDenum of their IDs, generated by Alchemy instead of typed by hand, which lets code use any standard namespace and tag by name and lets CI reject hand edits to the file.Included in this PR
semantic-tag-namespace-enums.xml)alchemy_allowlists.yaml)global-structs.xmlandservice-area-cluster.xml, whose tag fields now use theCommon*enums; the Service Area file also picks up current Alchemy output (optional attributes, command field IDs,mandatoryConform)Enums.h,EnumsCheck.h,Structs.h,Objects.py,MTRBaseClusters.h,.matterfiles)CommonLocationTag/kCommonLocation), so every ID matches its tag enum; tag values are unchanged, andCommonLocationTaggainsZonefrom the specAreaTypeTag,LandmarkTag,LocationTag,PositionTag,RelativePositionTag) keep their old names as aliases in a newCompatGlobalEnumNames.h, which the generatedclusters/shared/Enums.hincludes.CompatEnumNames.his only reached throughcluster-enums.h, so code that includes only the per-cluster headers, as code-driven clusters do, would not see aliases thereLandmarkTag,PositionTag,RelativePositionTag) throughavailability.yamlrenames;CommonAreaTagstays provisional andCommonLocationTagstays in the future release, as their old names wereAfter this PR
src/namespaces/Namespace-*.adoc); the SDK file is then regenerated with Alchemy andzap_regen_all.py, never edited by handtype-namesoverride in the spec's Alchemy errata-afeature list andprovisional-policy=looseas the cluster XMLs, so it includes the in-progress namespaces (Alarm Severity, Electrical Distribution); a run without that list deletes their enums.mattername needs theskip-protocol-compatibilitylabelTesting
Regenerated and checked with:
The same
alchemy zapcommand runs again with./connectedhomeip-spec/src/app_clusters/ServiceArea.adocin place of the namespaces, which also writesglobal-structs.xml. Alchemy's edit tozcl.jsonandzcl-with-test-extensions.jsonis left out, since it drops Service Area's FeatureMapkeepDefaultfrom #74614.TestServiceAreaCluster,TestBridgedDeviceBasicInformationCluster,TestEcosystemInformationCluster,TestBatteryStoragelinux-x64-tests-clang, all-devices-app, rvc-app,gn check.matterchange is a rename or the droppedCommonClosureTagRelated issues
Add missing namespaces to semantic-tag-namespace-enums.xml #34700