Skip to content

Conversation

@tersal
Copy link
Contributor

@tersal tersal commented Oct 8, 2025

Summary

Alchemy generation of ICDManagement cluster.

  • Mostly formatting and description changes.
  • Some max and length attributes were added.
  • Elements like mandatoryConform removed when redundant.
  • Added "id" to command arguments.

Related issues

Part of #37391

Testing

Compiled all-clusters app and ran unit tests. CI checks should check backwards compatibility and other examples.

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

PR #41353: Size comparison from e03e558 to 722d17b

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section e03e558 722d17b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105094 1105094 0 0.0
RAM 178738 178738 0 0.0
bl702 lighting-app bl702+eth FLASH 659594 659594 0 0.0
RAM 134801 134801 0 0.0
bl702+wifi FLASH 835662 835662 0 0.0
RAM 124285 124285 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068806 1068806 0 0.0
RAM 117117 117117 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899020 899012 -8 -0.0
RAM 105460 105460 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981824 981824 0 0.0
RAM 109612 109612 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769224 769224 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780868 780868 0 0.0
RAM 108344 108344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726856 726856 0 0.0
RAM 97252 97252 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711316 711316 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553942 553942 0 0.0
RAM 204968 204968 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586674 586674 0 0.0
RAM 205200 205200 0 0.0
efr32 lock-app BRD4187C FLASH 960968 960968 0 0.0
RAM 126220 126220 0 0.0
BRD4338a FLASH 755664 755656 -8 -0.0
RAM 255480 255480 0 0.0
window-app BRD4187C FLASH 1055268 1055268 0 0.0
RAM 122416 122416 0 0.0
esp32 all-clusters-app c3devkit DRAM 103008 103008 0 0.0
FLASH 1789074 1789074 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928948 928948 0 0.0
RAM 160979 160979 0 0.0
nxp contact mcxw71+release FLASH 691552 691552 0 0.0
RAM 61424 61424 0 0.0
lighting mcxw71+release FLASH 723120 723120 0 0.0
RAM 68076 68076 0 0.0
lock mcxw71+release FLASH 770344 770344 0 0.0
RAM 61788 61788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670868 1670868 0 0.0
RAM 213044 213044 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589292 1589292 0 0.0
RAM 210316 210316 0 0.0
light cy8ckit_062s2_43012 FLASH 1456124 1456124 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488452 1488452 0 0.0
RAM 224752 224752 0 0.0
qpg lighting-app qpg6200+debug FLASH 835208 835208 0 0.0
RAM 127592 127592 0 0.0
lock-app qpg6200+debug FLASH 771956 771956 0 0.0
RAM 118552 118552 0 0.0
realtek light-switch-app rtl8777g FLASH 705184 705184 0 0.0
RAM 106756 106756 0 0.0
lighting-app rtl8777g FLASH 756392 756392 0 0.0
RAM 127120 127120 0 0.0
stm32 light STM32WB5MM-DK FLASH 468892 468892 0 0.0
RAM 141192 141192 0 0.0
telink bridge-app tl7218x FLASH 708284 708284 0 0.0
RAM 90340 90340 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795816 795816 0 0.0
RAM 40896 40896 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787012 787012 0 0.0
RAM 93540 93540 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713818 713818 0 0.0
RAM 51712 51712 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747122 747122 0 0.0
RAM 70760 70760 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723974 723974 0 0.0
RAM 34460 34460 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601240 601240 0 0.0
RAM 108588 108588 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819632 819636 4 0.0
RAM 91936 91936 0 0.0

@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.96%. Comparing base (c382907) to head (722d17b).
⚠️ Report is 84 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #41353   +/-   ##
=======================================
  Coverage   50.96%   50.96%           
=======================================
  Files        1378     1378           
  Lines      100598   100598           
  Branches    13023    13023           
=======================================
  Hits        51268    51268           
  Misses      49330    49330           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tersal tersal marked this pull request as ready for review October 9, 2025 04:05
Copilot AI review requested due to automatic review settings October 9, 2025 04:05
@tersal tersal requested review from a team as code owners October 9, 2025 04:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR generates the ICDManagement cluster using Alchemy, the automated code generation tool. The changes primarily involve formatting updates, improved descriptions, and the addition of some missing attributes like max values and IDs for command arguments.

Key changes:

  • Updated command descriptions to be more descriptive and clear
  • Added "id" attributes to command arguments in XML definition
  • Removed redundant mandatoryConform elements and simplified conformance rules
  • Changed StayActiveRequest command privilege from manage to operate in metadata

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
zzz_generated/app-common/clusters/IcdManagement/Metadata.h Changed StayActiveRequest command privilege from manage to operate
src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h Updated command descriptions to be more detailed and clear
src/controller/data_model/controller-clusters.matter Updated command descriptions and removed access privilege for StayActiveRequest
src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml Major Alchemy regeneration with formatting, added IDs, max values, and improved descriptions
Multiple example app .matter files Updated command descriptions to match the new Alchemy-generated versions
.github/workflows/tests.yaml Added icd-management-cluster.xml to the list of files checked in tests

@mkardous-silabs
Copy link
Contributor

@tersal As a nit, i don't believe the all-cluster-app has the icd management cluster as part of its configuration.

@tersal
Copy link
Contributor Author

tersal commented Oct 9, 2025

@tersal As a nit, i don't believe the all-cluster-app has the icd management cluster as part of its configuration.

Yes, I checked and most likely not in the all-clusters app, luckily it seems that the lit-icd-app was built and a couple of ICDM tests also ran during the CI checks so I assume that nothing breaks there. I usually use the all clusters app as a first "sanity check" (even if no actual code was changed) but probably I should look for an example more carefully when doing this.

@andy31415
Copy link
Contributor

Approved: StayActive moved from manage to operate however this seems to match the spec and seems ok.

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Oct 14, 2025
@andy31415 andy31415 merged commit 96c83bf into project-chip:master Oct 14, 2025
75 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in [Platform] Darwin Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app controller darwin examples chef Changes in examples/chef examples github review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. workflows

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants