Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): throw workflow config errors on scan #1932

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Jul 6, 2020

What this PR does / why we need it:

We now throw validation errors for invalid workflow configs immediately after scanning and adding workflow configs.

Now that partially resolving workflow configs (i.e. everything except step configs, which are resolved just-in-time before they're run) has become cheap, performing this validation at scan-time warns the user of invalid workflow configs earlier in development.

Which issue(s) this PR fixes:

Fixes #1931.

We now throw validation errors for invalid workflow configs immediately
after scanning and adding workflow configs.

Now that partially resolving workflow configs (i.e. everything except
step configs, which are resolved just-in-time before they're run) has
become cheap, performing this validation at scan-time warns the user of
invalid workflow configs earlier in development.
@edvald edvald merged commit 7e1acf8 into master Jul 6, 2020
@edvald edvald deleted the eager-resolve-workflow-configs branch July 6, 2020 16:53
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.

[FEATURE]: Resolve & validate workflow configs in more commands.
2 participants