-
Notifications
You must be signed in to change notification settings - Fork 14
Add communication component diagnostic message #315
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
Add communication component diagnostic message #315
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces new diagnostic message definitions for communication components in the microgrid API. Key changes include:
- Addition of enum CommunicationComponentDiagnosticCode to standardize diagnostic codes.
- Addition of the CommunicationComponentDiagnostic message that provides contextual and vendor-specific error information.
- Update of RELEASE_NOTES.md to document these new features.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto | Added diagnostic enum and message with detailed documentation for communication components. |
| RELEASE_NOTES.md | Updated release notes to include the CommunicationComponentDiagnostic message. |
51b7d7f to
67118e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new diagnostic enumeration and message for microgrid communication components to standardize error and warning reporting. Key changes include:
- Adding the enum CommunicationComponentDiagnosticCode for common diagnostic states.
- Adding the CommunicationComponentDiagnostic message with fields for diagnostic code, vendor error code, and a detailed message.
- Updating RELEASE_NOTES.md to document the new messaging feature.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto | Added diagnostic enumeration and message for communication components. |
| RELEASE_NOTES.md | Updated documentation to include new diagnostic message. |
Comments suppressed due to low confidence (1)
proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto:24
- [nitpick] Consider renaming 'COMMUNICATION_COMPONENT_DIAGNOSTIC_CODE_CONFIGURATION_ERR' to 'COMMUNICATION_COMPONENT_DIAGNOSTIC_CODE_CONFIGURATION_ERROR' for improved clarity, unless this naming is intentional and consistent with existing conventions.
COMMUNICATION_COMPONENT_DIAGNOSTIC_CODE_CONFIGURATION_ERR = 2;
Signed-off-by: Tiyash Basu <[email protected]>
67118e5 to
7eee221
Compare
stefan-brus-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thomas-nicolai-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.