Skip to content
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

Test Network Functionalities and Fix Related Bugs #8568

Merged
merged 34 commits into from Apr 4, 2024

Conversation

khoaguin
Copy link
Member

@khoaguin khoaguin commented Mar 12, 2024

Description

Testing Syft's networking functionalities, including

  • Launching a gateway node
  • Connecting to a gateway from domain nodes
  • Listing gateways with sy.gateways and domains with sy.domains
  • Searching datasets via the gateway with sy.search using ThreadPoolExecutor
  • Gateway client obtains a ProxyClient to the domain client
  • Add an environment variable which lets us inject a json string for the network registry which gets used instead of the url on startup for testing purposes

And also fix related bugs (https://github.com/OpenMined/Heartbeat/issues/1140) and some improvements (https://github.com/OpenMined/Heartbeat/issues/1139)

How has this been tested?

Added some integration tests in tests/integration/network/gateway_test.py

when launching gateway nodes
@khoaguin

This comment was marked as resolved.

khoaguin and others added 2 commits March 12, 2024 15:15
`sy.gateways` and `sy.domains`
- on fixing bugs for `sy.domains`

Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
khoaguin and others added 2 commits March 14, 2024 08:51
@khoaguin

This comment was marked as outdated.

@khoaguin

This comment was marked as outdated.

@khoaguin khoaguin self-assigned this Mar 15, 2024
be accessible by guest so that `sy.search<dataset_name>` works
@khoaguin

This comment was marked as outdated.

@khoaguin khoaguin changed the title [WIP] Test Network Functionalities and Fix Related Bugs Test Network Functionalities and Fix Related Bugs Mar 15, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

khoaguin and others added 5 commits March 19, 2024 14:48
to the domain in `test_dataset_search`

Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
delete dataset service. Change its use in `gateway_test`
integration test accordingly
@madhavajay madhavajay added 0.8.7 and removed 0.8.6 labels Apr 4, 2024
@shubham3121
Copy link
Member

Nice work @khoaguin with the fixes !!

@shubham3121 shubham3121 merged commit cbfd82c into OpenMined:dev Apr 4, 2024
32 checks passed
@khoaguin khoaguin deleted the network-test branch April 4, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants