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

Fixes bug in validate_syntax #544

Merged

Conversation

JayjeetAtGithub
Copy link
Collaborator

There was a bug in the PR #529 where if a resolves or a uses attribute was found , it returned which lead to the function not validating the rest of the block and hence errors were thrown afterwards in normalize and check_secrets. #529 got merged before i could update the PR, hence this new PR.

@ivotron
Copy link
Collaborator

ivotron commented Mar 15, 2019

Interesting, can we add more tests to catch this scenario?

@JayjeetAtGithub
Copy link
Collaborator Author

I guess no more tests are needed as i have included all kinds of test cases in validate test.

@JayjeetAtGithub
Copy link
Collaborator Author

@ivotron here is the build log where the workflow execution was failing silently.
The build log of this PR which solves the above issue is , here where the validation is working successfully and a nice message is shown instead of the dirty stacktrace.

@JayjeetAtGithub
Copy link
Collaborator Author

Interesting, can we add more tests to catch this scenario?

This scenario will not occur anymore

@ivotron ivotron merged commit 93b5f1a into getpopper:master Mar 15, 2019
@ivotron
Copy link
Collaborator

ivotron commented Mar 15, 2019

thanks a lot!

@JayjeetAtGithub JayjeetAtGithub deleted the jayjeet/fixes-to-validation branch August 18, 2019 19:41
ivotron pushed a commit that referenced this pull request May 24, 2020
Fixes bug on validate_syntax
ivotron pushed a commit that referenced this pull request May 25, 2020
Fixes bug on validate_syntax
ivotron pushed a commit that referenced this pull request May 25, 2020
Fixes bug on validate_syntax
ivotron pushed a commit that referenced this pull request May 25, 2020
Fixes bug on validate_syntax
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.

None yet

2 participants