-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Adding ModeTag list validation #41541
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
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.
Code Review
This pull request adds a validation check to ensure there are no duplicate ModeTag values within the modeTags list for each supported mode in the ModeBase cluster. The implementation correctly uses a list-to-set comparison to detect duplicates, which is an efficient and idiomatic Python approach. The corresponding docstring has also been updated to reflect this new validation. The changes are clear, correct, and improve the robustness of the test. No issues were found.
|
PR #41541: Size comparison from c1f377d to 5a3cf66 Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41541 +/- ##
=======================================
Coverage 51.05% 51.05%
=======================================
Files 1385 1385
Lines 100882 100882
Branches 13055 13055
=======================================
+ Hits 51508 51509 +1
+ Misses 49374 49373 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
PR #41541: Size comparison from 4f17295 to 33270a1 Full report (36 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nxp, psoc6, qpg, realtek, stm32, telink)
|
This PR fixes #11767
Test plan update: https://github.com/CHIP-Specifications/chip-test-plans/pull/5632
Adds a duplication
modeTagvalidation inModeOptionStruct.Testing
Terminal 1:
Terminal 2: