Skip to content

Migration resource monitoring#71738

Draft
tersal wants to merge 19 commits intoproject-chip:masterfrom
tersal:migration-resource-monitoring
Draft

Migration resource monitoring#71738
tersal wants to merge 19 commits intoproject-chip:masterfrom
tersal:migration-resource-monitoring

Conversation

@tersal
Copy link
Copy Markdown
Contributor

@tersal tersal commented Apr 23, 2026

Summary

This PR add a migration layer to the ResourceMonitoring base cluster, this optional layer is only used when migration from SafeAttributePersistence is expected.

Otherwise, the "non-migration" cluster should be used.

Related issues

Fixes #71737

Testing

Added specific unit tests for this migration and also tested it manually with Matter REPL between versions.

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 migrates the ResourceMonitoring cluster from SafeAttributePersistenceProvider to AttributePersistenceProvider. It introduces a migration path during cluster startup via CodegenResourceMonitoringCluster and updates ResourceMonitoringCluster to use the new persistence API for the LastChangedTime attribute. Feedback was provided to use the AttributePersistence helper class in the UpdateLastChangedTime method for better consistency and safer handling of nullable storage.

Comment on lines +227 to +232
NumericAttributeTraits<uint32_t>::StorageType storageValue;
DataModel::NullableToStorage(mLastChangedTime, storageValue);

ReturnValueOnFailure(mContext->attributeStorage.WriteValue(
ConcreteAttributePath(mPath.mEndpointId, mPath.mClusterId, kAttributeId),
{ reinterpret_cast<const uint8_t *>(&storageValue), sizeof(storageValue) }), Status::Failure);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Instead of manually converting the nullable value to its storage representation and writing it via WriteValue, it is more idiomatic and consistent with the rest of the cluster implementation (e.g., WriteImpl and LoadPersistentAttributes) to use the AttributePersistence helper class. This encapsulates the logic for handling native-endian storage and nullable types safely.

    AttributePersistence attrPersistence{ mContext->attributeStorage };
    ReturnValueOnFailure(attrPersistence.StoreNativeEndianValue(
                             ConcreteAttributePath(mPath.mEndpointId, mPath.mClusterId, kAttributeId), mLastChangedTime),
                         Status::Failure);
References
  1. Do not persist Nullable objects by writing their raw sizeof bytes, as this is fragile and depends on compiler-specific memory layout. Instead, use a portable method, such as explicitly handling null/non-null cases or using a stable encoding format (e.g., NullableToStorage).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from ca60dea to cff95de

Full report (28 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, efr32, esp32, nrfconnect, nxp, qpg, realtek, stm32, telink)
platform target config section ca60dea cff95de change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
efr32 lock-app BRD4187C FLASH 993264 993264 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797485 797485 0 0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099104 1099096 -8 -0.0
RAM 130392 130392 0 0.0
esp32 all-clusters-app c3devkit DRAM 99164 99164 0 0.0
FLASH 1607386 1607684 298 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866560 866720 160 0.0
RAM 162404 162404 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

❌ Patch coverage is 73.07692% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.53%. Comparing base (0b4c3a7) to head (cf14c05).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ce-monitoring-server/ResourceMonitoringCluster.cpp 53.33% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #71738   +/-   ##
=======================================
  Coverage   54.52%   54.53%           
=======================================
  Files        1588     1590    +2     
  Lines      108571   108582   +11     
  Branches    13365    13362    -3     
=======================================
+ Hits        59203    59217   +14     
+ Misses      49368    49365    -3     

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from ca60dea to d45d17a

Full report (32 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section ca60dea d45d17a change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993264 993264 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797485 797485 0 0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099104 1099096 -8 -0.0
RAM 130392 130392 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717796 1718156 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615228 1615228 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from ca60dea to f08825f

Full report (4 builds for nrfconnect, realtek, stm32)
platform target config section ca60dea f08825f change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866560 866736 176 0.0
RAM 162404 162404 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from ca60dea to 58d161e

Full report (22 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, qpg, realtek, stm32, telink)
platform target config section ca60dea 58d161e change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from 337f8f5 to 1f4a438

Full report (23 builds for cc32xx, efr32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 337f8f5 1f4a438 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993412 993412 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797645 797637 -8 -0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099220 1099220 0 0.0
RAM 130392 130392 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717796 1718156 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615228 1615228 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from adb9376 to 4f3bfc2

Full report (32 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section adb9376 4f3bfc2 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993412 993412 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797645 797637 -8 -0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099220 1099220 0 0.0
RAM 130392 130392 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717668 1718028 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615100 1615100 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843084 843084 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

PR #71738: Size comparison from adb9376 to 81d6dce

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 adb9376 81d6dce change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993412 993412 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797645 797637 -8 -0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099220 1099220 0 0.0
RAM 130392 130392 0 0.0
esp32 all-clusters-app c3devkit DRAM 99164 99164 0 0.0
FLASH 1607400 1607694 294 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866632 866796 164 0.0
RAM 162404 162404 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717668 1718028 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615100 1615100 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843084 843084 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

PR #71738: Size comparison from d94b291 to a07e0ac

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 d94b291 a07e0ac change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090754 1090754 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053924 1053924 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788564 788564 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993412 993412 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797645 797637 -8 -0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099220 1099220 0 0.0
RAM 130392 130392 0 0.0
esp32 all-clusters-app c3devkit DRAM 99164 99164 0 0.0
FLASH 1607400 1607694 294 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866632 866796 164 0.0
RAM 162404 162404 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717668 1718028 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615100 1615100 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843084 843084 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 682856 682856 0 0.0
RAM 101824 101824 0 0.0
lighting-app rtl8777g FLASH 726760 726760 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839918 839922 4 0.0
RAM 97504 97504 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

PR #71738: Size comparison from 0b4c3a7 to 40766b1

Full report (16 builds for cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section 0b4c3a7 40766b1 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788580 788580 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866652 866816 164 0.0
RAM 162404 162404 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717716 1718076 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615116 1615116 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 684680 684680 0 0.0
RAM 101832 101832 0 0.0
lighting-app rtl8777g FLASH 728728 728728 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0

@github-actions
Copy link
Copy Markdown

PR #71738: Size comparison from 0b4c3a7 to b46919c

Full report (5 builds for cc32xx, realtek, stm32)
platform target config section 0b4c3a7 b46919c change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
realtek light-switch-app rtl8777g FLASH 684680 684680 0 0.0
RAM 101832 101832 0 0.0
lighting-app rtl8777g FLASH 728728 728728 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

PR #71738: Size comparison from 0b4c3a7 to cf14c05

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 0b4c3a7 cf14c05 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1090734 1090734 0 0.0
RAM 144930 144930 0 0.0
bl616 lighting-app bl616+thread FLASH 1102236 1102236 0 0.0
RAM 104344 104344 0 0.0
bl616+wifi+shell FLASH 1589180 1589180 0 0.0
RAM 98240 98240 0 0.0
bl702 lighting-app bl702+eth FLASH 1053904 1053904 0 0.0
RAM 108549 108549 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 892608 892608 0 0.0
RAM 105940 105940 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776024 776024 0 0.0
RAM 103492 103492 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 788580 788580 0 0.0
RAM 108684 108684 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 735708 735708 0 0.0
RAM 97516 97516 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 717756 717756 0 0.0
RAM 97644 97644 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 563698 976 0.2
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
efr32 lock-app BRD4187C FLASH 993412 993412 0 0.0
RAM 131352 131352 0 0.0
BRD4338a FLASH 797645 797637 -8 -0.0
RAM 243452 243452 0 0.0
window-app BRD4187C FLASH 1099220 1099220 0 0.0
RAM 130392 130392 0 0.0
esp32 all-clusters-app c3devkit DRAM 99164 99164 0 0.0
FLASH 1607414 1607712 298 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866652 866836 184 0.0
RAM 162404 162404 0 0.0
nxp contact mcxw71+release FLASH 742664 742664 0 0.0
RAM 67160 67160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1717716 1718076 360 0.0
RAM 214628 214628 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1615116 1615116 0 0.0
RAM 211500 211500 0 0.0
light cy8ckit_062s2_43012 FLASH 1469428 1469428 0 0.0
RAM 197548 197548 0 0.0
lock cy8ckit_062s2_43012 FLASH 1502404 1502404 0 0.0
RAM 225276 225276 0 0.0
qpg lighting-app qpg6200+debug FLASH 843068 843068 0 0.0
RAM 127956 127956 0 0.0
lock-app qpg6200+debug FLASH 781644 781644 0 0.0
RAM 118904 118904 0 0.0
realtek light-switch-app rtl8777g FLASH 684680 684680 0 0.0
RAM 101832 101832 0 0.0
lighting-app rtl8777g FLASH 728728 728728 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0
telink bridge-app tl7218x FLASH 730678 730678 0 0.0
RAM 95932 95932 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850378 850378 0 0.0
RAM 44400 44400 0 0.0
tl7218x FLASH 841784 841784 0 0.0
RAM 99796 99796 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730300 730300 0 0.0
RAM 56064 56064 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793526 793526 0 0.0
RAM 75248 75248 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730198 730198 0 0.0
RAM 33544 33544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613126 613126 0 0.0
RAM 118632 118632 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 839898 839902 4 0.0
RAM 97504 97504 0 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Migration layer for Resource Monitoring cluster.

2 participants