Offline support (unit tests)
Closed this issue · 2 comments
NeonDaniel commented
Currently, skills service waits infinitely for a network connection. Need to add some method to optionally run fully offline. A few possible components to this:
- timeout the connection wait in skills service
- Add a config flag to disable online wait entirely
- Implement neon_utils checks with configurable URL endpoints
- Unit Tests
NeonDaniel commented
Looks like functionality exists in HolmesV to disable this wait https://github.com/HelloChatterbox/HolmesV/blob/76a903e81d7a51aef1de5edf8e0b90c7f53f9b45/mycroft/skills/__main__.py#L235
Will implement this in Neon for config compatibility
NeonDaniel commented
This is out of scope and now is handled in ovos-core and ovos-PHAL-plugin-connectivity-events