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

Log result of validateWorkflow if not undefined #2598

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mbg
Copy link
Member

@mbg mbg commented Nov 12, 2024

If validateWorkflow returns something other than undefined, the result is discarded. For example, if an error occurs while validating the workflow, there is currently no output in the workflow log to indicate that. This PR fixes this by logging any non-undefined result from validateWorkflow as a warning.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@mbg mbg self-assigned this Nov 12, 2024
@mbg mbg requested a review from a team as a code owner November 12, 2024 15:52
aeisenberg
aeisenberg previously approved these changes Nov 12, 2024
@mbg
Copy link
Member Author

mbg commented Nov 14, 2024

@aeisenberg I rebased to resolve a merge conflict in the generated files, otherwise there's no change.

@mbg mbg requested a review from aeisenberg November 14, 2024 11:28
@mbg mbg merged commit a1695c5 into main Nov 14, 2024
271 checks passed
@mbg mbg deleted the mbg/fix/validateWorkflowResult branch November 14, 2024 17:05
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.

2 participants