-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Define new JF server variables for JF Admins only #39095
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
base: master
Are you sure you want to change the base?
Conversation
"JointFabricDatastore.cpp", | ||
"JointFabricDatastore.h", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't these need to get removed from the unconditional list above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these indepenent enough to be placed in a separate source_set and have a deps dependency so we can enforce #include
logic? Would probably require a //nogncheck
comment on the include that is guarded by ifdefs, however that seems desirable to enforce header dependency by GN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes have been moved under chip_device_config_enable_joint_fabric flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see #38842 got through without unit testing.
Please apply these changes:
- use a source_set for these 2 files (so it can be referenced individually)
- add unit tests in a src/app/server/tests . Reference the source set so you can write the unit test
PR #39095: Size comparison from b996746 to f5f14f9 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39095: Size comparison from 08eb175 to f6ec315 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39095: Size comparison from 05e766b to 0def7e7 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@@ -120,6 +120,11 @@ declare_args() { | |||
} | |||
} | |||
|
|||
declare_args() { | |||
# Enable Joint Fabric features | |||
chip_device_config_enable_joint_fabric = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to introduce this in context of #38749 - which has been merged, Need to rebase this PR on latest master.
The new server variables introduced in PR #38842 are only needed for JF admins and should not be exposed to all devices.
Addresses #39093
Testing
Verify if the server variables are available only if for JF Admins