Repository navigation
fix: make sdk.current nullable and guard its call sites #7587
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
Merged
diegolmello
merged 33 commits into
new-sdk
from
diegolmello/finding-09-sdk-current-nullable
Aug 24, 2026
Merged
Changes from 2 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
36abbfa
fix: make sdk.current nullable and guard its call sites
diegolmello a6cec3d
Merge branch 'new-sdk' into diegolmello/finding-09-sdk-current-nullable
diegolmello c4359c3
refactor: close the Sdk facade and drop sdk.current
diegolmello 3df507b
Merge remote-tracking branch 'origin/new-sdk' into diegolmello/findin…
diegolmello 222bc93
fix: drop stream frames and skip logout when the client is absent
diegolmello 2feecf3
refactor: make the absent-client outcome explicit at each guard
diegolmello 02f517e
test: tighten the host-guard assertions
diegolmello 2444269
fix: forget the cached push tokens even with no client to delete them…
diegolmello 3cc3018
fix: forget the cached push tokens unconditionally
diegolmello 041bfe2
Merge remote-tracking branch 'origin/new-sdk' into diegolmello/findin…
diegolmello 2685cb2
fix: forget the cached push tokens only when a device token exists
diegolmello f510e6e
fix: drop media signals produced after the client is gone
diegolmello 48f1c48
refactor: ask for client presence through a single predicate
diegolmello e739ec2
test: build driver-shaped doubles from the shared SDK harness
diegolmello 0390bcf
test: cover the absent-client logout and the matching-host frame
diegolmello b2836f3
refactor: name the absent connection in the triggerAction failure
diegolmello 69f6e38
refactor: name the facade predicate for what it reports
diegolmello e2683de
test: drop the sdk double's getter for a removed property
diegolmello f5a9592
test: drop the unreachable rejection from the media-signal double
diegolmello 588ed43
refactor: keep the sdk client and its driver behind the facade
diegolmello cf0e933
fix: read the subscribed host once when starting the rooms subscription
diegolmello b18d920
refactor: name the driver contract for what it is and check it agains…
diegolmello d2653fe
fix: drop rooms frames that arrive with no subscribed host
diegolmello 6ca5377
refactor: annotate the abort exits like the disconnect beside them
diegolmello 79a721b
test: drop the unread client predicate from the rooms host-guard double
diegolmello 0582ad7
refactor: read the subscribed host the same way in both rooms guards
diegolmello d39a54a
refactor: name the sdk predicate for the initialization it reports
diegolmello 24ac770
test: build the inline sdk doubles from the shared mock
diegolmello 458f54b
refactor: gate rooms frames on the subscribed server itself
diegolmello 87f771f
docs: say what triggerAction needs and stop naming a gone accessor
diegolmello 492a9be
refactor: read the subscribed host directly and restore the no-socket…
diegolmello 9d12bd3
refactor: name the subscribed host and the mock driver for what they are
diegolmello dd06ba5
refactor: inline the sdk mock's member constraint
diegolmello File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.