Skip to content

Add support for isFabricScoped on a command & use it in TLSCertificateManagementCluster #37969

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

Merged
merged 12 commits into from
May 15, 2025

Conversation

gmarcosb
Copy link
Contributor

@gmarcosb gmarcosb commented Mar 11, 2025

Add support for commands marked with isFabricScoped

The behavior of these commands is specified at decode time if source=client, with the following method signature:

CHIP_ERROR DecodableType::Decode(TLV::TLVReader &reader, FabricIndex aAccessingFabricIndex)

And at encode time if source=server, with the following updated method signature:

CHIP_ERROR Type::Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag, FabricIndex aAccessingFabricIndex) const {

This is to guarantee consistent behavior on the receiver of the command (whether client or server), such that the fabric index is always set to by the server.

This is to match attribute behavior.

Testing

Verified by CI

Copy link

github-actions bot commented Mar 12, 2025

PR #37969: Size comparison from 4d9b423 to 985f8bc

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 4d9b423 985f8bc change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098296 1098842 546 0.0
RAM 94866 94866 0 0.0
bl702 lighting-app bl702+eth FLASH 653274 653824 550 0.1
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830546 831096 550 0.1
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1062944 1063494 550 0.1
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893786 894038 252 0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976682 977232 550 0.1
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818264 818832 568 0.1
RAM 120296 120296 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827176 827568 392 0.0
RAM 125392 125392 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774036 774420 384 0.0
RAM 113764 113764 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758320 758576 256 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541830 542078 248 0.0
RAM 205152 205152 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575930 576306 376 0.1
RAM 205400 205400 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 659957 660557 600 0.1
RAM 75436 75436 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 679809 680409 600 0.1
RAM 78076 78076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 679809 680409 600 0.1
RAM 78076 78076 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636741 637341 600 0.1
RAM 70504 70504 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620189 620581 392 0.1
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639833 640225 392 0.1
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639833 640225 392 0.1
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639693 640085 392 0.1
RAM 74684 74684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659417 659809 392 0.1
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659417 659809 392 0.1
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616041 616321 280 0.0
RAM 68772 68772 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635893 636173 280 0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635893 636173 280 0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 940776 941160 384 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 734440 734760 320 0.0
RAM 234856 234856 0 0.0
window-app BRD4187C FLASH 1033320 1033600 280 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 98728 98728 0 0.0
FLASH 1594414 1595728 1314 0.1
IRAM 83820 83820 0 0.0
m5stack DRAM 117524 117524 0 0.0
FLASH 1561018 1562362 1344 0.1
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2659017 2659911 894 0.0
RAM 112304 112304 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5980676 5984768 4092 0.1
RAM 516696 516760 64 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5317024 5320472 3448 0.1
RAM 222680 222680 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4630812 4631952 1140 0.0
RAM 201000 201000 0 0.0
camera-app debug unknown 5456 5456 0 0.0
FLASH 4680896 4682226 1330 0.0
RAM 195808 195808 0 0.0
camera-controller debug unknown 5776 5776 0 0.0
FLASH 11345413 1134667 1260 0.0
RAM 597312 597376 64 0.0
chip-tool debug unknown 6112 6112 0 0.0
FLASH 13365471 13370063 4592 0.0
RAM 605952 606016 64 0.0
chip-tool-ipv6only arm64 unknown 22120 22120 0 0.0
FLASH 11551288 11554360 3072 0.0
RAM 658632 658696 64 0.0
fabric-admin debug unknown 5800 5800 0 0.0
FLASH 1163666 11637923 1260 0.0
RAM 605736 605800 64 0.0
fabric-bridge-app debug unknown 4720 4720 0 0.0
FLASH 4461800 4462632 832 0.0
RAM 188200 188200 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5578885 5579717 832 0.0
RAM 471968 472032 64 0.0
lighting-app debug+rpc+ui unknown 6192 6192 0 0.0
FLASH 5525105 5527185 2080 0.0
RAM 205168 205168 0 0.0
lock-app debug unknown 5424 5424 0 0.0
FLASH 4697588 4699196 1608 0.0
RAM 192360 192360 0 0.0
ota-provider-app debug unknown 4760 4760 0 0.0
FLASH 4319734 4320550 816 0.0
RAM 181016 181016 0 0.0
ota-requestor-app debug unknown 4712 4712 0 0.0
FLASH 4450118 4451348 1230 0.0
RAM 185504 185504 0 0.0
shell debug unknown 4240 4240 0 0.0
FLASH 2957436 2961340 3904 0.1
RAM 145456 145456 0 0.0
thermostat-no-ble arm64 unknown 9456 9456 0 0.0
FLASH 4146712 4147768 1056 0.0
RAM 229848 229848 0 0.0
tv-app debug unknown 5752 5752 0 0.0
FLASH 5917765 5920533 2768 0.0
RAM 595400 595464 64 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11537997 11542301 4304 0.0
RAM 721744 721808 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915844 917012 1168 0.1
RAM 144929 144929 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 908884 909900 1016 0.1
RAM 123173 123173 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852628 853692 1064 0.1
RAM 141243 141243 0 0.0
nxp contact k32w0+release FLASH 588336 588608 272 0.0
RAM 71004 71004 0 0.0
mcxw71+release FLASH 603560 603824 264 0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 614132 614532 400 0.1
RAM 70292 70292 0 0.0
k32w1+release FLASH 687680 688096 416 0.1
RAM 72056 72056 0 0.0
lock mcxw71+release FLASH 752456 752848 392 0.1
RAM 67556 67556 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661380 1662532 1152 0.1
RAM 212344 212344 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565644 1566540 896 0.1
RAM 208560 208560 0 0.0
light cy8ckit_062s2_43012 FLASH 1442380 1442924 544 0.0
RAM 197320 197320 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471276 1471612 336 0.0
RAM 224984 224984 0 0.0
qpg lighting-app qpg6105+debug FLASH 664876 665476 600 0.1
RAM 105180 105180 0 0.0
lock-app qpg6105+debug FLASH 623328 623656 328 0.1
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 460952 461560 608 0.1
RAM 141496 141496 0 0.0
telink bridge-app tl7218x FLASH 665726 666138 412 0.1
RAM 90712 90712 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623308 623608 300 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 762082 762704 622 0.1
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755190 755812 622 0.1
RAM 97540 97540 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 682240 682668 428 0.1
RAM 52192 52192 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710798 711226 428 0.1
RAM 73400 73400 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 703348 703776 428 0.1
RAM 37664 37664 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602918 603540 622 0.1
RAM 138640 138640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790206 790828 622 0.1
RAM 96388 96388 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1783248 1786000 2752 0.2
RAM 94168 94168 0 0.0
chip-tool-ubsan arm unknown 11560 11560 0 0.0
FLASH 19092774 19099230 6456 0.0
RAM 8355048 8357856 2808 0.0

Copy link

github-actions bot commented Mar 13, 2025

PR #37969: Size comparison from 69a4609 to 6043f08

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 69a4609 6043f08 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098296 1098842 546 0.0
RAM 94866 94866 0 0.0
bl702 lighting-app bl702+eth FLASH 653274 653824 550 0.1
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830546 831096 550 0.1
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1062944 1063494 550 0.1
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893786 894038 252 0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976682 977232 550 0.1
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818264 818832 568 0.1
RAM 120296 120296 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827176 827568 392 0.0
RAM 125392 125392 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774036 774420 384 0.0
RAM 113764 113764 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758320 758576 256 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541830 542078 248 0.0
RAM 205152 205152 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575930 576306 376 0.1
RAM 205400 205400 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 659957 660557 600 0.1
RAM 75436 75436 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 679809 680409 600 0.1
RAM 78076 78076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 679809 680409 600 0.1
RAM 78076 78076 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636741 637341 600 0.1
RAM 70504 70504 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620189 620581 392 0.1
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639833 640225 392 0.1
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639833 640225 392 0.1
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639693 640085 392 0.1
RAM 74684 74684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659417 659809 392 0.1
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659417 659809 392 0.1
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616041 616321 280 0.0
RAM 68772 68772 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635893 636173 280 0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635893 636173 280 0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 940784 941200 416 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 734432 734752 320 0.0
RAM 234856 234856 0 0.0
window-app BRD4187C FLASH 1033328 1033616 288 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 98728 98728 0 0.0
FLASH 1594414 1595728 1314 0.1
IRAM 83820 83820 0 0.0
m5stack DRAM 117524 117524 0 0.0
FLASH 1561018 1562370 1352 0.1
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2659017 2659911 894 0.0
RAM 112304 112304 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5980676 5984768 4092 0.1
RAM 516696 516760 64 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5317024 5320472 3448 0.1
RAM 222680 222680 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4630812 4631952 1140 0.0
RAM 201000 201000 0 0.0
camera-app debug unknown 5456 5456 0 0.0
FLASH 4682134 4683464 1330 0.0
RAM 195968 195968 0 0.0
camera-controller debug unknown 5776 5776 0 0.0
FLASH 11345413 1134667 1260 0.0
RAM 597312 597376 64 0.0
chip-tool debug unknown 6112 6112 0 0.0
FLASH 13365471 13369833 4362 0.0
RAM 605952 606016 64 0.0
chip-tool-ipv6only arm64 unknown 22120 22120 0 0.0
FLASH 11551288 11554152 2864 0.0
RAM 658632 658696 64 0.0
fabric-admin debug unknown 5800 5800 0 0.0
FLASH 1163666 11637923 1260 0.0
RAM 605736 605800 64 0.0
fabric-bridge-app debug unknown 4720 4720 0 0.0
FLASH 4461800 4462632 832 0.0
RAM 188200 188200 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5578885 5579717 832 0.0
RAM 471968 472032 64 0.0
lighting-app debug+rpc+ui unknown 6192 6192 0 0.0
FLASH 5525105 5527185 2080 0.0
RAM 205168 205168 0 0.0
lock-app debug unknown 5424 5424 0 0.0
FLASH 4697588 4699196 1608 0.0
RAM 192360 192360 0 0.0
ota-provider-app debug unknown 4760 4760 0 0.0
FLASH 4319734 4320550 816 0.0
RAM 181016 181016 0 0.0
ota-requestor-app debug unknown 4712 4712 0 0.0
FLASH 4450118 4451348 1230 0.0
RAM 185504 185504 0 0.0
shell debug unknown 4240 4240 0 0.0
FLASH 2957436 2961340 3904 0.1
RAM 145456 145456 0 0.0
thermostat-no-ble arm64 unknown 9456 9456 0 0.0
FLASH 4146712 4147768 1056 0.0
RAM 229848 229848 0 0.0
tv-app debug unknown 5752 5752 0 0.0
FLASH 5917765 5920533 2768 0.0
RAM 595400 595464 64 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11537997 11542125 4128 0.0
RAM 721744 721808 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915844 917012 1168 0.1
RAM 144929 144929 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 908884 909900 1016 0.1
RAM 123173 123173 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852628 853692 1064 0.1
RAM 141243 141243 0 0.0
nxp contact k32w0+release FLASH 588336 588608 272 0.0
RAM 71004 71004 0 0.0
mcxw71+release FLASH 603560 603824 264 0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 614132 614532 400 0.1
RAM 70292 70292 0 0.0
k32w1+release FLASH 687680 688096 416 0.1
RAM 72056 72056 0 0.0
lock mcxw71+release FLASH 752456 752848 392 0.1
RAM 67556 67556 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661380 1662532 1152 0.1
RAM 212344 212344 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565644 1566540 896 0.1
RAM 208560 208560 0 0.0
light cy8ckit_062s2_43012 FLASH 1442380 1442924 544 0.0
RAM 197320 197320 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471276 1471612 336 0.0
RAM 224984 224984 0 0.0
qpg lighting-app qpg6105+debug FLASH 664876 665476 600 0.1
RAM 105180 105180 0 0.0
lock-app qpg6105+debug FLASH 623328 623656 328 0.1
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 460952 461560 608 0.1
RAM 141496 141496 0 0.0
telink bridge-app tl7218x FLASH 665726 666138 412 0.1
RAM 90712 90712 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623308 623608 300 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 762082 762704 622 0.1
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755190 755812 622 0.1
RAM 97540 97540 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 682240 682668 428 0.1
RAM 52192 52192 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710798 711226 428 0.1
RAM 73400 73400 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 703348 703776 428 0.1
RAM 37664 37664 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602918 603540 622 0.1
RAM 138640 138640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790206 790828 622 0.1
RAM 96388 96388 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1783248 1786000 2752 0.2
RAM 94168 94168 0 0.0
chip-tool-ubsan arm unknown 11560 11560 0 0.0
FLASH 19092774 19098814 6040 0.0
RAM 8355048 8357632 2584 0.0

@mergify mergify bot added the conflict label Mar 31, 2025
@woody-apple woody-apple added this to the No Target Milestone milestone Apr 2, 2025
gmarcosb and others added 7 commits May 15, 2025 09:42
* Add VID Verification Statement to TC-RR-1.1

- Add VID Verification Statement filling to TC-RR-1.1
  - Matches CHIP-Specifications/chip-test-plans#5131
- Add missing logging
- Add missing checks as well that were listed in test plan but not actually
  implemented.
- Add native methods missing to implement test changes

* Restyled by clang-format

* Restyled by autopep8

* Fix lint

* Update src/python_testing/TC_RR_1_1.py

Co-authored-by: C Freeman <cecille@google.com>

* Fix value access in attestation challenge getter

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: C Freeman <cecille@google.com>
* Add VID Verification Statement to TC-RR-1.1

- Add VID Verification Statement filling to TC-RR-1.1
  - Matches CHIP-Specifications/chip-test-plans#5131
- Add missing logging
- Add missing checks as well that were listed in test plan but not actually
  implemented.
- Add native methods missing to implement test changes

* Restyled by clang-format

* Restyled by autopep8

* Fix lint

* Update src/python_testing/TC_RR_1_1.py

Co-authored-by: C Freeman <cecille@google.com>

* Fix value access in attestation challenge getter

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: C Freeman <cecille@google.com>
@mergify mergify bot removed the conflict label May 15, 2025
Copy link

github-actions bot commented May 15, 2025

PR #37969: Size comparison from 599c3b2 to 4452f93

Increases above 0.2%:

platform target config section 599c3b2 4452f93 change % change
linux all-clusters-app debug FLASH 6343316 6359278 15962 0.3
camera-controller debug FLASH 14310059 14391979 81920 0.6
RAM 658448 661552 3104 0.5
chip-tool debug FLASH 14591745 14674707 82962 0.6
RAM 645184 648288 3104 0.5
chip-tool-ipv6only arm64 FLASH 12572768 12625376 52608 0.4
RAM 691472 694576 3104 0.4
fabric-admin debug FLASH 12669131 12751047 81916 0.6
RAM 644544 647648 3104 0.5
shell debug FLASH 3082540 3095052 12512 0.4
tv-casting-app debug FLASH 12785597 12873677 88080 0.7
RAM 765808 769072 3264 0.4
tizen all-clusters-app arm FLASH 1815428 1822384 6956 0.4
chip-tool-ubsan arm FLASH 20823774 20893806 70032 0.3
RAM 9060300 9084072 23772 0.3
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 599c3b2 4452f93 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102290 1103312 1022 0.1
RAM 179074 179074 0 0.0
bl702 lighting-app bl702+eth FLASH 655548 656542 994 0.2
RAM 135041 135041 0 0.0
bl702+wifi FLASH 833046 834052 1006 0.1
RAM 124589 124589 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065586 1066592 1006 0.1
RAM 117429 117429 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894770 895528 758 0.1
RAM 105724 105724 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978866 979616 750 0.1
RAM 109924 109924 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820820 821764 944 0.1
RAM 120296 120296 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 830864 831640 776 0.1
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 778568 779200 632 0.1
RAM 113844 113844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 762876 763420 544 0.1
RAM 114052 114052 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549170 549650 480 0.1
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 580426 581066 640 0.1
RAM 205456 205456 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661957 662909 952 0.1
RAM 77300 77300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681809 682761 952 0.1
RAM 79940 79940 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681809 682761 952 0.1
RAM 79940 79940 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638741 639693 952 0.1
RAM 72368 72368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623253 624069 816 0.1
RAM 73604 73604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 642889 643697 808 0.1
RAM 76156 76156 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 642889 643697 808 0.1
RAM 76156 76156 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 642653 643413 760 0.1
RAM 76604 76604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 662369 663129 760 0.1
RAM 79156 79156 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 662369 663129 760 0.1
RAM 79156 79156 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618889 619577 688 0.1
RAM 70708 70708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 638741 639429 688 0.1
RAM 73340 73340 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 638741 639429 688 0.1
RAM 73340 73340 0 0.0
efr32 lock-app BRD4187C FLASH 945396 946164 768 0.1
RAM 132092 132092 0 0.0
BRD4338a FLASH 771544 772984 1440 0.2
RAM 173320 173320 0 0.0
window-app BRD4187C FLASH 1037504 1038808 1304 0.1
RAM 128228 128228 0 0.0
esp32 all-clusters-app c3devkit DRAM 103400 103400 0 0.0
FLASH 1806040 1808050 2010 0.1
IRAM 83846 83846 0 0.0
m5stack DRAM 122012 122012 0 0.0
FLASH 1771190 1774122 2932 0.2
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2789246 2793980 4734 0.2
RAM 115144 115256 112 0.1
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6343316 6359278 15962 0.3
RAM 533288 533816 528 0.1
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5449186 5462354 13168 0.2
RAM 225224 225592 368 0.2
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4765624 4770550 4926 0.1
RAM 204864 204976 112 0.1
camera-app debug unknown 8856 8856 0 0.0
FLASH 6887691 6896331 8640 0.1
RAM 226392 226648 256 0.1
camera-controller debug unknown 9240 9240 0 0.0
FLASH 14310059 14391979 81920 0.6
RAM 658448 661552 3104 0.5
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14591745 14674707 82962 0.6
RAM 645184 648288 3104 0.5
chip-tool-ipv6only arm64 unknown 40328 40328 0 0.0
FLASH 12572768 12625376 52608 0.4
RAM 691472 694576 3104 0.4
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12669131 12751047 81916 0.6
RAM 644544 647648 3104 0.5
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4582558 4587388 4830 0.1
RAM 190896 191056 160 0.1
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5723045 5733541 10496 0.2
RAM 486768 487168 400 0.1
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5644417 5651073 6656 0.1
RAM 207352 207544 192 0.1
lock-app debug unknown 5496 5496 0 0.0
FLASH 4817926 4824444 6518 0.1
RAM 194664 194840 176 0.1
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4441574 4446286 4712 0.1
RAM 183984 184144 160 0.1
ota-requestor-app debug unknown 4800 4800 0 0.0
FLASH 4569306 4575890 6584 0.1
RAM 187856 188048 192 0.1
shell debug unknown 4272 4272 0 0.0
FLASH 3082540 3095052 12512 0.4
RAM 148312 148632 320 0.2
thermostat-no-ble arm64 unknown 9624 9624 0 0.0
FLASH 4229856 4234016 4160 0.1
RAM 231080 231256 176 0.1
tv-app debug unknown 5832 5832 0 0.0
FLASH 6078965 6092101 13136 0.2
RAM 611208 611640 432 0.1
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12785597 12873677 88080 0.7
RAM 765808 769072 3264 0.4
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 919820 921568 1748 0.2
RAM 167398 167398 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 911644 913288 1644 0.2
RAM 145642 145642 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 857048 858672 1624 0.2
RAM 141161 141161 0 0.0
nxp contact k32w0+release FLASH 592424 592976 552 0.1
RAM 72920 72920 0 0.0
mcxw71+release FLASH 625272 625832 560 0.1
RAM 63260 63260 0 0.0
light k32w0+release FLASH 618356 619100 744 0.1
RAM 72216 72216 0 0.0
k32w1+release FLASH 709808 710552 744 0.1
RAM 72108 72108 0 0.0
lock mcxw71+release FLASH 774872 775632 760 0.1
RAM 67692 67692 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1666156 1669220 3064 0.2
RAM 212400 212400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1570684 1573324 2640 0.2
RAM 208584 208584 0 0.0
light cy8ckit_062s2_43012 FLASH 1446132 1447556 1424 0.1
RAM 197296 197296 0 0.0
lock cy8ckit_062s2_43012 FLASH 1476156 1477444 1288 0.1
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667404 668340 936 0.1
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 625800 626536 736 0.1
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 465132 466004 872 0.2
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 694058 694592 534 0.1
RAM 101908 101908 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 773444 774328 884 0.1
RAM 50060 50060 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 780550 781434 884 0.1
RAM 109232 109232 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702810 703580 770 0.1
RAM 62624 62624 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740764 741534 770 0.1
RAM 85796 85796 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606872 607756 884 0.1
RAM 119448 119448 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 815860 816748 888 0.1
RAM 107500 107500 0 0.0
tizen all-clusters-app arm unknown 5224 5224 0 0.0
FLASH 1815428 1822384 6956 0.4
RAM 94972 95164 192 0.2
chip-tool-ubsan arm unknown 20600 20600 0 0.0
FLASH 20823774 20893806 70032 0.3
RAM 9060300 9084072 23772 0.3

@gmarcosb gmarcosb linked an issue May 15, 2025 that may be closed by this pull request
@mergify mergify bot merged commit 934229b into project-chip:master May 15, 2025
74 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in [Device Type] Cameras May 15, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in [Platform] Darwin May 15, 2025
heinsaar pushed a commit to heinsaar/connectedhomeip that referenced this pull request May 16, 2025
…eManagementCluster (project-chip#37969)

* Add support for isFabricScoped on command

* Re-introduce isFabricScoped on structs & commands

* Generated using ./scripts/tools/zap_regen_all.py

* Apply code review suggestions

* Improve calls to Decode

* Revert unnecessary change from client-side changes

* Merge conflicts from project-chip#38390

* Additional changes to support EncodeForRead with accessingFabricIndex

* Add kIsFabricScoped to hand-rolled structs

* Add VID Verification Statement to TC-RR-1.1 (project-chip#38712)

* Add VID Verification Statement to TC-RR-1.1

- Add VID Verification Statement filling to TC-RR-1.1
  - Matches CHIP-Specifications/chip-test-plans#5131
- Add missing logging
- Add missing checks as well that were listed in test plan but not actually
  implemented.
- Add native methods missing to implement test changes

* Restyled by clang-format

* Restyled by autopep8

* Fix lint

* Update src/python_testing/TC_RR_1_1.py

Co-authored-by: C Freeman <cecille@google.com>

* Fix value access in attestation challenge getter

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: C Freeman <cecille@google.com>

* Add VID Verification Statement to TC-RR-1.1 (project-chip#38712)

* Add VID Verification Statement to TC-RR-1.1

- Add VID Verification Statement filling to TC-RR-1.1
  - Matches CHIP-Specifications/chip-test-plans#5131
- Add missing logging
- Add missing checks as well that were listed in test plan but not actually
  implemented.
- Add native methods missing to implement test changes

* Restyled by clang-format

* Restyled by autopep8

* Fix lint

* Update src/python_testing/TC_RR_1_1.py

Co-authored-by: C Freeman <cecille@google.com>

* Fix value access in attestation challenge getter

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: C Freeman <cecille@google.com>

* Generated using ./scripts/tools/zap_regen_all.py

---------

Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: C Freeman <cecille@google.com>
Copy link
Contributor

@sxb427 sxb427 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3

# https://developer.github.com/v3/previews/#draft-pull-requests
github_api_version: "shadow-cat-preview"

############################################################
#  Overrides
############################################################

overrides:
  - if: "'hotfix' in labels"
    status: success
    explanation: "Hotfix label added, bypassing reviews"

  ############################################################
  #  Draft PRs
  ############################################################
  - if: "draft"
    status: pending
    explanation: "PR is draft, pending review"

  ############################################################
  #  License Checks
  ############################################################
  - if: "'*license/cla*' not in statuses.successful"
    status: pending
    explanation: "CLA must be agreed to by all contributors"

  ############################################################
  #  Conditions to Skip Review
  ############################################################
  - if: "base.ref != 'master'"
    status: success
    explanation: "Review not required unless merging to master"

  ############################################################
  #  Require Issues
  ############################################################
  # disabling until we have PRs up to date
  #     - if: "'*issue*' not in statuses.successful"
  #       status: failure
  #       explanation: "An issue is required for all PRs"

  ############################################################
  #  Fast tracking
  ############################################################
  - if: "'fast track' in labels"
    status: success
    explanation: "PR has been fast tracked, bypassing reviews"

############################################################
#  Notifications
############################################################

notifications:
  ############################################################
  #  New contributors
  ############################################################
  - when: pull_request.opened
    if: "author_association == 'FIRST_TIME_CONTRIBUTOR'"
    comment: |
      Hey @{{ author }}, thanks for the PR! The review will start once
      the tests and CI checks have passed. If they don't, please review
      the logs and try to fix the issues (ask for help if you can't
      figure it out). A reviewer will be assigned once the tests are
      passing and they'll walk you through getting the PR finished
      and merged.

groups:
  ############################################################
  #  Shared Reviewer Groups
  ############################################################
  shared-reviewers-amazon:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-amazon]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-apple:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-apple]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-bosch:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-bosch]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-comcast:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-comcast]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-dyson:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-dyson]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-espressif:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-espressif]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-google:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-google]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-grundfos:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-grundfos]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-irobot:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-irobot]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-lg:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-lg]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-logitech:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-logitech]
    reviews:
      request: 0 # Requested to be only on demand
  shared-reviewers-nordic:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-nordic]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-nxp:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-nxp]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-samsung:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-samsung]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-eve:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-eve]
    reviews:
      request: 0 # Do not auto-add
  # shared-reviewers-signify disabled for now, because the reviewers-signify
  # team is empty and pullapprove seems to mis-handle that badly and treats
  # _all_ reviewers as being in this group.
  #
  # See https://github.com/dropseed/pullapprove/issues/71
  #
  # shared-reviewers-signify:
  #     type: optional
  #     conditions:
  #         - files.include('*')
  #     reviewers:
  #         teams: [reviewers-signify]
  #     reviews:
  #         request: 0 # Do not auto-add
  shared-reviewers-silabs:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-silabs]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-somfy:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-somfy]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-tcl:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-tcl]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-qorvo:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-qorvo]
    reviews:
      request: 0 # Do not auto-add

  ############################################################
  #  Path specific review requirments. A PR must meet the
  #  review requirements corresponding each path in the
  #  in the CUSTOM_REVIEW_PATHS list that it touches. If it
  #  touches a region not covered by any custom review paths, 
  #  base condition is required.
  ############################################################

  ############################################################
  #  Review requirements for PRs touching scripts/build*.
  #  One shared-reviewers-scripts-build review is sufficient.
  ############################################################
  folder-reviewers-scripts-build:
    type: optional
    conditions:
      - "files.include('scripts/build/*') or files.include('integrations/docker/*')"
    reviewers:
      users:
        - andy31415
    reviews:
      # 1 review request will be sent at a time
      request: 1

  ############################################################
  #  Review requirements for PRs touching examples/chef*
  #  One Googler requirement is sufficient.
  ############################################################
  folder-reviewers-google:
    type: required
    conditions:
      - "files.include('examples/chef/*') or files.include('integrations/cloudbuild/*')"
    requirements:
      - "len(groups.approved.include('shared-reviewers-google')) >= 1 or \
        len(groups.approved.include('shared-reviewers-*')) >= 2"
    reviews:
      required: 0

  ############################################################
  #  Review requirements for PRs touching src/darwin
  #  One Apple review is required.
  ############################################################
  folder-reviewers-src-darwin:
    type: required
    conditions:
      - "files.include('src/darwin/*').exclude('src/darwin/Framework/CHIP/zap-generated/*') or \
        files.include('src/platform/Darwin/*')"
    reviewers:
      teams: [reviewers-apple]
    reviews:
      request: 0
      required: 1
    labels:
      approved: "[Darwin] review - approved"
      pending: "[Darwin] review - pending"
      rejected: "[Darwin] review - changed requested"

  ############################################################
  #  Base Required Reviewers
  ############################################################
  required-reviewers:
    description: >
      [Required
      Reviewers](https://github.com/project-chip/connectedhomeip/blob/master/CONTRIBUTING.md#review-requirements)
      This is the main group of required reviews for general pull
      requests.
    type: required
    conditions:
      # If PR touches a region not covered by any custom review paths, base condition is required.
      - "files\
              .exclude('examples/chef/*')\
              .exclude('integrations/cloudbuild/*')\
              .exclude('src/darwin/*')\
              .exclude('src/platform/Darwin/*') or \
        files.include('src/darwin/Framework/CHIP/zap-generated/*')"
    requirements:
      - len(groups.approved.include('shared-reviewers-*')) >= 2
    reviews:
      required: 0
    labels:
      approved: "review - approved"
      pending: "review - pending"
      rejected: "review - changed requested"

Copy link

pullapprove bot commented May 16, 2025

Copy link
Contributor

@sxb427 sxb427 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3
groups:
version: 3

# https://developer.github.com/v3/previews/#draft-pull-requests
github_api_version: "shadow-cat-preview"

############################################################
#  Overrides
############################################################

overrides:
  - if: "'hotfix' in labels"
    status: success
    explanation: "Hotfix label added, bypassing reviews"

  ############################################################
  #  Draft PRs
  ############################################################
  - if: "draft"
    status: pending
    explanation: "PR is draft, pending review"

  ############################################################
  #  License Checks
  ############################################################
  - if: "'*license/cla*' not in statuses.successful"
    status: pending
    explanation: "CLA must be agreed to by all contributors"

  ############################################################
  #  Conditions to Skip Review
  ############################################################
  - if: "base.ref != 'master'"
    status: success
    explanation: "Review not required unless merging to master"

  ############################################################
  #  Require Issues
  ############################################################
  # disabling until we have PRs up to date
  #     - if: "'*issue*' not in statuses.successful"
  #       status: failure
  #       explanation: "An issue is required for all PRs"

  ############################################################
  #  Fast tracking
  ############################################################
  - if: "'fast track' in labels"
    status: success
    explanation: "PR has been fast tracked, bypassing reviews"

############################################################
#  Notifications
############################################################

notifications:
  ############################################################
  #  New contributors
  ############################################################
  - when: pull_request.opened
    if: "author_association == 'FIRST_TIME_CONTRIBUTOR'"
    comment: |
      Hey @{{ author }}, thanks for the PR! The review will start once
      the tests and CI checks have passed. If they don't, please review
      the logs and try to fix the issues (ask for help if you can't
      figure it out). A reviewer will be assigned once the tests are
      passing and they'll walk you through getting the PR finished
      and merged.

groups:
  ############################################################
  #  Shared Reviewer Groups
  ############################################################
  shared-reviewers-amazon:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-amazon]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-apple:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-apple]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-bosch:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-bosch]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-comcast:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-comcast]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-dyson:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-dyson]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-espressif:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-espressif]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-google:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-google]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-grundfos:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-grundfos]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-irobot:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-irobot]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-lg:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-lg]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-logitech:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-logitech]
    reviews:
      request: 0 # Requested to be only on demand
  shared-reviewers-nordic:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-nordic]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-nxp:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-nxp]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-samsung:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-samsung]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-eve:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-eve]
    reviews:
      request: 0 # Do not auto-add
  # shared-reviewers-signify disabled for now, because the reviewers-signify
  # team is empty and pullapprove seems to mis-handle that badly and treats
  # _all_ reviewers as being in this group.
  #
  # See https://github.com/dropseed/pullapprove/issues/71
  #
  # shared-reviewers-signify:
  #     type: optional
  #     conditions:
  #         - files.include('*')
  #     reviewers:
  #         teams: [reviewers-signify]
  #     reviews:
  #         request: 0 # Do not auto-add
  shared-reviewers-silabs:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-silabs]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-somfy:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-somfy]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-tcl:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-tcl]
    reviews:
      request: 0 # Do not auto-add
  shared-reviewers-qorvo:
    type: optional
    conditions:
      - files.include('*')
    reviewers:
      teams: [reviewers-qorvo]
    reviews:
      request: 0 # Do not auto-add

  ############################################################
  #  Folder specific review requirements. A PR must meet all
  #  folder specific review requirements for all folders that
  #  it touches with specific requirements defined.
  ############################################################

  folder-reviewers-scripts-build-integrations-docker:
    type: optional
    conditions:
      - "files.include('scripts/build/*') or files.include('integrations/docker/*')"
    reviewers:
      users:
        - andy31415
    reviews:
      # 1 review request will be sent at a time
      request: 1

  folder-reviewers-google:
    type: required
    conditions:
      - "files.include('examples/chef/*') or files.include('integrations/cloudbuild/*')"
    requirements:
      - "len(groups.approved.include('shared-reviewers-google')) >= 1 or \
        len(groups.approved.include('shared-reviewers-*')) >= 2"
    reviews:
      required: 0

  folder-reviewers-apple:
    type: required
    conditions:
      - "files.include('src/darwin/*').exclude('src/darwin/Framework/CHIP/zap-generated/*') or \
        files.include('src/platform/Darwin/*')"
    reviewers:
      teams: [reviewers-apple]
    reviews:
      request: 0
      required: 1

  ############################################################
  #  Base Required Reviewers. If PR touches a path not covered
  #  by any folder specific review requirements.
  ############################################################
  required-reviewers:
    description: >
      [Required
      Reviewers](https://github.com/project-chip/connectedhomeip/blob/master/CONTRIBUTING.md#review-requirements)
      This is the main group of required reviews for general pull
      requests.
    type: required
    conditions:
      # If PR touches a region not covered by any custom review paths, base condition is required.
      - "files\
              .exclude('examples/chef/*')\
              .exclude('integrations/cloudbuild/*')\
              .exclude('src/darwin/*')\
              .exclude('src/platform/Darwin/*') or \
        files.include('src/darwin/Framework/CHIP/zap-generated/*')"
    requirements:
      - len(groups.approved.include('shared-reviewers-*')) >= 2
    reviews:
      required: 0
    labels:
      approved: "review - approved"
      pending: "review - pending"
      rejected: "review - changed requested"

Copy link

pullapprove bot commented May 16, 2025

gmarcosb added a commit to gmarcosb/connectedhomeip that referenced this pull request May 19, 2025
gmarcosb added a commit to gmarcosb/connectedhomeip that referenced this pull request May 19, 2025
gmarcosb added a commit to gmarcosb/connectedhomeip that referenced this pull request May 19, 2025
gmarcosb added a commit to gmarcosb/connectedhomeip that referenced this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

AccessingFabricIndex should be available for all commands
6 participants