Skip to content

Conversation

Shastick
Copy link
Contributor

closes #810

@Shastick Shastick force-pushed the clean-secondaries-checks-4 branch from 8ba3890 to dd0fd46 Compare September 11, 2025 19:14
@Shastick Shastick marked this pull request as ready for review September 11, 2025 19:14
if cr.ovn is None:
check.record_failed(
summary=f"CR {cr_id} is missing OVN",
details="The CR retrieved from the DSS did not include an OVN, despite the CR being owned by uss_qualifier. The scenario cannot proceed.",
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't write "The scenario cannot proceed" here as the canonical location for that information is in the documentation (the stop sign unicode character) and we don't want redundant information that can drift out of sync.

Moreover, if the scenario truly cannot proceed if/when this check fails, shouldn't we throw some kind of ScenarioDidNotStop or similar exception following the check rather than continuing normally with the return statement?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct: we should raise the special exception we recently introduced. Technically the cleanup step cannot continue if the ovn is none (we'd fail on the next step when accessing the ovn anyway) but the scenario cannot proceed if one of the DSSes is not in a clean state either.

I'll raise instead. (both here and below on line 303)

@BenjaminPelletier BenjaminPelletier merged commit db3380b into interuss:main Sep 15, 2025
21 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.

Ensure clean workspace on each DSS instance in interoperability scenarios
2 participants