Merge upstream preserve features#76
Open
maattm wants to merge 121 commits into
Open
Conversation
Updated docker-compose.yaml to use env_file for environment variables.
Update STORAGE_API_ROOT with the new URL.
Adding !tr details to supported commands
The -tr responder to request a traceroute was updated to include the full traceroute details in both directions as a DM
TCP-Procy functionality was added to allow the meshtastic-bot to connect to my wifi node and also allow other applications e.g. Home Assistant and Android App to also connect
…and improve error logging.
- **TCP Proxy**: Completely rewritten to use Python's `asyncio` event loop, replacing blocking sockets and `time.sleep` loops. Resolves thread exhaustion and packet framing deadlocks. - **Database Thread-Safety**: SQLite connections now use `check_same_thread=False` protected by a global `threading.RLock()` across the Data Access Objects to prevent 'database is locked' corruption. - **Error Handling**: Narrowed overly broad `Exception` catch-alls in proxy, api wrappers, and pub/sub interfaces to log `exc_info=True` for unexpected errors, and handle timeouts gracefully. - **Tests**: Updated `test_tcp_proxy.py` to test asyncio coroutines properly.
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
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.
# Summary
Testing performed