Skip to content

[Code Driven Cluster] Decouple Fan Cluster part 2#43408

Open
LyudmilaKostanyan wants to merge 180 commits into
project-chip:masterfrom
LyudmilaKostanyan:FanControl
Open

[Code Driven Cluster] Decouple Fan Cluster part 2#43408
LyudmilaKostanyan wants to merge 180 commits into
project-chip:masterfrom
LyudmilaKostanyan:FanControl

Conversation

@LyudmilaKostanyan
Copy link
Copy Markdown
Contributor

@LyudmilaKostanyan LyudmilaKostanyan commented Mar 3, 2026

Summary

Migrates the Fan Control cluster from the legacy Ember implementation to the code-driven architecture and adds a fan device to the all-devices-app.

Changes:

  • Added FanControlCluster class with ReadAttribute, WriteAttribute, InvokeCommand for the Step command, and attribute cascades.
  • Added CodegenIntegration.
  • Added unit tests.
  • Added a fan device to the all-devices-app.
  • Enabled the FAN python tests to run against all-devices-app.

Related issues

#43161

Testing

Tested using chip-all-clusters-app, chip-all-devices-app, and chip-repl.

@LyudmilaKostanyan
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request is a solid step forward in migrating the Fan Control cluster to a modern, code-driven architecture. However, a critical use-after-free vulnerability has been identified in the integration layer where stack-allocated delegates are passed to registration functions, which violates the rule regarding the lifetime of stack-allocated objects passed by reference. Beyond this, the FeatureMap attribute is hardcoded to zero, and key configuration attributes like SpeedMax, RockSupport, and WindSupport are hardcoded in CodegenIntegration.cpp, limiting customization. Logic errors were also found in the attribute write validation for FanMode, RockSetting, and WindSetting, potentially causing incorrect device behavior or denial of service. Addressing these points, including expanding unit tests for FeatureMap once corrected, is essential for a secure, correct, and flexible implementation.

Comment thread src/app/clusters/fan-control-server/CodegenIntegration.cpp
Comment thread src/app/clusters/fan-control-server/CodegenIntegration.cpp
Comment thread src/app/clusters/fan-control-server/CodegenIntegration.cpp Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp Outdated
Comment thread src/app/clusters/fan-control-server/tests/TestFanControlCluster.cpp
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully migrates the Fan Control cluster to the code-driven architecture, which is a great improvement. The changes involve removing the old Ember-style implementation and replacing it with a new FanControlCluster class, along with the necessary integration code and unit tests.

My review found a couple of high-severity issues that should be addressed:

  1. In CodegenIntegration.cpp, several cluster configuration values are hardcoded, which limits the functionality and flexibility of the cluster.
  2. The FanControlCluster implementation incorrectly reports the FeatureMap attribute as 0, which will prevent clients from discovering supported features.

Addressing these issues will make this migration complete and robust.

Comment thread src/app/clusters/fan-control-server/CodegenIntegration.cpp Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

PR #43408: Size comparison from a6e7031 to 0794253

Full report (14 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, qpg, realtek, stm32)
platform target config section a6e7031 0794253 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1089622 1089622 0 0.0
RAM 144826 144826 0 0.0
bl616 lighting-app bl616+thread FLASH 1100292 1100292 0 0.0
RAM 104248 104248 0 0.0
bl616+wifi+shell FLASH 1587148 1587148 0 0.0
RAM 98112 98112 0 0.0
bl702 lighting-app bl702+eth FLASH 1052980 1052980 0 0.0
RAM 108405 108405 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890924 890924 0 0.0
RAM 105828 105828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 780272 0 0.0
RAM 103396 103396 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 787436 0 0.0
RAM 108580 108580 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 733608 733608 0 0.0
RAM 97372 97372 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 717028 0 0.0
RAM 97524 97524 0 0.0
qpg lighting-app qpg6200+debug FLASH 840920 840920 0 0.0
RAM 127844 127844 0 0.0
lock-app qpg6200+debug FLASH 779580 779580 0 0.0
RAM 118792 118792 0 0.0
realtek light-switch-app rtl8777g FLASH 721720 721720 0 0.0
RAM 113536 113536 0 0.0
lighting-app rtl8777g FLASH 768960 768960 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 479196 479196 0 0.0
RAM 141404 141404 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

PR #43408: Size comparison from a6e7031 to 8a8c60a

Full report (26 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, efr32, nxp, qpg, realtek, stm32, telink)
platform target config section a6e7031 8a8c60a change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1089622 1089622 0 0.0
RAM 144826 144826 0 0.0
bl616 lighting-app bl616+thread FLASH 1100292 1100292 0 0.0
RAM 104248 104248 0 0.0
bl616+wifi+shell FLASH 1587148 1587148 0 0.0
RAM 98112 98112 0 0.0
bl702 lighting-app bl702+eth FLASH 1052980 1052980 0 0.0
RAM 108405 108405 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890924 890924 0 0.0
RAM 105828 105828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 780272 0 0.0
RAM 103396 103396 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 787436 0 0.0
RAM 108580 108580 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 733608 733608 0 0.0
RAM 97372 97372 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 717028 0 0.0
RAM 97524 97524 0 0.0
efr32 lock-app BRD4187C FLASH 972492 972484 -8 -0.0
RAM 125284 125284 0 0.0
BRD4338a FLASH 770348 770348 0 0.0
RAM 236624 236624 0 0.0
window-app BRD4187C FLASH 1075976 1075976 0 0.0
RAM 126504 126504 0 0.0
nxp contact mcxw71+release FLASH 736728 736728 0 0.0
RAM 66992 66992 0 0.0
qpg lighting-app qpg6200+debug FLASH 840920 840920 0 0.0
RAM 127844 127844 0 0.0
lock-app qpg6200+debug FLASH 779580 779580 0 0.0
RAM 118792 118792 0 0.0
realtek light-switch-app rtl8777g FLASH 721720 721720 0 0.0
RAM 113536 113536 0 0.0
lighting-app rtl8777g FLASH 768960 768960 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 479196 479196 0 0.0
RAM 141404 141404 0 0.0
telink bridge-app tl7218x FLASH 728348 728348 0 0.0
RAM 95852 95852 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 853286 853286 0 0.0
RAM 44264 44264 0 0.0
tl7218x FLASH 844686 844686 0 0.0
RAM 99652 99652 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725798 725798 0 0.0
RAM 55832 55832 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 788362 788362 0 0.0
RAM 75016 75016 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725798 725798 0 0.0
RAM 33320 33320 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 615722 615722 0 0.0
RAM 118312 118312 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 843508 843512 4 0.0
RAM 97360 97360 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

PR #43408: Size comparison from a6e7031 to 9bd7eea

Full report (3 builds for realtek, stm32)
platform target config section a6e7031 9bd7eea change % change
realtek light-switch-app rtl8777g FLASH 721720 721720 0 0.0
RAM 113536 113536 0 0.0
lighting-app rtl8777g FLASH 768960 768960 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 479196 479196 0 0.0
RAM 141404 141404 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

PR #43408: Size comparison from 832cfef to 1d2acd4

Full report (32 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 832cfef 1d2acd4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1089622 1089622 0 0.0
RAM 144826 144826 0 0.0
bl616 lighting-app bl616+thread FLASH 1100292 1100292 0 0.0
RAM 104248 104248 0 0.0
bl616+wifi+shell FLASH 1587148 1587148 0 0.0
RAM 98112 98112 0 0.0
bl702 lighting-app bl702+eth FLASH 1052980 1052980 0 0.0
RAM 108405 108405 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890998 890998 0 0.0
RAM 105828 105828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 780272 0 0.0
RAM 103396 103396 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 787436 0 0.0
RAM 108580 108580 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 733608 733608 0 0.0
RAM 97372 97372 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 717028 0 0.0
RAM 97524 97524 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 559006 559302 296 0.1
RAM 204560 204624 64 0.0
lock CC3235SF_LAUNCHXL FLASH 592242 592242 0 0.0
RAM 204808 204808 0 0.0
efr32 lock-app BRD4187C FLASH 972492 972484 -8 -0.0
RAM 125284 125284 0 0.0
BRD4338a FLASH 770348 770348 0 0.0
RAM 236624 236624 0 0.0
window-app BRD4187C FLASH 1075976 1075976 0 0.0
RAM 126504 126504 0 0.0
nxp contact mcxw71+release FLASH 736728 736728 0 0.0
RAM 66992 66992 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1705444 1707452 2008 0.1
RAM 214092 214148 56 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1606148 1608612 2464 0.2
RAM 210940 211004 64 0.0
light cy8ckit_062s2_43012 FLASH 1471724 1471724 0 0.0
RAM 197060 197060 0 0.0
lock cy8ckit_062s2_43012 FLASH 1498228 1498228 0 0.0
RAM 224796 224796 0 0.0
qpg lighting-app qpg6200+debug FLASH 840920 840920 0 0.0
RAM 127844 127844 0 0.0
lock-app qpg6200+debug FLASH 779580 779580 0 0.0
RAM 118792 118792 0 0.0
realtek light-switch-app rtl8777g FLASH 721720 721720 0 0.0
RAM 113536 113536 0 0.0
lighting-app rtl8777g FLASH 768960 768960 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 479196 479196 0 0.0
RAM 141404 141404 0 0.0
telink bridge-app tl7218x FLASH 728348 728348 0 0.0
RAM 95852 95852 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 853286 853286 0 0.0
RAM 44264 44264 0 0.0
tl7218x FLASH 844686 844686 0 0.0
RAM 99652 99652 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725798 725798 0 0.0
RAM 55832 55832 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 788362 788362 0 0.0
RAM 75016 75016 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725798 725798 0 0.0
RAM 33320 33320 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 615722 615722 0 0.0
RAM 118312 118312 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 843508 843512 4 0.0
RAM 97360 97360 0 0.0

@github-actions github-actions Bot added the examples chef Changes in examples/chef label Mar 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

PR #43408: Size comparison from 832cfef to fbe8afe

Full report (11 builds for cc13x4_26x4, cc32xx, qpg, realtek, stm32)
platform target config section 832cfef fbe8afe change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 779328 -944 -0.1
RAM 103396 103332 -64 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 786516 -920 -0.1
RAM 108580 108508 -72 -0.1
pump-app LP_EM_CC1354P10_6 FLASH 733608 732744 -864 -0.1
RAM 97372 97316 -56 -0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 716180 -848 -0.1
RAM 97524 97476 -48 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 559006 558326 -680 -0.1
RAM 204560 204560 0 0.0
lock CC3235SF_LAUNCHXL FLASH 592242 591194 -1048 -0.2
RAM 204808 204744 -64 -0.0
qpg lighting-app qpg6200+debug FLASH 840920 840688 -232 -0.0
RAM 127844 127780 -64 -0.1
lock-app qpg6200+debug FLASH 779580 779332 -248 -0.0
RAM 118792 118728 -64 -0.1
realtek light-switch-app rtl8777g FLASH 721720 720704 -1016 -0.1
RAM 113536 113448 -88 -0.1
lighting-app rtl8777g FLASH 768960 767976 -984 -0.1
RAM 114768 114696 -72 -0.1
stm32 light STM32WB5MM-DK FLASH 479196 478980 -216 -0.0
RAM 141404 141332 -72 -0.1

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

PR #43408: Size comparison from 832cfef to c5c98c9

Full report (34 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 832cfef c5c98c9 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1089622 1089642 20 0.0
RAM 144826 144762 -64 -0.0
bl616 lighting-app bl616+thread FLASH 1100292 1100036 -256 -0.0
RAM 104248 104184 -64 -0.1
bl616+wifi+shell FLASH 1587148 1586900 -248 -0.0
RAM 98112 98080 -32 -0.0
bl702 lighting-app bl702+eth FLASH 1052980 1052738 -242 -0.0
RAM 108405 108357 -48 -0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890998 890748 -250 -0.0
RAM 105828 105748 -80 -0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 779328 -944 -0.1
RAM 103396 103332 -64 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 786516 -920 -0.1
RAM 108580 108508 -72 -0.1
pump-app LP_EM_CC1354P10_6 FLASH 733608 732744 -864 -0.1
RAM 97372 97316 -56 -0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 716180 -848 -0.1
RAM 97524 97476 -48 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 559006 558326 -680 -0.1
RAM 204560 204560 0 0.0
lock CC3235SF_LAUNCHXL FLASH 592242 591194 -1048 -0.2
RAM 204808 204744 -64 -0.0
efr32 lock-app BRD4187C FLASH 972492 972260 -232 -0.0
RAM 125284 125220 -64 -0.1
BRD4338a FLASH 770348 769388 -960 -0.1
RAM 236624 236552 -72 -0.0
window-app BRD4187C FLASH 1075976 1074976 -1000 -0.1
RAM 126504 126440 -64 -0.1
esp32 all-clusters-app c3devkit DRAM 98548 98380 -168 -0.2
FLASH 1592950 1593148 198 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 854924 855012 88 0.0
RAM 162165 162033 -132 -0.1
nxp contact mcxw71+release FLASH 736728 735824 -904 -0.1
RAM 66992 66936 -56 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1705444 1706116 672 0.0
RAM 214092 213956 -136 -0.1
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1606148 1607388 1240 0.1
RAM 210940 210852 -88 -0.0
light cy8ckit_062s2_43012 FLASH 1471724 1470748 -976 -0.1
RAM 197060 196996 -64 -0.0
lock cy8ckit_062s2_43012 FLASH 1498228 1497276 -952 -0.1
RAM 224796 224732 -64 -0.0
qpg lighting-app qpg6200+debug FLASH 840920 840688 -232 -0.0
RAM 127844 127780 -64 -0.1
lock-app qpg6200+debug FLASH 779580 779332 -248 -0.0
RAM 118792 118728 -64 -0.1
realtek light-switch-app rtl8777g FLASH 721720 720704 -1016 -0.1
RAM 113536 113448 -88 -0.1
lighting-app rtl8777g FLASH 768960 767976 -984 -0.1
RAM 114768 114696 -72 -0.1
stm32 light STM32WB5MM-DK FLASH 479196 478980 -216 -0.0
RAM 141404 141332 -72 -0.1
telink bridge-app tl7218x FLASH 728348 728196 -152 -0.0
RAM 95852 95768 -84 -0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 853286 853154 -132 -0.0
RAM 44264 44196 -68 -0.2
tl7218x FLASH 844686 844554 -132 -0.0
RAM 99652 99584 -68 -0.1
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725798 725664 -134 -0.0
RAM 55832 55740 -92 -0.2
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 788362 788228 -134 -0.0
RAM 75016 74924 -92 -0.1
light-switch-app-ota-factory-data tl3218x_retention FLASH 725798 725664 -134 -0.0
RAM 33320 33228 -92 -0.3
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 615722 615610 -112 -0.0
RAM 118312 118244 -68 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 843508 843380 -128 -0.0
RAM 97360 97292 -68 -0.1

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

PR #43408: Size comparison from 832cfef to 871a07f

Full report (34 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 832cfef 871a07f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1089622 1089642 20 0.0
RAM 144826 144762 -64 -0.0
bl616 lighting-app bl616+thread FLASH 1100292 1100036 -256 -0.0
RAM 104248 104184 -64 -0.1
bl616+wifi+shell FLASH 1587148 1586900 -248 -0.0
RAM 98112 98080 -32 -0.0
bl702 lighting-app bl702+eth FLASH 1052980 1052738 -242 -0.0
RAM 108405 108357 -48 -0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890998 890748 -250 -0.0
RAM 105828 105748 -80 -0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 780272 779328 -944 -0.1
RAM 103396 103332 -64 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 787436 786516 -920 -0.1
RAM 108580 108508 -72 -0.1
pump-app LP_EM_CC1354P10_6 FLASH 733608 732744 -864 -0.1
RAM 97372 97316 -56 -0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 717028 716180 -848 -0.1
RAM 97524 97476 -48 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 559006 558270 -736 -0.1
RAM 204560 204560 0 0.0
lock CC3235SF_LAUNCHXL FLASH 592242 591194 -1048 -0.2
RAM 204808 204744 -64 -0.0
efr32 lock-app BRD4187C FLASH 972492 972260 -232 -0.0
RAM 125284 125220 -64 -0.1
BRD4338a FLASH 770348 769388 -960 -0.1
RAM 236624 236552 -72 -0.0
window-app BRD4187C FLASH 1075976 1074976 -1000 -0.1
RAM 126504 126440 -64 -0.1
esp32 all-clusters-app c3devkit DRAM 98548 98380 -168 -0.2
FLASH 1592950 1593066 116 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 854924 854916 -8 -0.0
RAM 162165 162029 -136 -0.1
nxp contact mcxw71+release FLASH 736728 735824 -904 -0.1
RAM 66992 66936 -56 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1705444 1706132 688 0.0
RAM 214092 213956 -136 -0.1
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1606148 1607308 1160 0.1
RAM 210940 210844 -96 -0.0
light cy8ckit_062s2_43012 FLASH 1471724 1470748 -976 -0.1
RAM 197060 196996 -64 -0.0
lock cy8ckit_062s2_43012 FLASH 1498228 1497276 -952 -0.1
RAM 224796 224732 -64 -0.0
qpg lighting-app qpg6200+debug FLASH 840920 840688 -232 -0.0
RAM 127844 127780 -64 -0.1
lock-app qpg6200+debug FLASH 779580 779332 -248 -0.0
RAM 118792 118728 -64 -0.1
realtek light-switch-app rtl8777g FLASH 721720 720704 -1016 -0.1
RAM 113536 113448 -88 -0.1
lighting-app rtl8777g FLASH 768960 767976 -984 -0.1
RAM 114768 114696 -72 -0.1
stm32 light STM32WB5MM-DK FLASH 479196 478980 -216 -0.0
RAM 141404 141332 -72 -0.1
telink bridge-app tl7218x FLASH 728348 728196 -152 -0.0
RAM 95852 95768 -84 -0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 853286 853154 -132 -0.0
RAM 44264 44196 -68 -0.2
tl7218x FLASH 844686 844554 -132 -0.0
RAM 99652 99584 -68 -0.1
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725798 725664 -134 -0.0
RAM 55832 55740 -92 -0.2
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 788362 788228 -134 -0.0
RAM 75016 74924 -92 -0.1
light-switch-app-ota-factory-data tl3218x_retention FLASH 725798 725664 -134 -0.0
RAM 33320 33228 -92 -0.3
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 615722 615610 -112 -0.0
RAM 118312 118244 -68 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 843508 843380 -128 -0.0
RAM 97360 97292 -68 -0.1

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 55.72650% with 259 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.66%. Comparing base (75dd85c) to head (7fd189f).
⚠️ Report is 32 commits behind head on master.

Files with missing lines Patch % Lines
...clusters/fan-control-server/CodegenIntegration.cpp 20.16% 190 Missing ⚠️
.../clusters/fan-control-server/FanControlCluster.cpp 80.21% 56 Missing ⚠️
...pp/clusters/fan-control-server/FanControlCluster.h 79.66% 12 Missing ⚠️
...clusters/fan-control-server/fan-control-delegate.h 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #43408      +/-   ##
==========================================
+ Coverage   55.55%   55.66%   +0.10%     
==========================================
  Files        1630     1632       +2     
  Lines      111147   111624     +477     
  Branches    13412    13402      -10     
==========================================
+ Hits        61752    62135     +383     
- Misses      49395    49489      +94     

☔ 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.

Comment thread src/app/clusters/fan-control-server/fan-control-server.h Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.h
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp Outdated
Comment thread src/app/clusters/fan-control-server/FanControlCluster.h Outdated
Comment thread src/app/clusters/fan-control-server/fan-control-delegate.h
Comment thread src/app/clusters/fan-control-server/fan-control-delegate.h Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 5, 2026

PR #43408: Size comparison from 832cfef to 4e8369f

Full report (3 builds for realtek, stm32)
platform target config section 832cfef 4e8369f6 change % change
realtek light-switch-app rtl8777g FLASH 721720 720704 -1016 -0.1
RAM 113536 113448 -88 -0.1
lighting-app rtl8777g FLASH 768960 767888 -1072 -0.1
RAM 114768 114688 -80 -0.1
stm32 light STM32WB5MM-DK FLASH 479196 478812 -384 -0.1
RAM 141404 141324 -80 -0.1

Copy link
Copy Markdown
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

Copilot reviewed 62 out of 62 changed files in this pull request and generated 1 comment.

Comment thread examples/common/imgui_ui/windows/BUILD.gn
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

PR #43408: Size comparison from 6b87be8 to 749865d

Full report (20 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, psoc6, qpg, realtek, stm32)
platform target config section 6b87be8 749865d change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093770 1093790 20 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105076 1105100 24 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1592776 1592800 24 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1056782 1056802 20 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895578 895598 20 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776484 776508 24 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789588 789612 24 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738752 738768 16 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718908 718932 24 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568670 569110 440 0.1
RAM 205056 205112 56 0.0
lock CC3235SF_LAUNCHXL FLASH 596166 596182 16 0.0
RAM 205256 205256 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733436 1735700 2264 0.1
RAM 215260 215300 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622188 1624900 2712 0.2
RAM 211548 211604 56 0.0
light cy8ckit_062s2_43012 FLASH 1469708 1469724 16 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503284 1503316 32 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 844636 844652 16 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783344 783376 32 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688168 688192 24 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729224 729240 16 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 477948 477964 16 0.0
RAM 141476 141476 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

PR #43408: Size comparison from 6b87be8 to ff0518b

Increases above 0.2%:

platform target config section 6b87be8 ff0518b change % change
telink all-devices-app tl7218x FLASH 810472 816586 6114 0.8
tlsr9118bdk40d FLASH 603924 610038 6114 1.0
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 6b87be8 ff0518b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093770 1093790 20 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105076 1105100 24 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1592776 1592800 24 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1056782 1056802 20 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895578 895598 20 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776484 776508 24 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789588 789644 56 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738752 738768 16 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718908 718932 24 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568670 569182 512 0.1
RAM 205056 205112 56 0.0
lock CC3235SF_LAUNCHXL FLASH 596166 596182 16 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994072 994104 32 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798685 798741 56 0.0
RAM 243424 243424 0 0.0
window-app BRD4187C FLASH 1100064 1100088 24 0.0
RAM 130360 130360 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99772 56 0.1
FLASH 1621050 1622782 1732 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 833844 833708 -136 -0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733436 1735780 2344 0.1
RAM 215260 215300 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622188 1624996 2808 0.2
RAM 211548 211604 56 0.0
light cy8ckit_062s2_43012 FLASH 1469708 1469724 16 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503284 1503332 48 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 844636 844652 16 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783344 783392 48 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688168 688192 24 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729224 729240 16 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 477948 477964 16 0.0
RAM 141476 141476 0 0.0
telink all-devices-app tl7218x FLASH 810472 816586 6114 0.8
RAM 97196 97196 0 0.0
tlsr9118bdk40d FLASH 603924 610038 6114 1.0
RAM 120152 120152 0 0.0
bridge-app tl7218x FLASH 731376 731396 20 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851312 851332 20 0.0
RAM 44332 44332 0 0.0
tl7218x FLASH 842640 842660 20 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731438 731466 28 0.0
RAM 55980 55980 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 794664 794692 28 0.0
RAM 75164 75164 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731368 731396 28 0.0
RAM 33468 33468 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614092 614112 20 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840754 840778 24 0.0
RAM 97364 97364 0 0.0

Copy link
Copy Markdown
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

Copilot reviewed 63 out of 63 changed files in this pull request and generated 4 comments.

Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp
Comment thread src/app/clusters/fan-control-server/FanControlCluster.cpp
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

PR #43408: Size comparison from 6b87be8 to 6b50df9

Increases above 0.2%:

platform target config section 6b87be8 6b50df9 change % change
telink all-devices-app tl7218x FLASH 810472 816586 6114 0.8
tlsr9118bdk40d FLASH 603924 610038 6114 1.0
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 6b87be8 6b50df9 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093770 1093790 20 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105076 1105100 24 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1592776 1592800 24 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1056782 1056802 20 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895578 895598 20 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776484 776508 24 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789588 789644 56 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738752 738768 16 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718908 718932 24 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568670 568766 96 0.0
RAM 205056 205112 56 0.0
lock CC3235SF_LAUNCHXL FLASH 596166 596182 16 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994072 994104 32 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798685 798741 56 0.0
RAM 243424 243424 0 0.0
window-app BRD4187C FLASH 1100064 1100088 24 0.0
RAM 130360 130360 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99772 56 0.1
FLASH 1621050 1622782 1732 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 833844 833708 -136 -0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733436 1735780 2344 0.1
RAM 215260 215300 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622188 1624996 2808 0.2
RAM 211548 211604 56 0.0
light cy8ckit_062s2_43012 FLASH 1469708 1469724 16 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503284 1503332 48 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 844636 844652 16 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783344 783392 48 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688168 688192 24 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729224 729240 16 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 477948 477964 16 0.0
RAM 141476 141476 0 0.0
telink all-devices-app tl7218x FLASH 810472 816586 6114 0.8
RAM 97196 97196 0 0.0
tlsr9118bdk40d FLASH 603924 610038 6114 1.0
RAM 120152 120152 0 0.0
bridge-app tl7218x FLASH 731376 731396 20 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851312 851332 20 0.0
RAM 44332 44332 0 0.0
tl7218x FLASH 842640 842660 20 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731438 731466 28 0.0
RAM 55980 55980 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 794664 794692 28 0.0
RAM 75164 75164 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731368 731396 28 0.0
RAM 33468 33468 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614092 614112 20 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840754 840778 24 0.0
RAM 97364 97364 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

PR #43408: Size comparison from 6b87be8 to 59219f5

Increases above 0.2%:

platform target config section 6b87be8 59219f5 change % change
telink all-devices-app tl7218x FLASH 810472 818706 8234 1.0
tlsr9118bdk40d FLASH 603924 612158 8234 1.4
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 6b87be8 59219f5 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093770 1093790 20 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105076 1105100 24 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1592776 1592800 24 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1056782 1056802 20 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895578 895598 20 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776484 776508 24 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789588 789644 56 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738752 738768 16 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718908 718932 24 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568670 568766 96 0.0
RAM 205056 205112 56 0.0
lock CC3235SF_LAUNCHXL FLASH 596166 596182 16 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994072 994104 32 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798685 798741 56 0.0
RAM 243424 243424 0 0.0
window-app BRD4187C FLASH 1100064 1100088 24 0.0
RAM 130360 130360 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99772 56 0.1
FLASH 1621050 1622782 1732 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 833844 833708 -136 -0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733436 1735780 2344 0.1
RAM 215260 215300 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622188 1624996 2808 0.2
RAM 211548 211604 56 0.0
light cy8ckit_062s2_43012 FLASH 1469708 1469724 16 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503284 1503332 48 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 844636 844652 16 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783344 783392 48 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688168 688192 24 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729224 729240 16 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 477948 477964 16 0.0
RAM 141476 141476 0 0.0
telink all-devices-app tl7218x FLASH 810472 818706 8234 1.0
RAM 97196 97196 0 0.0
tlsr9118bdk40d FLASH 603924 612158 8234 1.4
RAM 120152 120152 0 0.0
bridge-app tl7218x FLASH 731376 731396 20 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851312 851332 20 0.0
RAM 44332 44332 0 0.0
tl7218x FLASH 842640 842660 20 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731438 731466 28 0.0
RAM 55980 55980 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 794664 794692 28 0.0
RAM 75164 75164 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731368 731396 28 0.0
RAM 33468 33468 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614092 614112 20 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840754 840778 24 0.0
RAM 97364 97364 0 0.0

Copy link
Copy Markdown
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

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

PR #43408: Size comparison from 6e1fbc8 to cb2146d

Increases above 0.2%:

platform target config section 6e1fbc8 cb2146d change % change
telink all-devices-app tl7218x FLASH 813032 819126 6094 0.7
tlsr9118bdk40d FLASH 606484 612578 6094 1.0
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 6e1fbc8 cb2146d change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094218 1094218 0 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105532 1105532 0 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1593304 1593304 0 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1057230 1057230 0 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896026 896026 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776948 776948 0 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789644 789644 0 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738768 738768 0 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718932 718932 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568694 569182 488 0.1
RAM 205056 205112 56 0.0
lock CC3235SF_LAUNCHXL FLASH 596182 596182 0 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994104 994104 0 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798749 798741 -8 -0.0
RAM 243424 243424 0 0.0
window-app BRD4187C FLASH 1100592 1100592 0 0.0
RAM 130360 130360 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99772 56 0.1
FLASH 1621512 1623220 1708 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 834256 834100 -156 -0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733932 1736268 2336 0.1
RAM 215260 215300 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622724 1625460 2736 0.2
RAM 211548 211604 56 0.0
light cy8ckit_062s2_43012 FLASH 1470212 1470212 0 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503332 1503332 0 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 845076 845076 0 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783824 783824 0 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688624 688624 0 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729680 729680 0 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 478396 478396 0 0.0
RAM 141476 141476 0 0.0
telink all-devices-app tl7218x FLASH 813032 819126 6094 0.7
RAM 97196 97196 0 0.0
tlsr9118bdk40d FLASH 606484 612578 6094 1.0
RAM 120152 120152 0 0.0
bridge-app tl7218x FLASH 731396 731396 0 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851752 851752 0 0.0
RAM 44332 44332 0 0.0
tl7218x FLASH 843080 843080 0 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731886 731886 0 0.0
RAM 55980 55980 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 795112 795112 0 0.0
RAM 75164 75164 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731816 731816 0 0.0
RAM 33468 33468 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614532 614532 0 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 841194 841198 4 0.0
RAM 97364 97364 0 0.0

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

PR #43408: Size comparison from 75dd85c to dfe7129

Increases above 0.2%:

platform target config section 75dd85c dfe7129 change % change
telink all-devices-app tl7218x FLASH 813120 819214 6094 0.7
tlsr9118bdk40d FLASH 606572 612666 6094 1.0
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 75dd85c dfe7129 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094318 1094318 0 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105636 1105636 0 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1593416 1593416 0 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1057326 1057326 0 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896122 896122 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 777024 777024 0 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789720 789720 0 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738844 738844 0 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 719000 719000 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568762 569138 376 0.1
RAM 205056 205128 72 0.0
lock CC3235SF_LAUNCHXL FLASH 596258 596258 0 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994156 994156 0 0.0
RAM 131288 131288 0 0.0
window-app BRD4187C FLASH 1100576 1100576 0 0.0
RAM 130360 130360 0 0.0
lock-app BRD4338a FLASH 798741 798741 0 0.0
RAM 243424 243424 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99780 64 0.1
FLASH 1621608 1623874 2266 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 834324 834340 16 0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1734028 1736972 2944 0.2
RAM 215260 215316 56 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622820 1626036 3216 0.2
RAM 211548 211596 48 0.0
light cy8ckit_062s2_43012 FLASH 1470308 1470308 0 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503428 1503428 0 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 845144 845144 0 0.0
RAM 127964 127964 0 0.0
lock-app qpg6200+debug FLASH 783892 783892 0 0.0
RAM 118912 118912 0 0.0
realtek light-switch-app rtl8777g FLASH 688696 688696 0 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729752 729752 0 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 478460 478460 0 0.0
RAM 141476 141476 0 0.0
telink light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851840 851840 0 0.0
RAM 44332 44332 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731904 731904 0 0.0
RAM 33468 33468 0 0.0
all-devices-app tl7218x FLASH 813120 819214 6094 0.7
RAM 97196 97196 0 0.0
bridge-app tl7218x FLASH 731484 731484 0 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl7218x FLASH 843168 843168 0 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731974 731974 0 0.0
RAM 55980 55980 0 0.0
all-devices-app tlsr9118bdk40d FLASH 606572 612666 6094 1.0
RAM 120152 120152 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614620 614620 0 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 841282 841286 4 0.0
RAM 97364 97364 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 795200 795200 0 0.0
RAM 75164 75164 0 0.0

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

PR #43408: Size comparison from 75dd85c to 73882f3

Full report (21 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section 75dd85c 73882f3 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094318 1094284 -34 -0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105636 1105596 -40 -0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1593416 1593384 -32 -0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1057326 1057286 -40 -0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896122 896122 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 777024 776944 -80 -0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789720 789712 -8 -0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738844 738836 -8 -0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 719000 719000 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568762 569138 376 0.1
RAM 205056 205128 72 0.0
lock CC3235SF_LAUNCHXL FLASH 596258 596266 8 0.0
RAM 205256 205256 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 834324 834148 -176 -0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1734028 1736428 2400 0.1
RAM 215260 215316 56 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622820 1625716 2896 0.2
RAM 211548 211596 48 0.0
light cy8ckit_062s2_43012 FLASH 1470308 1469956 -352 -0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503428 1503396 -32 -0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 845144 844168 -976 -0.1
RAM 127964 127948 -16 -0.0
lock-app qpg6200+debug FLASH 783892 782244 -1648 -0.2
RAM 118912 118856 -56 -0.0
realtek light-switch-app rtl8777g FLASH 688696 688728 32 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729752 729680 -72 -0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 478460 478388 -72 -0.0
RAM 141476 141476 0 0.0

Copy link
Copy Markdown
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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

PR #43408: Size comparison from 3e1a6f8 to d1ad8a0

Increases above 0.2%:

platform target config section 3e1a6f8 d1ad8a0 change % change
telink all-devices-app tl7218x FLASH 813116 819230 6114 0.8
tlsr9118bdk40d FLASH 606574 612688 6114 1.0
Full report (35 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 3e1a6f8 d1ad8a0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094284 1094284 0 0.0
RAM 144882 144882 0 0.0
bl616 lighting-app bl616+thread FLASH 1105596 1105596 0 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1593384 1593384 0 0.0
RAM 98176 98176 0 0.0
bl702 lighting-app bl702+eth FLASH 1057286 1057286 0 0.0
RAM 108509 108509 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896122 896122 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776944 776944 0 0.0
RAM 103388 103388 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 789712 789712 0 0.0
RAM 108676 108676 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 738836 738836 0 0.0
RAM 97596 97596 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 719000 719000 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 568786 569170 384 0.1
RAM 205056 205128 72 0.0
lock CC3235SF_LAUNCHXL FLASH 596266 596266 0 0.0
RAM 205256 205256 0 0.0
efr32 lock-app BRD4187C FLASH 994156 994156 0 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798709 798709 0 0.0
RAM 243424 243424 0 0.0
window-app BRD4187C FLASH 1100576 1100576 0 0.0
RAM 130360 130360 0 0.0
esp32 all-clusters-app c3devkit DRAM 99716 99780 64 0.1
FLASH 1621602 1623882 2280 0.1
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 834252 834272 20 0.0
RAM 157540 157594 54 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1733644 1736620 2976 0.2
RAM 215260 215316 56 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1622724 1625956 3232 0.2
RAM 211548 211596 48 0.0
light cy8ckit_062s2_43012 FLASH 1469956 1469956 0 0.0
RAM 197420 197420 0 0.0
lock cy8ckit_062s2_43012 FLASH 1503396 1503396 0 0.0
RAM 225252 225252 0 0.0
qpg lighting-app qpg6200+debug FLASH 844168 844168 0 0.0
RAM 127948 127948 0 0.0
lock-app qpg6200+debug FLASH 782244 782244 0 0.0
RAM 118856 118856 0 0.0
realtek light-switch-app rtl8777g FLASH 688728 688728 0 0.0
RAM 101764 101764 0 0.0
lighting-app rtl8777g FLASH 729680 729680 0 0.0
RAM 102044 102044 0 0.0
stm32 light STM32WB5MM-DK FLASH 478388 478388 0 0.0
RAM 141476 141476 0 0.0
telink all-devices-app tl7218x FLASH 813116 819230 6114 0.8
RAM 97196 97196 0 0.0
tlsr9118bdk40d FLASH 606574 612688 6114 1.0
RAM 120152 120152 0 0.0
bridge-app tl7218x FLASH 731480 731480 0 0.0
RAM 95864 95864 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851824 851824 0 0.0
RAM 44332 44332 0 0.0
tl7218x FLASH 843152 843152 0 0.0
RAM 99656 99656 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 731974 731974 0 0.0
RAM 55980 55980 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 795200 795200 0 0.0
RAM 75164 75164 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 731904 731904 0 0.0
RAM 33468 33468 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614610 614610 0 0.0
RAM 118496 118496 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 841268 841272 4 0.0
RAM 97364 97364 0 0.0

…d redundant checks for On/Off state and adjusted tests to reflect updated behavior, ensuring PercentCurrent and SpeedCurrent are set to zero when the fan is off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Decouple Fan Control cluster

7 participants