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

Support returning multiple validation errors (PR 1) #476

Merged
merged 6 commits into from
Oct 2, 2023

Conversation

zoeyTM
Copy link
Contributor

@zoeyTM zoeyTM commented Sep 18, 2023

fixes #424

@zoeyTM zoeyTM marked this pull request as ready for review September 19, 2023 14:16
@kanej
Copy link
Member

kanej commented Sep 20, 2023

@zoeyTM can you walk me through our validation stage 1 vs validation stage 2 division. If we swap in full reconciliation/execution info from visualization does this distinction go away?

@zoeyTM
Copy link
Contributor Author

zoeyTM commented Sep 20, 2023

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.

@alcuadrado may have a different take, but that's my perspective at least

@kanej
Copy link
Member

kanej commented Sep 20, 2023

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.

@alcuadrado may have a different take, but that's my perspective at least

Ugh. I suspected this was the case. Alright, let me take another look over it. Do you have a feel for whether that merge would be better done as a separate PR?

@zoeyTM
Copy link
Contributor Author

zoeyTM commented Sep 20, 2023

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.
@alcuadrado may have a different take, but that's my perspective at least

Ugh. I suspected this was the case. Alright, let me take another look over it. Do you have a feel for whether that merge would be better done as a separate PR?

Short answer: I think a separate PR would be better.

I was going to say it should be done after we add the execution data to visualize so we don't break it, but it doesn't actually look like we're validating in that task at all anymore. Given that, I think merging the validation stages themselves would be relatively trivial, so most of the work would just be modifying the tests.

@kanej kanej changed the title Support returning multiple validation errors Support returning multiple validation errors (PR 1) Sep 29, 2023
@zoeyTM zoeyTM merged commit 570ddb8 into development Oct 2, 2023
6 checks passed
@zoeyTM zoeyTM deleted the multiple-validation-messages branch October 2, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

support multiple validation error messages displayed at once
3 participants