Skip to content

Conversation

@marktrayer
Copy link
Contributor

@marktrayer marktrayer commented Oct 9, 2025

Summary

PushAV doesn't apply privacy to an allocate
On a manual trigger privacy applied is stream usage dependent, add that logic.
On a transport change to Active, any privacy present will prevent

Fixes #41397

Related issues

Testing

PAVST 2.3, 2.6, and 2.7 via the Python Runner

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase

See: Pull Request Guidelines

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

PR #41378: Size comparison from e2f86ee to 490bb25

Full report (5 builds for cc32xx, realtek, stm32)
platform target config section e2f86ee 490bb25 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554146 554146 0 0.0
RAM 204976 204976 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586862 586862 0 0.0
RAM 205208 205208 0 0.0
realtek light-switch-app rtl8777g FLASH 705360 705360 0 0.0
RAM 106776 106776 0 0.0
lighting-app rtl8777g FLASH 756560 756560 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469028 469028 0 0.0
RAM 141200 141200 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

PR #41378: Size comparison from e2f86ee to 5263b84

Full report (3 builds for cc32xx, stm32)
platform target config section e2f86ee 5263b84 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554146 554146 0 0.0
RAM 204976 204976 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586862 586862 0 0.0
RAM 205208 205208 0 0.0
stm32 light STM32WB5MM-DK FLASH 469028 469028 0 0.0
RAM 141200 141200 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

PR #41378: Size comparison from e2f86ee to 3c76260

Full report (31 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section e2f86ee 3c76260 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105398 1105398 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659886 659886 0 0.0
RAM 134817 134817 0 0.0
bl702+wifi FLASH 835970 835970 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069106 1069106 0 0.0
RAM 117133 117133 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899320 899320 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981868 981868 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769396 769396 0 0.0
RAM 103200 103200 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781040 781040 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727028 727028 0 0.0
RAM 97268 97268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711496 711496 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554146 554146 0 0.0
RAM 204976 204976 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586862 586862 0 0.0
RAM 205208 205208 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1789684 1790118 434 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929632 929984 352 0.0
RAM 160987 160987 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1671708 1672060 352 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589524 1589524 0 0.0
RAM 210332 210332 0 0.0
light cy8ckit_062s2_43012 FLASH 1456340 1456340 0 0.0
RAM 197056 197056 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488668 1488668 0 0.0
RAM 224768 224768 0 0.0
qpg lighting-app qpg6200+debug FLASH 835384 835384 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772132 772132 0 0.0
RAM 118572 118572 0 0.0
realtek light-switch-app rtl8777g FLASH 705360 705360 0 0.0
RAM 106776 106776 0 0.0
lighting-app rtl8777g FLASH 756560 756560 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469028 469028 0 0.0
RAM 141200 141200 0 0.0
telink bridge-app tl7218x FLASH 708400 708400 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795932 795932 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787128 787128 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713934 713934 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747238 747238 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724090 724090 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601358 601358 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819748 819752 4 0.0
RAM 91948 91948 0 0.0

@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

❌ Patch coverage is 43.24324% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.95%. Comparing base (876fcf5) to head (db1e8ea).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ransport-server/push-av-stream-transport-logic.cpp 53.33% 14 Missing ⚠️
...mon/src/push-av-stream-transport-delegate-impl.cpp 0.00% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #41378   +/-   ##
=======================================
  Coverage   50.95%   50.95%           
=======================================
  Files        1378     1378           
  Lines      100642   100660   +18     
  Branches    13026    13028    +2     
=======================================
+ Hits        51282    51292   +10     
- Misses      49360    49368    +8     

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

@marktrayer marktrayer marked this pull request as ready for review October 9, 2025 22:04
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

PR #41378: Size comparison from e2f86ee to 73f23e9

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section e2f86ee 73f23e9 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105398 1105398 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659886 659886 0 0.0
RAM 134817 134817 0 0.0
bl702+wifi FLASH 835970 835970 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069106 1069106 0 0.0
RAM 117133 117133 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899320 899320 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981868 981868 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769396 769396 0 0.0
RAM 103200 103200 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781040 781040 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727028 727028 0 0.0
RAM 97268 97268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711496 711496 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554146 554146 0 0.0
RAM 204976 204976 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586862 586862 0 0.0
RAM 205208 205208 0 0.0
efr32 lock-app BRD4187C FLASH 961136 961136 0 0.0
RAM 126224 126224 0 0.0
BRD4338a FLASH 755880 755872 -8 -0.0
RAM 255500 255500 0 0.0
window-app BRD4187C FLASH 1055476 1055476 0 0.0
RAM 122420 122420 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1789684 1790118 434 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929632 929984 352 0.0
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691768 691768 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723336 723336 0 0.0
RAM 68092 68092 0 0.0
lock mcxw71+release FLASH 770560 770560 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1671708 1672060 352 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589524 1589524 0 0.0
RAM 210332 210332 0 0.0
light cy8ckit_062s2_43012 FLASH 1456340 1456340 0 0.0
RAM 197056 197056 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488668 1488668 0 0.0
RAM 224768 224768 0 0.0
qpg lighting-app qpg6200+debug FLASH 835384 835384 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772132 772132 0 0.0
RAM 118572 118572 0 0.0
realtek light-switch-app rtl8777g FLASH 705360 705360 0 0.0
RAM 106776 106776 0 0.0
lighting-app rtl8777g FLASH 756560 756560 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469028 469028 0 0.0
RAM 141200 141200 0 0.0
telink bridge-app tl7218x FLASH 708400 708400 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795932 795932 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787128 787128 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713934 713934 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747238 747238 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724090 724090 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601358 601358 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819748 819752 4 0.0
RAM 91948 91948 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 10, 2025

PR #41378: Size comparison from e2f86ee to 9480cef

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section e2f86ee 9480cef change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105398 1105396 -2 -0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659886 659886 0 0.0
RAM 134817 134817 0 0.0
bl702+wifi FLASH 835970 835970 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069106 1069104 -2 -0.0
RAM 117133 117133 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899320 899318 -2 -0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981868 981866 -2 -0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769396 769396 0 0.0
RAM 103200 103200 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781040 781040 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727028 727028 0 0.0
RAM 97268 97268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711496 711496 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554146 554146 0 0.0
RAM 204976 204976 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586862 586862 0 0.0
RAM 205208 205208 0 0.0
efr32 lock-app BRD4187C FLASH 961136 961136 0 0.0
RAM 126224 126224 0 0.0
BRD4338a FLASH 755880 755872 -8 -0.0
RAM 255500 255500 0 0.0
window-app BRD4187C FLASH 1055476 1055476 0 0.0
RAM 122420 122420 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1789684 1790118 434 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929632 929984 352 0.0
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691768 691768 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723336 723336 0 0.0
RAM 68092 68092 0 0.0
lock mcxw71+release FLASH 770560 770560 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1671708 1672060 352 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589524 1589524 0 0.0
RAM 210332 210332 0 0.0
light cy8ckit_062s2_43012 FLASH 1456340 1456340 0 0.0
RAM 197056 197056 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488668 1488668 0 0.0
RAM 224768 224768 0 0.0
qpg lighting-app qpg6200+debug FLASH 835384 835384 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772132 772132 0 0.0
RAM 118572 118572 0 0.0
realtek light-switch-app rtl8777g FLASH 705360 705360 0 0.0
RAM 106776 106776 0 0.0
lighting-app rtl8777g FLASH 756560 756560 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469028 469028 0 0.0
RAM 141200 141200 0 0.0
telink bridge-app tl7218x FLASH 708400 708400 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795932 795932 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787128 787128 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713934 713934 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747238 747238 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724090 724090 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601358 601358 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819748 819752 4 0.0
RAM 91948 91948 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 10, 2025

PR #41378: Size comparison from 876fcf5 to db1e8ea

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 876fcf5 db1e8ea change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105404 1105404 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659894 659894 0 0.0
RAM 134825 134825 0 0.0
bl702+wifi FLASH 835978 835978 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069112 1069112 0 0.0
RAM 117141 117141 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899326 899326 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981874 981874 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 769432 0 0.0
RAM 103208 103208 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 781076 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727072 0 0.0
RAM 97276 97276 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 711540 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554154 554154 0 0.0
RAM 204984 204984 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586870 586870 0 0.0
RAM 205208 205208 0 0.0
efr32 lock-app BRD4187C FLASH 961168 961168 0 0.0
RAM 126228 126228 0 0.0
BRD4338a FLASH 755896 755888 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055508 1055508 0 0.0
RAM 122424 122424 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1789680 1790114 434 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929620 929972 352 0.0
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691800 691800 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723368 723368 0 0.0
RAM 68100 68100 0 0.0
lock mcxw71+release FLASH 770592 770592 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1671708 1672060 352 0.0
RAM 213060 213060 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589524 1589524 0 0.0
RAM 210340 210340 0 0.0
light cy8ckit_062s2_43012 FLASH 1456356 1456356 0 0.0
RAM 197056 197056 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488668 1488668 0 0.0
RAM 224768 224768 0 0.0
qpg lighting-app qpg6200+debug FLASH 835432 835432 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772180 772180 0 0.0
RAM 118580 118580 0 0.0
realtek light-switch-app rtl8777g FLASH 705368 705368 0 0.0
RAM 106784 106784 0 0.0
lighting-app rtl8777g FLASH 756568 756568 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469068 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 708408 708408 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 795940 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787136 787136 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 713942 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 747246 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 724098 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 601366 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 819760 4 0.0
RAM 91948 91948 0 0.0

@andy31415
Copy link
Contributor

Darwin is backlogged and we are nearing build cutoff. Merging without waiting for darwin framework tests as this PR is unlikely to affect the darwin framework anyway. REPL tests would have caught issues if those apply.

@andy31415 andy31415 merged commit 483ccf9 into project-chip:master Oct 10, 2025
74 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.

test_TC_PAVSTI_1_2 is flaky (Invalid state 0xCB)

7 participants