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

Address followup issues for preset/atomic-write implementation. #35175

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

bzbarsky-apple
Copy link
Contributor

  • Puts some file-local functions in an anonymous namespace.
  • Fixes the "is this attribute supported?" check to correctly check for global attributes that are not in Ember metadata.
  • Moves the comment explaining why it's OK to skip the spec-required ACL check to the place where that check is being skipped.
  • Removes a non-spec-compliant "error if the timeout is 0" bit.

Fixes #35168

* Puts some file-local functions in an anonymous namespace.
* Fixes the "is this attribute supported?" check to correctly check for global
  attributes that are not in Ember metadata.
* Moves the comment explaining why it's OK to skip the spec-required ACL check
  to the place where that check is being skipped.
* Removes a non-spec-compliant "error if the timeout is 0" bit.

Fixes project-chip#35168
Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Aug 23, 2024

PR #35175: Size comparison from c17fd97 to a83562d

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c17fd97 a83562d change % change
bl602 lighting-app bl602 FLASH 1278596 1278596 0 0.0
RAM 95880 95880 0 0.0
bl602+mfd FLASH 1292706 1292706 0 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1317560 1317560 0 0.0
RAM 104304 104304 0 0.0
bl702 lighting-app bl702 FLASH 944224 944224 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946624 946624 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039536 1039536 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647296 647296 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894668 894668 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 960884 960884 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963506 963506 0 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672457 672457 0 0.0
RAM 78300 78300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649253 649253 0 0.0
RAM 73368 73368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610969 610969 0 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629001 629001 0 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 602997 602909 -88 -0.0
RAM 68348 68348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 622849 622761 -88 -0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 622849 622761 -88 -0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 930500 930500 0 0.0
RAM 135096 135096 0 0.0
lock-app BRD4338a FLASH 740740 740732 -8 -0.0
RAM 208488 208488 0 0.0
window-app BRD4187C FLASH 1015656 1015656 0 0.0
RAM 127036 127036 0 0.0
esp32 all-clusters-app c3devkit DRAM 94200 94200 0 0.0
FLASH 1533884 1533778 -106 -0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1543802 1543734 -68 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2757863 2757863 0 0.0
RAM 128472 128472 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6045356 6045398 42 0.0
RAM 509992 509992 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5380702 5380702 0 0.0
RAM 240200 240200 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4729896 4729896 0 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12647116 12647116 0 0.0
RAM 558290 558290 0 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11319484 11319484 0 0.0
RAM 608336 608336 0 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10926467 10926467 0 0.0
RAM 556490 556490 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4551322 4551322 0 0.0
RAM 203680 203680 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5665937 5665937 0 0.0
RAM 228008 228008 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4785242 4785242 0 0.0
RAM 203736 203736 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4424716 4424716 0 0.0
RAM 197720 197720 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4563334 4563334 0 0.0
RAM 202256 202256 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3083693 3083725 32 0.0
RAM 159000 159000 0 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4321052 4321212 160 0.0
RAM 241848 241848 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6009589 6009589 0 0.0
RAM 583192 583192 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10851901 10851901 0 0.0
RAM 645720 645720 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910400 910308 -92 -0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882164 882200 36 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841140 841124 -16 -0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577580 577580 0 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590208 590208 0 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613008 613008 0 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 674880 674880 0 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1641108 1641148 40 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1544532 1544532 0 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1464364 1464364 0 0.0
RAM 200728 200728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463412 1463412 0 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 656068 656068 0 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 613992 613992 0 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478424 478424 0 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620280 620280 0 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 682164 682050 -114 -0.0
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 774220 774204 -16 -0.0
RAM 110712 110712 0 0.0
bridge-app tlsr9258a FLASH 679010 679010 0 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621872 621872 0 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707768 707768 0 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620600 620600 0 0.0
RAM 145532 145532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806732 806732 0 0.0
RAM 99456 99456 0 0.0
lock-app-dfu tlsr9528a FLASH 654854 654854 0 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697026 0 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631318 631318 0 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608828 608828 0 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466816 466816 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628662 628662 0 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652698 652698 0 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635248 635134 -114 -0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522814 522814 0 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4832 4832 0 0.0
FLASH 1706800 1706880 80 0.0
RAM 89340 89340 0 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17492462 17492462 0 0.0
RAM 7599476 7599476 0 0.0

@mergify mergify bot merged commit c1b3304 into project-chip:master Aug 23, 2024
67 checks passed
@bzbarsky-apple bzbarsky-apple deleted the thermostat-followups branch August 23, 2024 17:20
PeterC1965 pushed a commit to PeterC1965/connectedhomeip that referenced this pull request Aug 28, 2024
…ect-chip#35175)

* Puts some file-local functions in an anonymous namespace.
* Fixes the "is this attribute supported?" check to correctly check for global
  attributes that are not in Ember metadata.
* Moves the comment explaining why it's OK to skip the spec-required ACL check
  to the place where that check is being skipped.
* Removes a non-spec-compliant "error if the timeout is 0" bit.

Fixes project-chip#35168
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.

Address followup comments on atomic write error handling PR
3 participants