-
Notifications
You must be signed in to change notification settings - Fork 11
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
at_lookup causes a crash when lookups fail to root (possibly other places too) #156
Comments
@VJag would love your thoughts on this one and how to handle gracefully at the @ platform level.. Thanks |
I will certainly analyse. |
@cconstab I have captured my analysis here: https://docs.google.com/spreadsheets/d/1KE22RrWzIKPvR1NTDZWKcfaU1sFnCEhJeHoDYjd3QBA/edit?usp=sharing In the "Network usage analysis" tab I tried to capture the network usage, in the "Solution" tab tried to capture the new abstraction I am trying to propose. Please let me know if my analysis is in line what was expected. |
Dealing with on/off and intermittent network needs to be core to @.. it's important in mobile but critical in IoT . I think this needs to be looked at this sprint.. Thoughts ? |
I agree. Every network-related error needs to have clearly defined predictable well-tested behaviour, and also have reliable predictable well tested behaviour on reconnect I'd like the focus for this sprint to be
The problems which we discovered in e2e tests this week are most easily discovered in unit tests where you can more easily control the environment by plugging in stubs and mocks. This is especially true for network interactions. |
I'd add
|
Tagging @sarika01 also. Making all of this happen will need close collaboration across all of the engineers irrespective of whether they've been more focussed on apps or client SDK or server - the more cross-pollination that happens, the better. It'd be great to see 'core' developers working on app widgets and 'app' developers working on 'core' libraries! |
Describe the bug
If a device is offline then at_lookup can cause the application to crash rather than wait for connectivity to come back. Looks to be a failure in name lookup in this case but if the network is down nothing @ should crash it should wait until network is available..
To Reproduce
Steps to reproduce the behavior:
Expected behavior
@ apps should never crash and should handle being offline gracefully and reconnect when possible
Screenshots
Additional context
This is critically important for IoT use cases and also for mobile apps
The text was updated successfully, but these errors were encountered: