[Dynamic Lighting cluster] Add code-driven server layout#72744
[Dynamic Lighting cluster] Add code-driven server layout#72744Yuri-Chenyu wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the server-side implementation of the provisional DynamicLighting cluster, including its data model definitions, codegen integration, build configurations, and unit tests. The review feedback highlights a critical potential out-of-bounds array access in CodegenIntegration.cpp that requires defensive bounds checking, a build system structure violation in app_config_dependent_sources.cmake regarding which source files should be listed, and a minor recommendation to use more idiomatic C++ value-initialization for nullable types in DynamicLightingCluster.cpp.
5b5c989 to
718fba2
Compare
|
PR #72744: Size comparison from 413ff63 to 718fba2 Full report (31 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, psoc6, qpg, realtek, stm32, telink)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #72744 +/- ##
==========================================
+ Coverage 56.79% 56.81% +0.01%
==========================================
Files 1642 1644 +2
Lines 112757 112808 +51
Branches 13139 13139
==========================================
+ Hits 64040 64091 +51
Misses 48717 48717 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
fb1705f to
842cbb6
Compare
|
PR #72744: Size comparison from 413ff63 to 842cbb6 Full report (33 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
|
|
@andy31415 All checks are passing now after rebasing and resolving the build graph conflict. Could you please review when you have time? |
Summary
Add the initial code-driven Dynamic Lighting server layout.
This includes server registration through
CodegenClusterIntegration, all-clusters app wiring, mandatory attribute exposure, accepted command exposure, and placeholder read/write/command behavior.Full effect state management, delegate-backed behavior, complete
CurrentSpeedwrite semantics, cross-cluster lighting interactions, and chip-tool/client support will be added in follow-up PRs.Related issues
None.
Testing
TestDynamicLightingClusterTestDynamicLightingClusterchip-all-clusters-appbuild