Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new AddStatus overloads using ClusterStatusCode #33904

Merged

Conversation

tcarmelveilleux
Copy link
Contributor

  • CommandHandler and WriteHandler did not have a way to cleanly just AddStatus with a cluster-specific status code (to eventually harmonize handling methods to always return just a ClusterStatusCode).

This PR:

  • Introduces an AddStatus overload for ClusterStatusCode to CommandHandler and WriteHandler.
  • Removes the unimplemented WriteClient::Shutdown method.
  • Adds notes to the AddClusterSpecificSuccess and AddClusterSpecificFailure.
  • Removes implicit conversion from ClusterStatusCode to Status
    • Was never used and was error-prone/lossy

Fixes #31120

Testing done:

  • Updated necessary unit tests.
  • Added unit tests for cluster specific statuses on writes.
  • Integration tests still pass.

- CommandHandler and WriteHandler did not have a way to cleanly just `AddStatus` with
  a cluster-specific status code (to eventually harmonize handling methods to
  always return just a ClusterStatusCode).

This PR:

- Introduces an `AddStatus` overload for `ClusterStatusCode` to CommandHandler
  and WriteHandler.
- Removes the unimplemented `WriteClient::Shutdown` method.
- Adds notes to the `AddClusterSpecificSuccess` and `AddClusterSpecificFailure`.
- Removes implicit conversion from `ClusterStatusCode` to `Status`
  - Was never used and was error-prone/lossy

Fixes project-chip#31120

Testing done:
- Updated necessary unit tests.
- Added unit tests for cluster specific statuses on writes.
- Integration tests still pass.
Copy link

github-actions bot commented Jun 13, 2024

PR #33904: Size comparison from 645d3a7 to 9f1e0ee

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 645d3a7 9f1e0ee change % change
bl602 lighting-app bl602 FLASH 1268236 1269766 1530 0.1
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1282514 1284044 1530 0.1
RAM 95480 95480 0 0.0
bl602+rpc FLASH 1307194 1308980 1786 0.1
RAM 103760 103760 0 0.0
bl702 lighting-app bl702 FLASH 1088876 1090406 1530 0.1
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099826 1101356 1530 0.1
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178956 1180486 1530 0.1
RAM 23925 23925 0 0.0
bl706-eth FLASH 872476 874006 1530 0.2
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1124174 1126234 2060 0.2
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1076018 1077548 1530 0.1
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1087280 1088810 1530 0.1
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797864 797480 -384 -0.0
RAM 103088 103088 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813668 813148 -520 -0.1
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803056 802680 -376 -0.0
RAM 107688 107688 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755552 755480 -72 -0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741184 741120 -64 -0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605378 605450 72 0.0
RAM 204512 204512 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651166 651078 -88 -0.0
RAM 204772 204772 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661413 661013 -400 -0.1
RAM 74512 74512 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681265 680857 -408 -0.1
RAM 77144 77144 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681265 680857 -408 -0.1
RAM 77144 77144 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638201 637801 -400 -0.1
RAM 69580 69580 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603589 603477 -112 -0.0
RAM 70216 70216 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623233 623121 -112 -0.0
RAM 72768 72768 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623233 623121 -112 -0.0
RAM 72768 72768 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 618981 -392 -0.1
RAM 73232 73232 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 638697 -400 -0.1
RAM 75784 75784 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 638697 -400 -0.1
RAM 75784 75784 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587629 587565 -64 -0.0
RAM 67200 67200 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607473 607409 -64 -0.0
RAM 69832 69832 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607473 607409 -64 -0.0
RAM 69832 69832 0 0.0
efr32 lighting-app BRD4187C FLASH 888024 887640 -384 -0.0
RAM 183424 183424 0 0.0
lock-app BRD4338a FLASH 702040 701880 -160 -0.0
RAM 242708 242708 0 0.0
window-app BRD4187C FLASH 969084 969084 0 0.0
RAM 167856 167856 0 0.0
esp32 all-clusters-app c3devkit DRAM 88324 88324 0 0.0
FLASH 1469096 1468342 -754 -0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 114796 114796 0 0.0
FLASH 1538019 1537483 -536 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4568 4568 0 0.0
FLASH 2533808 2533760 -48 -0.0
RAM 129072 129072 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5583182 5578990 -4192 -0.1
RAM 483208 483208 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5054184 5052664 -1520 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4479496 4479336 -160 -0.0
RAM 216752 216752 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11520263 11521399 1136 0.0
RAM 535394 535394 0 0.0
chip-tool-ipv6only arm64 unknown 19816 19816 0 0.0
FLASH 10657812 10658868 1056 0.0
RAM 583416 583416 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11290439 11291575 1136 0.0
RAM 528978 528978 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4349096 4349160 64 0.0
RAM 208800 208800 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5367554 5366450 -1104 -0.0
RAM 225392 225392 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4544872 4543544 -1328 -0.0
RAM 204208 204208 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4179352 4179448 96 0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4303768 4303672 -96 -0.0
RAM 197840 197840 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2802765 2800509 -2256 -0.1
RAM 154392 154392 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4151860 4152228 368 0.0
RAM 234584 234584 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589160 5587976 -1184 -0.0
RAM 345640 345640 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568102 9568134 32 0.0
RAM 352800 352800 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497660 1497276 -384 -0.0
RAM 226072 226072 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 876604 875624 -980 -0.1
RAM 139129 139129 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950224 948900 -1324 -0.1
RAM 137557 137557 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822156 821836 -320 -0.0
RAM 138027 138027 0 0.0
nxp contact k32w0+release FLASH 575436 575260 -176 -0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 590552 590400 -152 -0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 609384 609256 -128 -0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 673744 673640 -104 -0.0
RAM 82808 82808 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613772 1613132 -640 -0.0
RAM 207132 207132 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534716 1534460 -256 -0.0
RAM 204036 204036 0 0.0
light cy8ckit_062s2_43012 FLASH 1460988 1460812 -176 -0.0
RAM 197316 197316 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463300 1463156 -144 -0.0
RAM 224380 224380 0 0.0
qpg lighting-app qpg6105+debug FLASH 650352 650000 -352 -0.1
RAM 104556 104556 0 0.0
lock-app qpg6105+debug FLASH 610404 610132 -272 -0.0
RAM 99232 99232 0 0.0
stm32 light STM32WB5MM-DK FLASH 472260 471836 -424 -0.1
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625418 625428 10 0.0
RAM 49904 49904 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 602942 602176 -766 -0.1
RAM 130288 130288 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770624 770318 -306 -0.0
RAM 110052 110052 0 0.0
bridge-app tlsr9258a FLASH 668544 668514 -30 -0.0
RAM 94672 94672 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 627170 627150 -20 -0.0
RAM 49948 49948 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713008 712956 -52 -0.0
RAM 76540 76540 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558150 557840 -310 -0.1
RAM 126544 126544 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793212 792916 -296 -0.0
RAM 99900 99900 0 0.0
lock-app-dfu tlsr9528a FLASH 660474 660290 -184 -0.0
RAM 69228 69228 0 0.0
ota-requestor-app tlsr9258a FLASH 686880 686836 -44 -0.0
RAM 94396 94396 0 0.0
pump-app tlsr9518adk80d FLASH 609370 609334 -36 -0.0
RAM 56328 56328 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599718 599720 2 0.0
RAM 56128 56128 0 0.0
shell tlsr9518adk80d FLASH 462614 462614 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633552 633512 -40 -0.0
RAM 51576 51576 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642556 642574 18 0.0
RAM 59764 59764 0 0.0
thermostat tlsr9518adk80d FLASH 618620 618610 -10 -0.0
RAM 56452 56452 0 0.0
window-covering tlsr9118bdk40d FLASH 464934 464838 -96 -0.0
RAM 82224 82224 0 0.0
tizen all-clusters-app arm unknown 1548 1548 0 0.0
FLASH 1622328 1620432 -1896 -0.1
RAM 45412 45412 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 15753138 15755170 2032 0.0
RAM 6912572 6913412 840 0.0

Copy link

github-actions bot commented Jun 13, 2024

PR #33904: Size comparison from 645d3a7 to 102c949

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 645d3a7 102c949 change % change
bl602 lighting-app bl602 FLASH 1268236 1269766 1530 0.1
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1282514 1284044 1530 0.1
RAM 95480 95480 0 0.0
bl602+rpc FLASH 1307194 1308980 1786 0.1
RAM 103760 103760 0 0.0
bl702 lighting-app bl702 FLASH 1088876 1090406 1530 0.1
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099826 1101356 1530 0.1
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178956 1180486 1530 0.1
RAM 23925 23925 0 0.0
bl706-eth FLASH 872476 874006 1530 0.2
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1124174 1126234 2060 0.2
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1076018 1077548 1530 0.1
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1087280 1088810 1530 0.1
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797864 797480 -384 -0.0
RAM 103088 103088 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813668 813148 -520 -0.1
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803056 802680 -376 -0.0
RAM 107688 107688 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755552 755480 -72 -0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741184 741120 -64 -0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605378 605450 72 0.0
RAM 204512 204512 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651166 651078 -88 -0.0
RAM 204772 204772 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661413 661013 -400 -0.1
RAM 74512 74512 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681265 680857 -408 -0.1
RAM 77144 77144 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681265 680857 -408 -0.1
RAM 77144 77144 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638201 637801 -400 -0.1
RAM 69580 69580 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603589 603477 -112 -0.0
RAM 70216 70216 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623233 623121 -112 -0.0
RAM 72768 72768 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623233 623121 -112 -0.0
RAM 72768 72768 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 618981 -392 -0.1
RAM 73232 73232 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 638697 -400 -0.1
RAM 75784 75784 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 638697 -400 -0.1
RAM 75784 75784 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587629 587565 -64 -0.0
RAM 67200 67200 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607473 607409 -64 -0.0
RAM 69832 69832 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607473 607409 -64 -0.0
RAM 69832 69832 0 0.0
efr32 lighting-app BRD4187C FLASH 888024 887640 -384 -0.0
RAM 183424 183424 0 0.0
lock-app BRD4338a FLASH 702040 701880 -160 -0.0
RAM 242708 242708 0 0.0
window-app BRD4187C FLASH 969084 969084 0 0.0
RAM 167856 167856 0 0.0
esp32 all-clusters-app c3devkit DRAM 88324 88324 0 0.0
FLASH 1469096 1468342 -754 -0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 114796 114796 0 0.0
FLASH 1538019 1537483 -536 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4568 4568 0 0.0
FLASH 2533808 2533760 -48 -0.0
RAM 129072 129072 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5583182 5578990 -4192 -0.1
RAM 483208 483208 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5054184 5052664 -1520 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4479496 4479336 -160 -0.0
RAM 216752 216752 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11520263 11521463 1200 0.0
RAM 535394 535394 0 0.0
chip-tool-ipv6only arm64 unknown 19816 19816 0 0.0
FLASH 10657812 10658932 1120 0.0
RAM 583416 583416 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11290439 11291623 1184 0.0
RAM 528978 528978 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4349096 4349160 64 0.0
RAM 208800 208800 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5367554 5366450 -1104 -0.0
RAM 225392 225392 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4544872 4543544 -1328 -0.0
RAM 204208 204208 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4179352 4179448 96 0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4303768 4303672 -96 -0.0
RAM 197840 197840 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2802765 2800509 -2256 -0.1
RAM 154392 154392 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4151860 4152228 368 0.0
RAM 234584 234584 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589160 5587992 -1168 -0.0
RAM 345640 345640 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568102 9568134 32 0.0
RAM 352800 352800 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497660 1497276 -384 -0.0
RAM 226072 226072 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 876604 875624 -980 -0.1
RAM 139129 139129 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950224 948900 -1324 -0.1
RAM 137557 137557 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822156 821836 -320 -0.0
RAM 138027 138027 0 0.0
nxp contact k32w0+release FLASH 575436 575260 -176 -0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 590552 590400 -152 -0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 609384 609256 -128 -0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 673744 673640 -104 -0.0
RAM 82808 82808 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613772 1613132 -640 -0.0
RAM 207132 207132 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534716 1534460 -256 -0.0
RAM 204036 204036 0 0.0
light cy8ckit_062s2_43012 FLASH 1460988 1460812 -176 -0.0
RAM 197316 197316 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463300 1463156 -144 -0.0
RAM 224380 224380 0 0.0
qpg lighting-app qpg6105+debug FLASH 650352 650000 -352 -0.1
RAM 104556 104556 0 0.0
lock-app qpg6105+debug FLASH 610404 610132 -272 -0.0
RAM 99232 99232 0 0.0
stm32 light STM32WB5MM-DK FLASH 472260 471836 -424 -0.1
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625418 625428 10 0.0
RAM 49904 49904 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 602942 602176 -766 -0.1
RAM 130288 130288 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770624 770318 -306 -0.0
RAM 110052 110052 0 0.0
bridge-app tlsr9258a FLASH 668544 668514 -30 -0.0
RAM 94672 94672 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 627170 627150 -20 -0.0
RAM 49948 49948 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713008 712956 -52 -0.0
RAM 76540 76540 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558150 557840 -310 -0.1
RAM 126544 126544 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793212 792916 -296 -0.0
RAM 99900 99900 0 0.0
lock-app-dfu tlsr9528a FLASH 660474 660290 -184 -0.0
RAM 69228 69228 0 0.0
ota-requestor-app tlsr9258a FLASH 686880 686836 -44 -0.0
RAM 94396 94396 0 0.0
pump-app tlsr9518adk80d FLASH 609370 609334 -36 -0.0
RAM 56328 56328 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599718 599720 2 0.0
RAM 56128 56128 0 0.0
shell tlsr9518adk80d FLASH 462614 462614 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633552 633512 -40 -0.0
RAM 51576 51576 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642556 642574 18 0.0
RAM 59764 59764 0 0.0
thermostat tlsr9518adk80d FLASH 618620 618610 -10 -0.0
RAM 56452 56452 0 0.0
window-covering tlsr9118bdk40d FLASH 464934 464838 -96 -0.0
RAM 82224 82224 0 0.0
tizen all-clusters-app arm unknown 1548 1548 0 0.0
FLASH 1622328 1620432 -1896 -0.1
RAM 45412 45412 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 15753138 15755210 2072 0.0
RAM 6912572 6913412 840 0.0

src/app/WriteHandler.cpp Outdated Show resolved Hide resolved
src/app/CommandHandlerImpl.cpp Outdated Show resolved Hide resolved
src/controller/tests/data_model/TestCommands.cpp Outdated Show resolved Hide resolved
src/protocols/interaction_model/StatusCode.h Outdated Show resolved Hide resolved
src/protocols/interaction_model/StatusCode.h Outdated Show resolved Hide resolved
- Make StatusIB initializable from ClusterStatusCode
- Clean-ups requested
- CommandResponseHelper loses the error-prone cluster-specific-code on success
  (can be added back if ever needed).
@github-actions github-actions bot added the tests label Jun 14, 2024
Copy link

github-actions bot commented Jun 14, 2024

PR #33904: Size comparison from 645d3a7 to db2e60b

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 645d3a7 db2e60b change % change
bl602 lighting-app bl602 FLASH 1268236 1269916 1680 0.1
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1282514 1284194 1680 0.1
RAM 95480 95480 0 0.0
bl602+rpc FLASH 1307194 1309130 1936 0.1
RAM 103760 103760 0 0.0
bl702 lighting-app bl702 FLASH 1088876 1090556 1680 0.2
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099826 1101506 1680 0.2
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178956 1180636 1680 0.1
RAM 23925 23925 0 0.0
bl706-eth FLASH 872476 874156 1680 0.2
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1124174 1126382 2208 0.2
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1076018 1077698 1680 0.2
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1087280 1088960 1680 0.2
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797864 797600 -264 -0.0
RAM 103088 103088 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813668 813260 -408 -0.1
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803056 802792 -264 -0.0
RAM 107688 107688 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755552 755592 40 0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741184 741248 64 0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605378 605586 208 0.0
RAM 204512 204512 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651166 651214 48 0.0
RAM 204772 204772 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661413 661173 -240 -0.0
RAM 74512 74512 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681265 681017 -248 -0.0
RAM 77144 77144 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681265 681017 -248 -0.0
RAM 77144 77144 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638201 637953 -248 -0.0
RAM 69580 69580 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603589 603637 48 0.0
RAM 70216 70216 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623233 623273 40 0.0
RAM 72768 72768 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623233 623273 40 0.0
RAM 72768 72768 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 619141 -232 -0.0
RAM 73232 73232 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 638857 -240 -0.0
RAM 75784 75784 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 638857 -240 -0.0
RAM 75784 75784 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587629 587717 88 0.0
RAM 67200 67200 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607473 607569 96 0.0
RAM 69832 69832 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607473 607569 96 0.0
RAM 69832 69832 0 0.0
efr32 lighting-app BRD4187C FLASH 888024 887760 -264 -0.0
RAM 183424 183424 0 0.0
lock-app BRD4338a FLASH 702040 699880 -2160 -0.3
RAM 242708 242228 -480 -0.2
window-app BRD4187C FLASH 969084 969212 128 0.0
RAM 167856 167856 0 0.0
esp32 all-clusters-app c3devkit DRAM 88324 88324 0 0.0
FLASH 1469096 1468444 -652 -0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114796 114796 0 0.0
FLASH 1538019 1537607 -412 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4568 4568 0 0.0
FLASH 2533808 2533920 112 0.0
RAM 129072 129072 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5583182 5579230 -3952 -0.1
RAM 483208 483208 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5054184 5052920 -1264 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4479496 4479528 32 0.0
RAM 216752 216752 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11520263 11521847 1584 0.0
RAM 535394 535394 0 0.0
chip-tool-ipv6only arm64 unknown 19816 19816 0 0.0
FLASH 10657812 10659300 1488 0.0
RAM 583416 583416 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11290439 11291991 1552 0.0
RAM 528978 528978 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4349096 4349352 256 0.0
RAM 208800 208800 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5367554 5366722 -832 -0.0
RAM 225392 225392 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4544872 4543736 -1136 -0.0
RAM 204208 204208 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4179352 4179640 288 0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4303768 4303880 112 0.0
RAM 197840 197840 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2802765 2800733 -2032 -0.1
RAM 154392 154392 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4151860 4152436 576 0.0
RAM 234584 234584 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589160 5593928 4768 0.1
RAM 345640 345640 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568102 9568294 192 0.0
RAM 352800 352800 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497660 1497436 -224 -0.0
RAM 226072 226072 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 876604 875740 -864 -0.1
RAM 139129 139129 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950224 948860 -1364 -0.1
RAM 137557 137557 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822156 821952 -204 -0.0
RAM 138027 138027 0 0.0
nxp contact k32w0+release FLASH 575436 575228 -208 -0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 590552 590360 -192 -0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 609384 609288 -96 -0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 673744 673760 16 0.0
RAM 82808 82808 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613772 1613260 -512 -0.0
RAM 207132 207132 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534716 1534588 -128 -0.0
RAM 204036 204036 0 0.0
light cy8ckit_062s2_43012 FLASH 1460988 1460940 -48 -0.0
RAM 197316 197316 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463300 1463268 -32 -0.0
RAM 224380 224380 0 0.0
qpg lighting-app qpg6105+debug FLASH 650352 650120 -232 -0.0
RAM 104556 104556 0 0.0
lock-app qpg6105+debug FLASH 610404 610252 -152 -0.0
RAM 99232 99232 0 0.0
stm32 light STM32WB5MM-DK FLASH 472260 471948 -312 -0.1
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625418 625438 20 0.0
RAM 49904 49904 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 602942 602186 -756 -0.1
RAM 130288 130288 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770624 770328 -296 -0.0
RAM 110052 110052 0 0.0
bridge-app tlsr9258a FLASH 668544 668524 -20 -0.0
RAM 94672 94672 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 627170 627160 -10 -0.0
RAM 49948 49948 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713008 712966 -42 -0.0
RAM 76540 76540 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558150 557850 -300 -0.1
RAM 126544 126544 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793212 792926 -286 -0.0
RAM 99900 99900 0 0.0
lock-app-dfu tlsr9528a FLASH 660474 660300 -174 -0.0
RAM 69228 69228 0 0.0
ota-requestor-app tlsr9258a FLASH 686880 686846 -34 -0.0
RAM 94396 94396 0 0.0
pump-app tlsr9518adk80d FLASH 609370 609344 -26 -0.0
RAM 56328 56328 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599718 599730 12 0.0
RAM 56128 56128 0 0.0
shell tlsr9518adk80d FLASH 462614 462614 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633552 633522 -30 -0.0
RAM 51576 51576 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642556 642584 28 0.0
RAM 59764 59764 0 0.0
thermostat tlsr9518adk80d FLASH 618620 618620 0 0.0
RAM 56452 56452 0 0.0
window-covering tlsr9118bdk40d FLASH 464934 464848 -86 -0.0
RAM 82224 82224 0 0.0
tizen all-clusters-app arm unknown 1548 1548 0 0.0
FLASH 1622328 1620576 -1752 -0.1
RAM 45412 45412 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 15753138 15755658 2520 0.0
RAM 6912572 6913544 972 0.0

@mergify mergify bot merged commit ad344f5 into project-chip:master Jun 14, 2024
68 checks passed
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.

Cluster-specific codes cannot be passed to CommandHandler::AddStatus
4 participants