Skip to content

Conversation

@zenghuchen-gg
Copy link
Contributor

@zenghuchen-gg zenghuchen-gg commented Oct 17, 2025

…geListener

Summary

AttributesChangedListener is a duplicate of ProviderChangeListener and there is no need to keep both. Since AttributesChangedListener is for ember and ProviderChangeListener is from DataModel, it makes more sense to keep ProviderChangeListener.

Testing

Tested manually by building nordic light examples and the image size is reduced by 100 bytes.
Existing CI is expected to cover that things still work (no extra CI tests are needed/added)

…geListener

AttributesChangedListener is a duplicate of ProviderChangeListener and
there is no need to keep both. Since AttributesChangedListener is for
ember and ProviderChangeListener is from DataModel, it makes more sense
to keep ProviderChangeListener.
@CLAassistant
Copy link

CLAassistant commented Oct 17, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the app label Oct 17, 2025
Copy link
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 good refactoring that replaces the duplicate AttributesChangedListener with DataModel::ProviderChangeListener. The changes are consistent across the codebase and improve maintainability by removing redundant code. I have one minor suggestion to update a stale comment to reflect this refactoring.

andy31415
andy31415 previously approved these changes Oct 17, 2025
@andy31415 andy31415 dismissed their stale review October 17, 2025 18:16

Dismiss for now - we seem to need a few compile fixes for this

@github-actions
Copy link

github-actions bot commented Oct 17, 2025

PR #41518: Size comparison from c87ece5 to 5635fa9

Full report (16 builds for cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section c87ece5 5635fa9 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770324 770212 -112 -0.0
RAM 103240 103232 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782080 781960 -120 -0.0
RAM 108400 108400 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727900 727780 -120 -0.0
RAM 97308 97292 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712344 712248 -96 -0.0
RAM 97508 97508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553914 -112 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587174 -104 -0.0
RAM 205768 205760 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932776 932676 -100 -0.0
RAM 161069 161065 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1675932 1675764 -168 -0.0
RAM 213660 213652 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1592540 1592372 -168 -0.0
RAM 210956 210948 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1459156 1458980 -176 -0.0
RAM 197656 197656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1491708 1491540 -168 -0.0
RAM 225376 225368 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 836520 836408 -112 -0.0
RAM 127644 127636 -8 -0.0
lock-app qpg6200+debug FLASH 773220 773108 -112 -0.0
RAM 118620 118612 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706104 -104 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757200 -104 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469660 -112 -0.0
RAM 141248 141232 -16 -0.0

@zenghuchen-gg zenghuchen-gg force-pushed the changed_listener_combination branch from 5635fa9 to d0d96b3 Compare October 17, 2025 18:40
@zenghuchen-gg zenghuchen-gg force-pushed the changed_listener_combination branch from 5c1ee05 to 0cbab35 Compare October 17, 2025 18:45
@github-actions
Copy link

PR #41518: Size comparison from c87ece5 to e59c6b0

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section c87ece5 e59c6b0 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553914 -112 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587174 -104 -0.0
RAM 205768 205760 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932776 932676 -100 -0.0
RAM 161069 161065 -4 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706104 -104 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757200 -104 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469660 -112 -0.0
RAM 141248 141232 -16 -0.0

@github-actions
Copy link

github-actions bot commented Oct 17, 2025

PR #41518: Size comparison from c87ece5 to 1e7ccca

Full report (8 builds for cc32xx, nrfconnect, qpg, realtek, stm32)
platform target config section c87ece5 1e7ccca change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553842 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587086 -192 -0.0
RAM 205768 205760 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932776 932608 -168 -0.0
RAM 161069 161065 -4 -0.0
qpg lighting-app qpg6200+debug FLASH 836520 836336 -184 -0.0
RAM 127644 127636 -8 -0.0
lock-app qpg6200+debug FLASH 773220 773036 -184 -0.0
RAM 118620 118612 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706032 -176 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757120 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469596 -176 -0.0
RAM 141248 141232 -16 -0.0

@github-actions
Copy link

PR #41518: Size comparison from c87ece5 to 140f775

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section c87ece5 140f775 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553842 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587086 -192 -0.0
RAM 205768 205760 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932776 932608 -168 -0.0
RAM 161069 161065 -4 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706032 -176 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757120 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469596 -176 -0.0
RAM 141248 141232 -16 -0.0

@github-actions
Copy link

github-actions bot commented Oct 17, 2025

PR #41518: Size comparison from c87ece5 to 7aab8cd

Full report (16 builds for cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section c87ece5 7aab8cd change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770324 770140 -184 -0.0
RAM 103240 103232 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782080 781888 -192 -0.0
RAM 108400 108400 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727900 727708 -192 -0.0
RAM 97308 97292 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712344 712176 -168 -0.0
RAM 97508 97508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553842 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587086 -192 -0.0
RAM 205768 205760 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932776 932608 -168 -0.0
RAM 161069 161065 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1675932 1675612 -320 -0.0
RAM 213660 213652 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1592540 1592228 -312 -0.0
RAM 210956 210948 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1459156 1458836 -320 -0.0
RAM 197656 197656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1491708 1491388 -320 -0.0
RAM 225376 225368 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 836520 836336 -184 -0.0
RAM 127644 127636 -8 -0.0
lock-app qpg6200+debug FLASH 773220 773036 -184 -0.0
RAM 118620 118612 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706032 -176 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757120 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469596 -176 -0.0
RAM 141248 141232 -16 -0.0

@zenghuchen-gg zenghuchen-gg force-pushed the changed_listener_combination branch 2 times, most recently from f774309 to 21a9875 Compare October 17, 2025 21:10
@github-actions
Copy link

PR #41518: Size comparison from ac328e4 to 21a9875

Full report (5 builds for cc32xx, realtek, stm32)
platform target config section ac328e4 21a9875 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553842 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587086 -192 -0.0
RAM 205768 205760 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706032 -176 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757120 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469596 -176 -0.0
RAM 141248 141232 -16 -0.0

@zenghuchen-gg zenghuchen-gg force-pushed the changed_listener_combination branch from 21a9875 to 7371d70 Compare October 17, 2025 21:33
@github-actions
Copy link

github-actions bot commented Oct 17, 2025

PR #41518: Size comparison from ac328e4 to 7371d70

Full report (36 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section ac328e4 7371d70 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106314 1106274 -40 -0.0
RAM 178802 178794 -8 -0.0
bl702 lighting-app bl702+eth FLASH 660904 660608 -296 -0.0
RAM 134881 134881 0 0.0
bl702+wifi FLASH 837016 836976 -40 -0.0
RAM 124349 124333 -16 -0.0
bl706+mfd+rpc+littlefs FLASH 1069984 1069944 -40 -0.0
RAM 117189 117189 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898826 898786 -40 -0.0
RAM 105468 105452 -16 -0.0
lighting-app bl702l+mfd+littlefs FLASH 983002 982706 -296 -0.0
RAM 109676 109668 -8 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770324 770140 -184 -0.0
RAM 103240 103232 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782080 781888 -192 -0.0
RAM 108400 108400 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727900 727708 -192 -0.0
RAM 97308 97292 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712344 712176 -168 -0.0
RAM 97508 97508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554026 553842 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587278 587086 -192 -0.0
RAM 205768 205760 -8 -0.0
efr32 lock-app BRD4187C FLASH 962880 962680 -200 -0.0
RAM 126268 126264 -4 -0.0
BRD4338a FLASH 756080 755760 -320 -0.0
RAM 256888 256880 -8 -0.0
window-app BRD4187C FLASH 1057812 1057492 -320 -0.0
RAM 122464 122428 -36 -0.0
esp32 all-clusters-app c3devkit DRAM 103192 103176 -16 -0.0
FLASH 1795828 1795696 -132 -0.0
IRAM 83862 83862 0 0.0
nxp contact mcxw71+release FLASH 691360 691040 -320 -0.0
RAM 61424 61424 0 0.0
lighting mcxw71+release FLASH 722856 722528 -328 -0.0
RAM 68084 68068 -16 -0.0
lock mcxw71+release FLASH 773128 772808 -320 -0.0
RAM 61868 61860 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1675932 1675612 -320 -0.0
RAM 213660 213652 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1592540 1592228 -312 -0.0
RAM 210956 210948 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1459156 1458836 -320 -0.0
RAM 197656 197656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1491708 1491388 -320 -0.0
RAM 225376 225368 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 836520 836336 -184 -0.0
RAM 127644 127636 -8 -0.0
lock-app qpg6200+debug FLASH 773220 773036 -184 -0.0
RAM 118620 118612 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706208 706032 -176 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757304 757120 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469772 469596 -176 -0.0
RAM 141248 141232 -16 -0.0
telink bridge-app tl7218x FLASH 710402 710298 -104 -0.0
RAM 90436 90428 -8 -0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 796788 796660 -128 -0.0
RAM 40936 40928 -8 -0.0
light-app-ota-shell-factory-data tl7218x FLASH 787988 787860 -128 -0.0
RAM 93580 93572 -8 -0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 714914 714786 -128 -0.0
RAM 51736 51728 -8 -0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748218 748090 -128 -0.0
RAM 70784 70776 -8 -0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725066 724938 -128 -0.0
RAM 34484 34476 -8 -0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602304 602176 -128 -0.0
RAM 108628 108620 -8 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820608 820484 -124 -0.0
RAM 91976 91968 -8 -0.0

@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.03%. Comparing base (c38154b) to head (8d1395c).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...s/common/server-cluster-shim/ServerClusterShim.cpp 33.33% 2 Missing ⚠️
src/app/util/mock/attribute-storage.cpp 0.00% 1 Missing ⚠️
...oviders/codegen/CodegenDataModelProvider_Write.cpp 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #41518      +/-   ##
==========================================
- Coverage   51.04%   51.03%   -0.01%     
==========================================
  Files        1386     1385       -1     
  Lines      100958   100943      -15     
  Branches    13061    13061              
==========================================
- Hits        51534    51518      -16     
- Misses      49424    49425       +1     

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

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Oct 20, 2025
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

PR #41518: Size comparison from 685d31a to 0d3e000

Full report (34 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 685d31a 0d3e000 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106504 1106464 -40 -0.0
RAM 178802 178794 -8 -0.0
bl702 lighting-app bl702+eth FLASH 661094 660798 -296 -0.0
RAM 134881 134881 0 0.0
bl702+wifi FLASH 837206 837166 -40 -0.0
RAM 124349 124333 -16 -0.0
bl706+mfd+rpc+littlefs FLASH 1070174 1070134 -40 -0.0
RAM 117189 117189 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899016 898976 -40 -0.0
RAM 105468 105452 -16 -0.0
lighting-app bl702l+mfd+littlefs FLASH 983192 982896 -296 -0.0
RAM 109676 109668 -8 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770516 770332 -184 -0.0
RAM 103240 103232 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782264 782072 -192 -0.0
RAM 108400 108400 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728076 727884 -192 -0.0
RAM 97308 97292 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712520 712352 -168 -0.0
RAM 97508 97508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554218 554034 -184 -0.0
RAM 205504 205488 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587458 587266 -192 -0.0
RAM 205768 205760 -8 -0.0
efr32 lock-app BRD4187C FLASH 963040 962872 -168 -0.0
RAM 126268 126264 -4 -0.0
BRD4338a FLASH 756520 756200 -320 -0.0
RAM 256888 256880 -8 -0.0
window-app BRD4187C FLASH 1058268 1057948 -320 -0.0
RAM 122464 122428 -36 -0.0
esp32 all-clusters-app c3devkit DRAM 103192 103176 -16 -0.0
FLASH 1796016 1795884 -132 -0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932952 932784 -168 -0.0
RAM 161069 161065 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676388 1676068 -320 -0.0
RAM 213660 213652 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1592988 1592668 -320 -0.0
RAM 210956 210948 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1459596 1459276 -320 -0.0
RAM 197656 197656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1492148 1491828 -320 -0.0
RAM 225376 225368 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 836968 836800 -168 -0.0
RAM 127644 127636 -8 -0.0
lock-app qpg6200+debug FLASH 773748 773564 -184 -0.0
RAM 118620 118612 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706512 706344 -168 -0.0
RAM 106800 106784 -16 -0.0
lighting-app rtl8777g FLASH 757608 757424 -184 -0.0
RAM 127164 127164 0 0.0
stm32 light STM32WB5MM-DK FLASH 469956 469772 -184 -0.0
RAM 141248 141232 -16 -0.0
telink bridge-app tl7218x FLASH 710542 710438 -104 -0.0
RAM 90436 90428 -8 -0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 796940 796812 -128 -0.0
RAM 40936 40928 -8 -0.0
light-app-ota-shell-factory-data tl7218x FLASH 788140 788012 -128 -0.0
RAM 93580 93572 -8 -0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715054 714926 -128 -0.0
RAM 51736 51728 -8 -0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748358 748230 -128 -0.0
RAM 70784 70776 -8 -0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725206 725078 -128 -0.0
RAM 34484 34476 -8 -0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602456 602328 -128 -0.0
RAM 108628 108620 -8 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820760 820636 -124 -0.0
RAM 91976 91968 -8 -0.0

chip::app:: prefix is redundant because the function is defined inside chip::app namespace

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

PR #41518: Size comparison from 685d31a to f46717b

Full report (22 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section 685d31a f46717b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106504 1106622 118 0.0
RAM 178802 178874 72 0.0
bl702 lighting-app bl702+eth FLASH 661094 661198 104 0.0
RAM 134881 134969 88 0.1
bl702+wifi FLASH 837206 837310 104 0.0
RAM 124349 124405 56 0.0
bl706+mfd+rpc+littlefs FLASH 1070174 1070278 104 0.0
RAM 117189 117261 72 0.1
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899016 899120 104 0.0
RAM 105468 105524 56 0.1
lighting-app bl702l+mfd+littlefs FLASH 983192 983040 -152 -0.0
RAM 109676 109740 64 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770516 770636 120 0.0
RAM 103240 103304 64 0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 782264 782368 104 0.0
RAM 108400 108472 72 0.1
pump-app LP_EM_CC1354P10_6 FLASH 728076 728196 120 0.0
RAM 97308 97364 56 0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 712520 712656 136 0.0
RAM 97508 97580 72 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554218 554330 112 0.0
RAM 205504 205736 232 0.1
lock CC3235SF_LAUNCHXL FLASH 587458 587578 120 0.0
RAM 205768 205832 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 932952 933064 112 0.0
RAM 161069 161313 244 0.2
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676388 1676628 240 0.0
RAM 213660 213900 240 0.1
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1592988 1593244 256 0.0
RAM 210956 211108 152 0.1
light cy8ckit_062s2_43012 FLASH 1459596 1459788 192 0.0
RAM 197656 197728 72 0.0
lock cy8ckit_062s2_43012 FLASH 1492148 1492340 192 0.0
RAM 225376 225440 64 0.0
qpg lighting-app qpg6200+debug FLASH 836968 837088 120 0.0
RAM 127644 127708 64 0.1
lock-app qpg6200+debug FLASH 773748 773868 120 0.0
RAM 118620 118684 64 0.1
realtek light-switch-app rtl8777g FLASH 706512 706584 72 0.0
RAM 106800 106904 104 0.1
lighting-app rtl8777g FLASH 757608 757672 64 0.0
RAM 127164 127236 72 0.1
stm32 light STM32WB5MM-DK FLASH 469956 470076 120 0.0
RAM 141248 141304 56 0.0

@github-actions
Copy link

github-actions bot commented Oct 20, 2025

PR #41518: Size comparison from c1f377d to c63eb54

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section c1f377d c63eb54 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106918 1106622 -296 -0.0
RAM 178882 178874 -8 -0.0
bl702 lighting-app bl702+eth FLASH 661238 661198 -40 -0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 837350 837310 -40 -0.0
RAM 124421 124405 -16 -0.0
bl706+mfd+rpc+littlefs FLASH 1070318 1070278 -40 -0.0
RAM 117261 117261 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899416 899120 -296 -0.0
RAM 105540 105524 -16 -0.0
lighting-app bl702l+mfd+littlefs FLASH 983336 983040 -296 -0.0
RAM 109748 109740 -8 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770804 770636 -168 -0.0
RAM 103312 103304 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782560 782368 -192 -0.0
RAM 108472 108472 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728372 728196 -176 -0.0
RAM 97380 97364 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712840 712656 -184 -0.0
RAM 97580 97580 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554514 554330 -184 -0.0
RAM 205752 205736 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587754 587578 -176 -0.0
RAM 205840 205832 -8 -0.0
efr32 lock-app BRD4187C FLASH 963328 963160 -168 -0.0
RAM 126332 126328 -4 -0.0
BRD4338a FLASH 757032 756712 -320 -0.0
RAM 256960 256952 -8 -0.0
window-app BRD4187C FLASH 1058772 1058452 -320 -0.0
RAM 122560 122556 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 103440 103424 -16 -0.0
FLASH 1796188 1796056 -132 -0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933232 933064 -168 -0.0
RAM 161317 161313 -4 -0.0
nxp contact mcxw71+release FLASH 692208 691896 -312 -0.0
RAM 61496 61496 0 0.0
lighting mcxw71+release FLASH 723720 723400 -320 -0.0
RAM 68156 68140 -16 -0.0
lock mcxw71+release FLASH 773976 773664 -312 -0.0
RAM 61940 61932 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676940 1676628 -312 -0.0
RAM 213908 213900 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1593556 1593244 -312 -0.0
RAM 211116 211108 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1460100 1459788 -312 -0.0
RAM 197728 197728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1492652 1492340 -312 -0.0
RAM 225448 225440 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 837272 837088 -184 -0.0
RAM 127716 127708 -8 -0.0
lock-app qpg6200+debug FLASH 774052 773868 -184 -0.0
RAM 118692 118684 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706760 706584 -176 -0.0
RAM 106912 106904 -8 -0.0
lighting-app rtl8777g FLASH 757856 757672 -184 -0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470252 470076 -176 -0.0
RAM 141320 141304 -16 -0.0
telink bridge-app tl7218x FLASH 710662 710558 -104 -0.0
RAM 90552 90544 -8 -0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797040 796912 -128 -0.0
RAM 41008 41000 -8 -0.0
light-app-ota-shell-factory-data tl7218x FLASH 788240 788112 -128 -0.0
RAM 93652 93644 -8 -0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715126 714998 -128 -0.0
RAM 51852 51844 -8 -0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748430 748302 -128 -0.0
RAM 70900 70892 -8 -0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725278 725150 -128 -0.0
RAM 34600 34592 -8 -0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602556 602428 -128 -0.0
RAM 108700 108692 -8 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820860 820736 -124 -0.0
RAM 92048 92040 -8 -0.0

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

PR #41518: Size comparison from c38154b to 8d1395c

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section c38154b 8d1395c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106918 1106622 -296 -0.0
RAM 178882 178874 -8 -0.0
bl702 lighting-app bl702+eth FLASH 661238 661198 -40 -0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 837350 837310 -40 -0.0
RAM 124421 124405 -16 -0.0
bl706+mfd+rpc+littlefs FLASH 1070318 1070278 -40 -0.0
RAM 117261 117261 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899416 899120 -296 -0.0
RAM 105540 105524 -16 -0.0
lighting-app bl702l+mfd+littlefs FLASH 983336 983040 -296 -0.0
RAM 109748 109740 -8 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770804 770636 -168 -0.0
RAM 103312 103304 -8 -0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782560 782368 -192 -0.0
RAM 108472 108472 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728372 728196 -176 -0.0
RAM 97380 97364 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712840 712656 -184 -0.0
RAM 97580 97580 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554514 554330 -184 -0.0
RAM 205752 205736 -16 -0.0
lock CC3235SF_LAUNCHXL FLASH 587754 587578 -176 -0.0
RAM 205840 205832 -8 -0.0
efr32 lock-app BRD4187C FLASH 963328 963160 -168 -0.0
RAM 126332 126328 -4 -0.0
BRD4338a FLASH 757032 756712 -320 -0.0
RAM 256960 256952 -8 -0.0
window-app BRD4187C FLASH 1058772 1058452 -320 -0.0
RAM 122560 122556 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 103440 103424 -16 -0.0
FLASH 1796188 1796056 -132 -0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933232 933064 -168 -0.0
RAM 161317 161313 -4 -0.0
nxp contact mcxw71+release FLASH 692208 691896 -312 -0.0
RAM 61496 61496 0 0.0
lighting mcxw71+release FLASH 723720 723400 -320 -0.0
RAM 68156 68140 -16 -0.0
lock mcxw71+release FLASH 773976 773664 -312 -0.0
RAM 61940 61932 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676940 1676628 -312 -0.0
RAM 213908 213900 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1593556 1593244 -312 -0.0
RAM 211116 211108 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1460100 1459788 -312 -0.0
RAM 197728 197728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1492652 1492340 -312 -0.0
RAM 225448 225440 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 837272 837088 -184 -0.0
RAM 127716 127708 -8 -0.0
lock-app qpg6200+debug FLASH 774052 773868 -184 -0.0
RAM 118692 118684 -8 -0.0
realtek light-switch-app rtl8777g FLASH 706760 706584 -176 -0.0
RAM 106912 106904 -8 -0.0
lighting-app rtl8777g FLASH 757856 757672 -184 -0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470252 470076 -176 -0.0
RAM 141320 141304 -16 -0.0
telink bridge-app tl7218x FLASH 710662 710558 -104 -0.0
RAM 90552 90544 -8 -0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797040 796912 -128 -0.0
RAM 41008 41000 -8 -0.0
light-app-ota-shell-factory-data tl7218x FLASH 788240 788112 -128 -0.0
RAM 93652 93644 -8 -0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715126 714998 -128 -0.0
RAM 51852 51844 -8 -0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748430 748302 -128 -0.0
RAM 70900 70892 -8 -0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725278 725150 -128 -0.0
RAM 34600 34592 -8 -0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602556 602428 -128 -0.0
RAM 108700 108692 -8 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820860 820736 -124 -0.0
RAM 92048 92040 -8 -0.0

@mergify mergify bot merged commit a343518 into project-chip:master Oct 21, 2025
80 of 81 checks passed
zenghuchen-gg added a commit to zenghuchen-gg/connectedhomeip that referenced this pull request Oct 21, 2025
project-chip#41518)

* [*ChangeListener] replace AttributesChangedListener with ProviderChangeListener

AttributesChangedListener is a duplicate of ProviderChangeListener and
there is no need to keep both. Since AttributesChangedListener is for
ember and ProviderChangeListener is from DataModel, it makes more sense
to keep ProviderChangeListener.

* Restyled by clang-format

* Restyled by gn

* add direct dependency on data-model-provider

* Update comment to reflect the correct usage

* Remove ContextAttributesChangeListener, which is a wrapper of ProviderChangeListener now

* Remove ContextAttributesChangeListener in server-cluster-shim

* Restyled by clang-format

* Replace AttributesChangedListener with ProviderChangedListener in ember functions

* Restyled by clang-format

* include header needed for Providerchangedlistener

* Apply suggestions from code review

chip::app:: prefix is redundant because the function is defined inside chip::app namespace

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* [no-ccache]

* [no-ccache]

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Andrei Litvin <andy314@gmail.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Sergio Soares <sergiosoares@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app examples review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants