-
Notifications
You must be signed in to change notification settings - Fork 6
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
Regression Fix + Refine Status Updates + Resolve Edge Cases + Code Cleanup #193
Conversation
…into regression/vsam-status
skipStatus.reviewInstallation | ||
] | ||
|
||
return skipStatusArray[subStageId-1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if array index out of bounds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So in the current state we do not distinguish between failed and skipped steps?
Also, for instance if Certificates step fails - it shows job output as error, but then we skip it and go to vsam (which should be completely optional) and it fails too - it will show error in the header, and the job log stays from the previous failure in Certificates. It looks inconsistent and misleading.
I do not mind merging this though, as it doesn't break things and in order to continue the development process.
@skurnevich Thank you for reviewing the PR. At present, in ZEN, we do not differentiate between failed and skipped steps. This could be a potential enhancement to consider for future improvements. Regarding your comment about the certificate stage, I think we should address that in a separate PR since it originates from the staging. I will create a ticket for this. Thanls. |
Hi Sakshi, that is fine with me, please resolve Lenny's changes request and we can merge this PR |
@skurnevich thanks. And the changes requested by Lenny have already been addressed. Also, I do not have the merge rights for this repository. Could you please merge it if you are ok with it? This PR will serve as a foundation for future PRs in ZEN. |
Hi @sakshibobade21 , i'll merge this PR, but problem is the github still has "Changes requested" as blocker for merge there. |
@skurnevich I re-requested the review now. Hope that works. |
Thanks, dismissed stale review @sakshibobade21 @skurnevich |
Proposed changes
This PR addresses Issue:
This PR resolves a regression issue where the status for the VSAM stage was being updated without the stage being completed. It also addresses edge cases where the status was not updated as expected when stages were skipped or completed. The implementation now ensures that the status of stages and substages is properly stored and initialized accordingly. Additionally, this PR includes some code cleanup
This PR depends upon the following PRs:
Type of change
Please delete options that are not relevant.
PR Checklist
Please delete options that are not relevant.
Testing
Further comments