Skip to content

feat(receive): add plugin support for receive cmd - #164

Merged
mbehr1 merged 5 commits into
mainfrom
feat/receive_plugins
Feb 7, 2026
Merged

feat(receive): add plugin support for receive cmd#164
mbehr1 merged 5 commits into
mainfrom
feat/receive_plugins

Conversation

@mbehr1

@mbehr1 mbehr1 commented Feb 6, 2026

Copy link
Copy Markdown
Owner

Fully autogenerated via:

  • plan: Add support for the plugins (non-verbose, someip, rewrite, can) to the "receive" command.

Fully autogenerated via:
- plan: Add support for the plugins (non-verbose, someip,
rewrite, can) to the "receive" command.
@mbehr1 mbehr1 added the enhancement New feature or request label Feb 6, 2026
@codecov

codecov Bot commented Feb 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.64356% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.40%. Comparing base (5003924) to head (ad540ed).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/bin/adlt/receive.rs 88.95% 18 Missing ⚠️
src/utils/ipdltmsgreceiver.rs 12.50% 7 Missing ⚠️
src/bin/adlt/convert.rs 80.00% 2 Missing ⚠️
src/plugins/non_verbose.rs 90.90% 1 Missing ⚠️
src/plugins/rewrite.rs 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
+ Coverage   83.31%   83.40%   +0.09%     
==========================================
  Files          40       40              
  Lines       21396    21568     +172     
==========================================
+ Hits        17826    17989     +163     
- Misses       3570     3579       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Autogenerated via:
Add a unit test to see whether the non-verbose plugin works for
receive command and converts a non-verbose message to visible
msg in ascii output.
Makes no sense to have receive with can plugin.
Clippy warnings fixed as well.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds plugin support (NonVerbose, SomeIp, Rewrite) to the "receive" command, bringing feature parity with the "convert" command. The PR also includes refactoring of serial port initialization logic and adds a comprehensive test for the NonVerbose plugin integration.

Changes:

  • Added command-line arguments for NonVerbose, SomeIp, and Rewrite plugins to the receive command
  • Implemented plugin processing thread that intercepts messages between receiver and forwarder/output
  • Refactored serial port opening logic into platform-specific helper functions
  • Added test case to verify NonVerbose plugin functionality in the receive command

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/utils/unzip.rs Code formatting improvement - multi-line function call
src/utils/ipdltmsgreceiver.rs Refactored serial port opening into platform-specific functions (Windows/Unix)
src/bin/adlt/receive.rs Added plugin support infrastructure with command-line args, initialization, processing thread, and test coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mbehr1
mbehr1 merged commit 7311b84 into main Feb 7, 2026
7 checks passed
@mbehr1
mbehr1 deleted the feat/receive_plugins branch February 7, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants