Skip to content

Conversation

dustymabe
Copy link
Member

The barrier key is under the metadata dict. Let's update it here and also add an assert to make sure we always get some barrier release info before continuing.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly adjusts the logic to find barrier releases by looking under the metadata key. It also commendably adds an assertion to validate that barrier release information is present. My review includes a suggestion to enhance the robustness of this new check by replacing the assert statement with a conditional that raises an exception, ensuring the validation is not skipped when the code is run in optimized mode.

The `barrier` key is under the `metadata` dict. Let's update it
here and also add an assert to make sure we always get some barrier
release info before continuing.
Copy link
Member

@jbtrystram jbtrystram left a comment

Choose a reason for hiding this comment

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

Good catch, thank you Dusty

@travier travier merged commit 7769949 into coreos:main Sep 9, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants