Skip to content

Conversation

@stephanos
Copy link
Collaborator

@stephanos stephanos commented Jul 31, 2025

What was changed

Added new Configurable interface for a scenario to opt-in to. It exposes a method parse the scenario input.

Why?

In a CICD context it's helpful to validate if a scenario is correctly configured before starting it since any issues would only be surfaced once the infra is all setup (time consuming and expensive).

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

Comment on lines +149 to +151
if v == "" {
return defaultValue
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Drive-by fix.

@stephanos stephanos marked this pull request as ready for review August 1, 2025 17:29
@stephanos stephanos requested a review from Sushisource August 1, 2025 17:29
//
// Call this method if you want to ensure that all required configuration parameters
// are present and valid without actually running the executor.
Parse(ScenarioInfo) error
Copy link
Member

Choose a reason for hiding this comment

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

Technically not really parsing - could just call this Configure ?

@stephanos stephanos merged commit aa6de40 into main Aug 5, 2025
22 checks passed
@stephanos stephanos deleted the validation branch August 5, 2025 16:08
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