Skip to content

Conversation

@LyudmilaKostanyan
Copy link
Contributor

@LyudmilaKostanyan LyudmilaKostanyan commented Oct 21, 2025

Summary

This PR introduces a centralized CommandTesting module to standardize and simplify command testing across cluster test suites. The changes eliminate code duplication by providing a reusable MockCommandHandler implementation and improve test maintainability.

What was added:

  • New CommandTesting module: Created src/app/clusters/testing/CommandTesting.h and CommandTesting.cpp with a standardized MockCommandHandler class
  • Centralized mock implementation: Provides common functionality for command response handling, TLV encoding/decoding, and response validation
  • Enhanced test utilities: Includes InvokeOperation helper class for streamlined command invocation in tests

What was refactored:

  • Diagnostic Logs Cluster tests: Replaced local MockCommandHandler implementation with the centralized Testing::MockCommandHandler
  • Push AV Stream Transport tests: Updated to inherit from the centralized MockCommandHandler while preserving specialized functionality for status tracking
  • Groupcast Cluster tests: Refactored to use the shared MockCommandHandler and the new overloaded Invoke method

Related issues

Main issue: #41513

Testing

  • All existing tests continue to pass with the new centralized implementation
  • No changes to production code - only test infrastructure improvements

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

PR #41551: Size comparison from 7e83b9f to 77f1ef0

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7e83b9f 77f1ef0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106918 1106918 0 0.0
RAM 178882 178882 0 0.0
bl702 lighting-app bl702+eth FLASH 661238 661238 0 0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 837350 837350 0 0.0
RAM 124421 124421 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070318 1070318 0 0.0
RAM 117261 117261 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899416 899416 0 0.0
RAM 105540 105540 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983336 983336 0 0.0
RAM 109748 109748 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770804 770804 0 0.0
RAM 103312 103312 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782560 782560 0 0.0
RAM 108472 108472 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728372 728372 0 0.0
RAM 97380 97380 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712840 712840 0 0.0
RAM 97580 97580 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554514 554514 0 0.0
RAM 205752 205752 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587754 587754 0 0.0
RAM 205840 205840 0 0.0
efr32 lock-app BRD4187C FLASH 963328 963328 0 0.0
RAM 126332 126332 0 0.0
BRD4338a FLASH 757032 757024 -8 -0.0
RAM 256960 256960 0 0.0
window-app BRD4187C FLASH 1058772 1058772 0 0.0
RAM 122560 122560 0 0.0
esp32 all-clusters-app c3devkit DRAM 103440 103440 0 0.0
FLASH 1796188 1796188 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933232 933232 0 0.0
RAM 161317 161317 0 0.0
nxp contact mcxw71+release FLASH 692208 692208 0 0.0
RAM 61496 61496 0 0.0
lighting mcxw71+release FLASH 723720 723720 0 0.0
RAM 68156 68156 0 0.0
lock mcxw71+release FLASH 773976 773976 0 0.0
RAM 61940 61940 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676940 1676940 0 0.0
RAM 213908 213908 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1593556 1593556 0 0.0
RAM 211116 211116 0 0.0
light cy8ckit_062s2_43012 FLASH 1460100 1460100 0 0.0
RAM 197728 197728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1492652 1492652 0 0.0
RAM 225448 225448 0 0.0
qpg lighting-app qpg6200+debug FLASH 837272 837272 0 0.0
RAM 127716 127716 0 0.0
lock-app qpg6200+debug FLASH 774052 774052 0 0.0
RAM 118692 118692 0 0.0
realtek light-switch-app rtl8777g FLASH 706760 706760 0 0.0
RAM 106912 106912 0 0.0
lighting-app rtl8777g FLASH 757856 757856 0 0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470252 470252 0 0.0
RAM 141320 141320 0 0.0
telink bridge-app tl7218x FLASH 710662 710662 0 0.0
RAM 90552 90552 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797040 797040 0 0.0
RAM 41008 41008 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788240 788240 0 0.0
RAM 93652 93652 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715126 715126 0 0.0
RAM 51852 51852 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748430 748430 0 0.0
RAM 70900 70900 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725278 725278 0 0.0
RAM 34600 34600 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602556 602556 0 0.0
RAM 108700 108700 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820860 820864 4 0.0
RAM 92048 92048 0 0.0

@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.05%. Comparing base (ad8b86b) to head (5ccf691).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #41551   +/-   ##
=======================================
  Coverage   51.05%   51.05%           
=======================================
  Files        1385     1385           
  Lines      100882   100882           
  Branches    13055    13055           
=======================================
  Hits        51508    51508           
  Misses      49374    49374           

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

@LyudmilaKostanyan LyudmilaKostanyan changed the title Command testing Testing infrastructure for cluster commands Oct 22, 2025
@github-actions
Copy link

github-actions bot commented Oct 22, 2025

PR #41551: Size comparison from 4f17295 to a00edfc

Full report (9 builds for cc13x4_26x4, cc32xx, realtek, stm32)
platform target config section 4f17295 a00edfc change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770644 770644 0 0.0
RAM 103304 103304 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782376 782376 0 0.0
RAM 108472 108472 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728204 728204 0 0.0
RAM 97364 97364 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712664 712664 0 0.0
RAM 97580 97580 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554294 554294 0 0.0
RAM 205736 205736 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587542 587542 0 0.0
RAM 205832 205832 0 0.0
realtek light-switch-app rtl8777g FLASH 706592 706592 0 0.0
RAM 106904 106904 0 0.0
lighting-app rtl8777g FLASH 757680 757680 0 0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470084 470084 0 0.0
RAM 141304 141304 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 22, 2025

PR #41551: Size comparison from 4f17295 to 302e573

Full report (5 builds for cc32xx, realtek, stm32)
platform target config section 4f17295 302e573 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554294 554294 0 0.0
RAM 205736 205736 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587542 587542 0 0.0
RAM 205832 205832 0 0.0
realtek light-switch-app rtl8777g FLASH 706592 706592 0 0.0
RAM 106904 106904 0 0.0
lighting-app rtl8777g FLASH 757680 757680 0 0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470084 470084 0 0.0
RAM 141304 141304 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 22, 2025

PR #41551: Size comparison from 4f17295 to d8e1532

Full report (33 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, psoc6, qpg, realtek, stm32, telink)
platform target config section 4f17295 d8e1532 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106608 1106608 0 0.0
RAM 178874 178874 0 0.0
bl702 lighting-app bl702+eth FLASH 661184 661184 0 0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 837296 837296 0 0.0
RAM 124405 124405 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070264 1070264 0 0.0
RAM 117261 117261 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899716 899716 0 0.0
RAM 105524 105524 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983026 983026 0 0.0
RAM 109740 109740 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770644 770644 0 0.0
RAM 103304 103304 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782376 782376 0 0.0
RAM 108472 108472 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728204 728204 0 0.0
RAM 97364 97364 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712664 712664 0 0.0
RAM 97580 97580 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554294 554294 0 0.0
RAM 205736 205736 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587542 587542 0 0.0
RAM 205832 205832 0 0.0
efr32 lock-app BRD4187C FLASH 963160 963160 0 0.0
RAM 126328 126328 0 0.0
BRD4338a FLASH 756712 756712 0 0.0
RAM 256952 256952 0 0.0
window-app BRD4187C FLASH 1058460 1058452 -8 -0.0
RAM 122556 122556 0 0.0
esp32 all-clusters-app c3devkit DRAM 103424 103424 0 0.0
FLASH 1796030 1796030 0 0.0
IRAM 83862 83862 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1676628 1676628 0 0.0
RAM 213900 213900 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1593244 1593244 0 0.0
RAM 211108 211108 0 0.0
light cy8ckit_062s2_43012 FLASH 1459788 1459788 0 0.0
RAM 197728 197728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1492340 1492340 0 0.0
RAM 225440 225440 0 0.0
qpg lighting-app qpg6200+debug FLASH 837104 837104 0 0.0
RAM 127708 127708 0 0.0
lock-app qpg6200+debug FLASH 773884 773884 0 0.0
RAM 118684 118684 0 0.0
realtek light-switch-app rtl8777g FLASH 706592 706592 0 0.0
RAM 106904 106904 0 0.0
lighting-app rtl8777g FLASH 757680 757680 0 0.0
RAM 127236 127236 0 0.0
stm32 light STM32WB5MM-DK FLASH 470084 470084 0 0.0
RAM 141304 141304 0 0.0
telink bridge-app tl7218x FLASH 710542 710542 0 0.0
RAM 90544 90544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 796896 796896 0 0.0
RAM 41000 41000 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788096 788096 0 0.0
RAM 93644 93644 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 714982 714982 0 0.0
RAM 51844 51844 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748286 748286 0 0.0
RAM 70892 70892 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725134 725134 0 0.0
RAM 34592 34592 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602412 602412 0 0.0
RAM 108692 108692 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820716 820720 4 0.0
RAM 92040 92040 0 0.0

@LyudmilaKostanyan LyudmilaKostanyan marked this pull request as ready for review October 22, 2025 14:46
Copilot AI review requested due to automatic review settings October 22, 2025 14:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a reusable testing infrastructure for cluster commands by creating a centralized CommandTesting module that eliminates code duplication across cluster test suites.

Key changes:

  • New centralized CommandTesting module with reusable MockCommandHandler and InvokeOperation helper classes
  • Refactored Diagnostic Logs Cluster tests to use the centralized mock implementation
  • Updated Push AV Stream Transport tests to inherit from the centralized mock while preserving specialized functionality

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/clusters/testing/CommandTesting.h Defines centralized MockCommandHandler and InvokeOperation classes for command testing
src/app/clusters/testing/CommandTesting.cpp Implements core functionality for mock command response handling and TLV encoding/decoding
src/app/clusters/testing/BUILD.gn Adds build dependencies for the new CommandTesting module
src/app/clusters/push-av-stream-transport-server/tests/TestPushAVStreamTransportCluster.cpp Refactors to inherit from centralized MockCommandHandler
src/app/clusters/push-av-stream-transport-server/tests/BUILD.gn Updates build dependency reference
src/app/clusters/diagnostic-logs-server/tests/TestDiagnosticLogsCluster.cpp Replaces local mock with centralized implementation
src/app/clusters/diagnostic-logs-server/tests/BUILD.gn Adds testing module dependency

LyudmilaKostanyan and others added 9 commits October 22, 2025 19:07
Add new testing utilities in src/app/clusters/testing/:
- CommandTesting.h: Header with MockCommandHandler and InvokeOperation classes.
- CommandTesting.cpp: Implementation of non-template methods for
  MockCommandHandler.

Refactoring:
- Refactored TestDiagnosticLogsCluster to use Testing::MockCommandHandler directly
- Updated TestPushAVStreamTransportCluster to inherit from Testing::MockCommandHandler while preserving specialized features
- Refactor MockCommandHandler: integrate status handling into FallibleAddStatus.
- Update TestPushAVStreamTransportCluster.
- Replace single ResponseRecord with std::vector<ResponseRecord> for multiple responses
- Add methods to work with response arrays and specific responses by index
- Update existing methods to work with first response for backward compatibility
- Simplify test classes by removing duplicate functionality
- Add explicit response count assertions in tests
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

PR #41551: Size comparison from 7bad8a9 to 46e400c

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7bad8a9 46e400c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106262 1106262 0 0.0
RAM 178914 178914 0 0.0
bl702 lighting-app bl702+eth FLASH 661392 661392 0 0.0
RAM 135017 135017 0 0.0
bl702+wifi FLASH 836934 836934 0 0.0
RAM 124437 124437 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070472 1070472 0 0.0
RAM 117293 117293 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899904 899904 0 0.0
RAM 105572 105572 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983218 983218 0 0.0
RAM 109772 109772 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770616 770616 0 0.0
RAM 103344 103344 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782452 782452 0 0.0
RAM 108512 108512 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728384 728384 0 0.0
RAM 97404 97404 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 712860 712860 0 0.0
RAM 97620 97620 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554894 554894 0 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587774 587774 0 0.0
RAM 205872 205872 0 0.0
efr32 lock-app BRD4187C FLASH 963296 963296 0 0.0
RAM 123544 123544 0 0.0
BRD4338a FLASH 757480 757480 0 0.0
RAM 254184 254184 0 0.0
window-app BRD4187C FLASH 1058532 1058532 0 0.0
RAM 119772 119772 0 0.0
esp32 all-clusters-app c3devkit DRAM 102556 102556 0 0.0
FLASH 1836588 1836588 0 0.0
IRAM 93540 93540 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933240 933240 0 0.0
RAM 161361 161361 0 0.0
nxp contact mcxw71+release FLASH 692208 692208 0 0.0
RAM 61536 61536 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1677828 1677828 0 0.0
RAM 213940 213940 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1594220 1594220 0 0.0
RAM 211148 211148 0 0.0
light cy8ckit_062s2_43012 FLASH 1460460 1460460 0 0.0
RAM 197768 197768 0 0.0
lock cy8ckit_062s2_43012 FLASH 1493140 1493140 0 0.0
RAM 225480 225480 0 0.0
qpg lighting-app qpg6200+debug FLASH 837544 837544 0 0.0
RAM 127748 127748 0 0.0
lock-app qpg6200+debug FLASH 774356 774356 0 0.0
RAM 118724 118724 0 0.0
realtek light-switch-app rtl8777g FLASH 706728 706728 0 0.0
RAM 106952 106952 0 0.0
lighting-app rtl8777g FLASH 757672 757672 0 0.0
RAM 127284 127284 0 0.0
stm32 light STM32WB5MM-DK FLASH 470056 470056 0 0.0
RAM 141344 141344 0 0.0
telink bridge-app tl7218x FLASH 710586 710586 0 0.0
RAM 90584 90584 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797060 797060 0 0.0
RAM 41008 41008 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788262 788262 0 0.0
RAM 93684 93684 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715264 715264 0 0.0
RAM 51876 51876 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748560 748560 0 0.0
RAM 70916 70916 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725414 725414 0 0.0
RAM 34608 34608 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602692 602692 0 0.0
RAM 108912 108912 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820896 820900 4 0.0
RAM 92080 92080 0 0.0

Copilot AI review requested due to automatic review settings November 6, 2025 14:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

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

Comments suppressed due to low confidence (1)

src/app/clusters/push-av-stream-transport-server/tests/TestPushAVStreamTransportCluster.cpp:1

  • The GetSubjectDescriptor override is removed but was never provided by the base Testing::MockCommandHandler class. This will cause compilation failure if any code calls GetSubjectDescriptor() on this mock. The base class should provide a default implementation or this override should be retained.
/*

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PR #41551: Size comparison from 1992150 to 92823ff

Full report (3 builds for realtek, stm32)
platform target config section 1992150 92823ff3 change % change
realtek light-switch-app rtl8777g FLASH 706928 706928 0 0.0
RAM 106964 106964 0 0.0
lighting-app rtl8777g FLASH 757864 757864 0 0.0
RAM 127296 127296 0 0.0
stm32 light STM32WB5MM-DK FLASH 470256 470256 0 0.0
RAM 141352 141352 0 0.0

LyudmilaKostanyan and others added 2 commits November 6, 2025 19:01
…andling

- Updated `Invoke` method in `ClusterTester` to handle response decoding more robustly, including support for `NullObjectType`.
- Enhanced test for `JoinGroupCommand` to utilize the new invocation method.
- Added necessary includes for `NullObjectType` in relevant files.
Copilot AI review requested due to automatic review settings November 6, 2025 15:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

@LyudmilaKostanyan
Copy link
Contributor Author

/gemini review

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 does a great job of centralizing command testing infrastructure by introducing a CommandTesting module with a reusable MockCommandHandler. This significantly reduces code duplication across multiple test suites, as seen in the refactoring of tests for Diagnostic Logs, Push AV Stream Transport, and Groupcast clusters. The new ClusterTester::Invoke method is a notable improvement, simplifying command invocation and response handling in tests. The overall changes enhance test maintainability and consistency. I've found a couple of minor opportunities for cleanup related to the refactoring, which are detailed in the comments.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PR #41551: Size comparison from 1992150 to 397dc02

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 1992150 397dc02 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106380 1106380 0 0.0
RAM 178930 178930 0 0.0
bl702 lighting-app bl702+eth FLASH 661414 661414 0 0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 837048 837048 0 0.0
RAM 124445 124445 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070586 1070586 0 0.0
RAM 117317 117317 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 900018 900018 0 0.0
RAM 105612 105612 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983332 983332 0 0.0
RAM 109796 109796 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770812 770812 0 0.0
RAM 103360 103360 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782640 782640 0 0.0
RAM 108528 108528 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728588 728588 0 0.0
RAM 97420 97420 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 713056 713056 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554906 554906 0 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587786 587786 0 0.0
RAM 205872 205872 0 0.0
efr32 lock-app BRD4187C FLASH 963472 963472 0 0.0
RAM 123572 123572 0 0.0
BRD4338a FLASH 757808 757808 0 0.0
RAM 254196 254196 0 0.0
window-app BRD4187C FLASH 1058828 1058828 0 0.0
RAM 119800 119800 0 0.0
esp32 all-clusters-app c3devkit DRAM 102572 102572 0 0.0
FLASH 1836770 1836770 0 0.0
IRAM 93540 93540 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933432 933432 0 0.0
RAM 161377 161377 0 0.0
nxp contact mcxw71+release FLASH 692520 692520 0 0.0
RAM 61552 61552 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1678164 1678164 0 0.0
RAM 213956 213956 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1594548 1594548 0 0.0
RAM 211156 211156 0 0.0
light cy8ckit_062s2_43012 FLASH 1460772 1460772 0 0.0
RAM 197776 197776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1493460 1493460 0 0.0
RAM 225496 225496 0 0.0
qpg lighting-app qpg6200+debug FLASH 837744 837744 0 0.0
RAM 127768 127768 0 0.0
lock-app qpg6200+debug FLASH 774572 774572 0 0.0
RAM 118736 118736 0 0.0
realtek light-switch-app rtl8777g FLASH 706928 706928 0 0.0
RAM 106964 106964 0 0.0
lighting-app rtl8777g FLASH 757864 757864 0 0.0
RAM 127296 127296 0 0.0
stm32 light STM32WB5MM-DK FLASH 470256 470256 0 0.0
RAM 141352 141352 0 0.0
telink bridge-app tl7218x FLASH 710646 710646 0 0.0
RAM 90600 90600 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797120 797120 0 0.0
RAM 41024 41024 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788322 788322 0 0.0
RAM 93700 93700 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715324 715324 0 0.0
RAM 51892 51892 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748620 748620 0 0.0
RAM 70932 70932 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725474 725474 0 0.0
RAM 34624 34624 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602752 602752 0 0.0
RAM 108928 108928 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820956 820960 4 0.0
RAM 92096 92096 0 0.0

Copilot AI review requested due to automatic review settings November 6, 2025 17:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PR #41551: Size comparison from cc93907 to a5d1988

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section cc93907 a5d1988 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106340 1106340 0 0.0
RAM 178930 178930 0 0.0
bl702 lighting-app bl702+eth FLASH 661414 661414 0 0.0
RAM 135025 135025 0 0.0
bl702+wifi FLASH 837008 837008 0 0.0
RAM 124445 124445 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070610 1070610 0 0.0
RAM 117317 117317 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 900042 900042 0 0.0
RAM 105612 105612 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983356 983356 0 0.0
RAM 109796 109796 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 770820 770820 0 0.0
RAM 103360 103360 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 782664 782664 0 0.0
RAM 108528 108528 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 728612 728612 0 0.0
RAM 97420 97420 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 713080 713080 0 0.0
RAM 97636 97636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554906 554906 0 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587786 587786 0 0.0
RAM 205872 205872 0 0.0
efr32 lock-app BRD4187C FLASH 963504 963504 0 0.0
RAM 123572 123572 0 0.0
BRD4338a FLASH 757752 757752 0 0.0
RAM 254196 254196 0 0.0
window-app BRD4187C FLASH 1058820 1058820 0 0.0
RAM 119800 119800 0 0.0
esp32 all-clusters-app c3devkit DRAM 102572 102572 0 0.0
FLASH 1836720 1836720 0 0.0
IRAM 93540 93540 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 933452 933452 0 0.0
RAM 161377 161377 0 0.0
nxp contact mcxw71+release FLASH 692504 692504 0 0.0
RAM 61552 61552 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1678092 1678092 0 0.0
RAM 213956 213956 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1594492 1594492 0 0.0
RAM 211156 211156 0 0.0
light cy8ckit_062s2_43012 FLASH 1460732 1460732 0 0.0
RAM 197776 197776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1493420 1493420 0 0.0
RAM 225496 225496 0 0.0
qpg lighting-app qpg6200+debug FLASH 837768 837768 0 0.0
RAM 127768 127768 0 0.0
lock-app qpg6200+debug FLASH 774580 774580 0 0.0
RAM 118736 118736 0 0.0
realtek light-switch-app rtl8777g FLASH 706952 706952 0 0.0
RAM 106964 106964 0 0.0
lighting-app rtl8777g FLASH 757896 757896 0 0.0
RAM 127296 127296 0 0.0
stm32 light STM32WB5MM-DK FLASH 470224 470224 0 0.0
RAM 141352 141352 0 0.0
telink bridge-app tl7218x FLASH 710608 710608 0 0.0
RAM 90600 90600 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797084 797084 0 0.0
RAM 41024 41024 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788286 788286 0 0.0
RAM 93700 93700 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715286 715286 0 0.0
RAM 51892 51892 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748582 748582 0 0.0
RAM 70932 70932 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725436 725436 0 0.0
RAM 34624 34624 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602672 602672 0 0.0
RAM 108928 108928 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 820918 820922 4 0.0
RAM 92096 92096 0 0.0

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Nov 6, 2025
@mergify mergify bot merged commit 55a0ef5 into project-chip:master Nov 7, 2025
81 of 83 checks passed
@LyudmilaKostanyan LyudmilaKostanyan deleted the CommandTesting branch November 13, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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