Skip to content

Send veto names with veto configuration update for a central source of truth - #68

Open
rerpha wants to merge 3 commits into
mainfrom
veto_names
Open

Send veto names with veto configuration update for a central source of truth#68
rerpha wants to merge 3 commits into
mainfrom
veto_names

Conversation

@rerpha

@rerpha rerpha commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

closes ISISComputingGroup/DataStreaming#99

CI should pass when the SDT PR is merged and a pypi release is made

@rerpha rerpha changed the title Veto names Send veto names with veto configuration update for a central source of truth Aug 17, 2026
@rerpha

rerpha commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator Author

note to test on ndw1836 you will need to patch over the xml from #67 and edit the register name "vetoes_mask" instead of "veto_mask"

Comment on lines +49 to +55
# put veto update event on the queue immediately so that vc00 is emitted
# for downstream consumers even if vetoes don't change
queue.put(
VetoesUpdateEvent(
value=np.asarray(data.vetoes, dtype=np.uint8), done_event=EventWithError()
)
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should also do this unconditionally on runstart - just so that it doesn't drop out of Kafka retention or anything silly like that.

@rerpha rerpha Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

sure - though i'd imagine the vetoConfig topic will have a very large retention rate. regardless, will add

@rerpha
rerpha requested a review from Tom-Willemsen August 19, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Central source of truth for veto names

2 participants