Skip to content

Merge upstream preserve features#1

Merged
maattm merged 106 commits into
mainfrom
merge-upstream-preserve-features
Mar 28, 2026
Merged

Merge upstream preserve features#1
maattm merged 106 commits into
mainfrom
merge-upstream-preserve-features

Conversation

@maattm
Copy link
Copy Markdown
Collaborator

@maattm maattm commented Mar 28, 2026

No description provided.

Meshtastic Bot added 30 commits February 12, 2026 09:47
… support and add configurable node total broadcast channel
…ays, and reset buffers on target reconnect
…d resolve 'Firmware Update Required' error
…, and skip history replay for local bot client
pskillen-nes and others added 28 commits March 12, 2026 12:21
- Added MeshflowWSClient to handle WebSocket connections and receive commands.
- Integrated traceroute command handling in MeshtasticBot.
- Updated .env.example with new configuration options for Meshflow API.
- Added websockets dependency to requirements.txt.
- Created traceroute.py for managing traceroute requests and responses.
…et-commands

feat: add websocket support to rcv commands from server, TR command
- Updated the traceroute command handling in MeshflowWSClient to execute in a separate thread.
- Added a callback to log warnings if the traceroute task fails.
…g-tr-command

feat: run traceroute command in a separate thread to prevent blocking
…ding

- Bumped base image version from python:3.12 to python:3.14 in Dockerfile.
- Introduced VERSION argument in Dockerfile for better version management.
- Refactored docker-build workflow to use new VERSION_LABEL input and removed unnecessary inputs.
- Enhanced multi-architecture image building and tagging logic in workflows.
- Deleted obsolete manual-release workflow to streamline CI/CD process.
- Introduced a new GitHub Actions workflow for the 'dev' branch to automate the build process.
- Added a job to extract a short SHA for version labeling.
- Refactored the tagging job in the docker build workflow for clarity and updated the image cleanup action to a new version.
- Streamlined the cleanup process to ensure it runs conditionally based on the success of the build.
- Updated the GitHub Actions workflow to support multi-architecture builds for both linux/amd64 and linux/arm64.
- Introduced a matrix strategy for build jobs to enhance flexibility and maintainability.
- Added steps to export and upload image digests as artifacts.
- Streamlined tagging logic for different environments (dev, preprod, prod) based on digest references.
- Added concurrency settings to the pull request workflow to group and cancel in-progress jobs based on the pull request number, improving resource management and efficiency.
…cker-build

ci: refactor Docker build workflow for multi-architecture support
- Updated .env.example to include IGNORE_PORTNUMS for configurable portnums to skip.
- Refactored MeshtasticBot to utilize IGNORE_PORTNUMS, preventing API submissions for specified portnums.
- Enhanced main.py to initialize ignore_portnums from environment variable.
- Added checks for decoded data in MeshtasticBot to skip API submissions when necessary.
- Improved error logging in StorageAPI to provide clearer messages for HTTP errors and general exceptions.
- Ensured failed packets are dumped to a .json file upon encountering errors during storage.
- Added TEXT_MESSAGE_MAX_HOPS to .env.example for configurable max hops in text messages.
- Updated base_feature.py to utilize TEXT_MESSAGE_MAX_HOPS, enforcing limits between 1 and 7.
- Modified sendText calls to include hopLimit based on the new configuration.
- Enhanced unit tests to verify hopLimit functionality in message sending.
feat: add TR_HOPS_LIMIT and TEXT_MESSAGE_MAX_HOPS env vars
- Added TR_MIN_INTERVAL_SEC to .env.example to configure minimum interval between traceroute requests.
- Updated traceroute.py to enforce rate limiting based on TR_MIN_INTERVAL_SEC, preventing rapid successive requests.
- Refactored traceroute command handling to use sendData instead of sendTraceRoute for improved response handling.
@maattm maattm merged commit 2e588b8 into main Mar 28, 2026
0 of 3 checks passed
@Mitchcom Mitchcom deleted the merge-upstream-preserve-features branch March 28, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants