Skip to content

Conversation

@graduta
Copy link
Member

@graduta graduta commented Oct 7, 2025

PR which:

  • adds a new event message in events.proto that is to be used by BKP-LHC-Client to send events related to STABLE_BEAMS changes which are to be consumed by ECS;
  • adds a new message in common.proto for beam information that has currently been decided as needed by ECS

@graduta graduta self-assigned this Oct 7, 2025
@graduta graduta changed the title [O2B-1475] Add new message object in proto for BeamMode [O2B-1475] Add proto message and associated ones for BeamModeEvent changes Oct 7, 2025
* Beam mode changes are propagated as Kafka events and to be sent by the BKP-LHC-Client on a dedicated topic
* e.g. dip.lhc.beam_mode
*/
message Ev_BeamModeEvent {
Copy link
Member Author

Choose a reason for hiding this comment

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

This name Ev_BeamModeEvent follows the naming convention for the test of events.

I personally, consider that the Ev already stands for Event and I would recommend something like Ev_BeamModeChange

What do you @knopers8 and @justonedev1 think?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think that you are right, but I would keep the same convention as the rest of ECS. So I'd keep it as it is now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Even though I also don't see a strong reason for the duplicated "event", I would rather keep it consistent with the existing convention.

@justonedev1
Copy link
Collaborator

Just a note: This PR needs to generate go representation of protofiles and @graduta asked us to do so, after we agree on this PR.

Copy link
Collaborator

@justonedev1 justonedev1 left a comment

Choose a reason for hiding this comment

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

It looks okay for me, let's see what Piotr thinks as he is the one who implements this part. One remark: we need to generate pb.go files and documentation from these (as already mentioned in distinct documentation)

@knopers8 knopers8 merged commit c092647 into master Oct 8, 2025
4 checks passed
@knopers8 knopers8 deleted the feature/O2B-1475/add-beam-proto-messages branch October 8, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants