-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Enable Change log check during release and analyse step #12566
Comments
|
You're absolutely correct, but we have changelog verification in our BUILD phase as well. What's currently happening is that the "Build" stage is SUCCEEDING prior to failing during the release. This is super confusing for the devs because the build stage (which INCLUDES verify-changelog) WAS GREEN! |
Our intention is to ensure that same check is performed during analyze and release for release build so if release is going to find any issue then it's better to find that in analyze phase |
Ok, I see what you mean. I will add the check to the |
I have a PR addressing this Azure/azure-sdk-tools#797 |
While I completely understand there is a little confusion between running the verify-changelog step as part of the build and as part of the release there are reasons for splitting the verification. We want to do as much verification as we can during the build/analyze phase to make sure folks are thinking about and at least have a place holder for the current active version. During release we want to verify that the change log is not empty and that the version entry is not marked as unreleased. We cannot do this step during the build/analyze step because we don't know if they plan to release a given package. Imagine a pipeline that has multiple packages and only a subset of packages are planning to release we cannot enforce the release criteria on the other packages. So in our current system I don't think we can move all the validation into the build/analyze step. If we feel having it run it both build and release adds to confusion we could move all the validation to the release stage for a build we plan to do a release from, but we still want the verification in the build/analyze phase the rest of the time so people are setup for success during development. |
Reopening this until we fix the python issues as we reverted part of this in #15356 |
Update quantum python track2 config (Azure#12566) * update quantum python track2 config * Update readme.python.md Co-authored-by: msyyc <[email protected]>
Update quantum python track2 config (Azure#12566) * update quantum python track2 config * Update readme.python.md Co-authored-by: msyyc <[email protected]>
* CodeGen from PR 12566 in Azure/azure-rest-api-specs Update quantum python track2 config (#12566) * update quantum python track2 config * Update readme.python.md Co-authored-by: msyyc <[email protected]> * version,CHANGELOG * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: SDKAuto <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <[email protected]>
Change log check is disabled now due to issues we have noticed during last release. We need to make required fix and enable this before next release. Here are the two issues we have noticed last.
One solution for issue #2 is as follows:
@scbedd Please let me know if I have missed any point.
@chidozieononiwu : just FYI.
The text was updated successfully, but these errors were encountered: