-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Handle an (invalid) empty InvokeResponses list. #25197
Merged
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:handle-invalid-empty-command-response-list
Feb 23, 2023
Merged
Handle an (invalid) empty InvokeResponses list. #25197
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:handle-invalid-empty-command-response-list
Feb 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Without this change, InvokeInteraction could end up not calling either of its callbacks if the server responded with an empty InvokeResponses list.
pullapprove
bot
requested review from
amitnj,
andy31415,
anush-apple,
arkq,
Byungjoo-Lee,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
CodeChronos928,
Damian-Nordic,
dhrishi,
electrocucaracha,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
jtung-apple,
kkasperczyk-no,
ksperling-apple,
lazarkov,
lpbeliveau-silabs and
LuDuda
February 20, 2023 17:46
pullapprove
bot
requested review from
pjzander-signify,
robszewczyk,
saurabhst,
selissia,
tecimovic,
tehampson,
vijs,
vivien-apple,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
February 20, 2023 17:46
PR #25197: Size comparison from e0e3225 to 385a6ed Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this pull request
Feb 20, 2023
* Fix MTRInvokeCallback to guarantee callback delivery, similar to project-chip#25197 * Fix NSObjectCommandCallback to guarantee callback delivery and ensure that it only calls a single callback. * Simplify the logic in invokeCommandWithEndpointID by relying on the now-enforced invariants around callbacks. * Document how errors are delivered for invokeCommandWithEndpointID.
yufengwangca
approved these changes
Feb 21, 2023
andy31415
approved these changes
Feb 22, 2023
bzbarsky-apple
added a commit
that referenced
this pull request
Feb 22, 2023
…25199) * Fix MTRInvokeCallback to guarantee callback delivery, similar to #25197 * Fix NSObjectCommandCallback to guarantee callback delivery and ensure that it only calls a single callback. * Simplify the logic in invokeCommandWithEndpointID by relying on the now-enforced invariants around callbacks. * Document how errors are delivered for invokeCommandWithEndpointID.
jmartinez-silabs
approved these changes
Feb 23, 2023
bzbarsky-apple
deleted the
handle-invalid-empty-command-response-list
branch
February 23, 2023 16:02
kkasperczyk-no
pushed a commit
to kkasperczyk-no/sdk-connectedhomeip
that referenced
this pull request
Mar 15, 2023
…#25199) * Fix MTRInvokeCallback to guarantee callback delivery, similar to project-chip/connectedhomeip#25197 * Fix NSObjectCommandCallback to guarantee callback delivery and ensure that it only calls a single callback. * Simplify the logic in invokeCommandWithEndpointID by relying on the now-enforced invariants around callbacks. * Document how errors are delivered for invokeCommandWithEndpointID.
kkasperczyk-no
pushed a commit
to kkasperczyk-no/sdk-connectedhomeip
that referenced
this pull request
Mar 15, 2023
…#25199) * Fix MTRInvokeCallback to guarantee callback delivery, similar to project-chip/connectedhomeip#25197 * Fix NSObjectCommandCallback to guarantee callback delivery and ensure that it only calls a single callback. * Simplify the logic in invokeCommandWithEndpointID by relying on the now-enforced invariants around callbacks. * Document how errors are delivered for invokeCommandWithEndpointID.
lecndav
pushed a commit
to lecndav/connectedhomeip
that referenced
this pull request
Mar 22, 2023
…roject-chip#25199) * Fix MTRInvokeCallback to guarantee callback delivery, similar to project-chip#25197 * Fix NSObjectCommandCallback to guarantee callback delivery and ensure that it only calls a single callback. * Simplify the logic in invokeCommandWithEndpointID by relying on the now-enforced invariants around callbacks. * Document how errors are delivered for invokeCommandWithEndpointID.
lecndav
pushed a commit
to lecndav/connectedhomeip
that referenced
this pull request
Mar 22, 2023
Without this change, InvokeInteraction could end up not calling either of its callbacks if the server responded with an empty InvokeResponses list.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Without this change, InvokeInteraction could end up not calling either of its callbacks if the server responded with an empty InvokeResponses list.