Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Aug 7, 2025

fixes #231

Copilot AI review requested due to automatic review settings August 7, 2025 09:21
@Marenz Marenz requested a review from a team as a code owner August 7, 2025 09:21
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Aug 7, 2025

This comment was marked as outdated.

@Marenz Marenz force-pushed the event_from_common branch 2 times, most recently from 2039cda to 776ae30 Compare August 7, 2025 09:29
@Marenz Marenz requested a review from Copilot August 7, 2025 09:29
Copy link

Copilot AI left a 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 refactors the Event enumeration in the dispatch API to use a common Event message from the shared API instead of maintaining a local duplicate. This change standardizes event handling across Frequenz APIs and reduces code duplication.

  • Replaces local Event enum with common Event message from frequenz.api.common.v1alpha8.streaming
  • Removes duplicate Event enum definition from StreamMicrogridDispatchesResponse
  • Updates imports to include the common streaming event module

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
proto/frequenz/api/dispatch/v1/dispatch.proto Removes local Event enum and uses common Event message, adds streaming event import
RELEASE_NOTES.md Documents the change to use common Event message

@Marenz Marenz enabled auto-merge August 7, 2025 09:32
@Marenz Marenz force-pushed the event_from_common branch 2 times, most recently from 41348cb to a9334a5 Compare August 11, 2025 10:48
Signed-off-by: Mathias L. Baumann <[email protected]>
@Marenz Marenz force-pushed the event_from_common branch from a9334a5 to ba3f84f Compare August 11, 2025 12:08
Copy link
Contributor Author

@Marenz Marenz left a comment

Choose a reason for hiding this comment

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

LGTM

@Marenz Marenz disabled auto-merge August 11, 2025 12:10
@Marenz Marenz merged commit 22d30fa into frequenz-floss:v0.x.x Aug 11, 2025
6 checks passed
@Marenz Marenz deleted the event_from_common branch August 11, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename Event enum to StreamingEvent in dispatch.proto for clarity and move to Common API repo

1 participant