-
Notifications
You must be signed in to change notification settings - Fork 184
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
Fix #1356 #1357
base: main
Are you sure you want to change the base?
Fix #1356 #1357
Conversation
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.
What do the CompatibilitySuppressions files do?
It's like suppress warning. |
It looks like a better approach would be to create the file automatically when packing? since there would still be new stuffs added into TorchSharp in the future, and in the current stage we don't that mind API changes. |
Yeah that would be helpful if the suppression file can be generated during packing so we can check in the supression file if necessary as well as detecting the possible unintentional API break change |
Yes but that means we have to separate the pack stage and publish stage? Actually I mean it's a bit early to check for the API compatibility, so we could just generate the suppression file and get into the next step. |
@LittleLittleCloud -- is this PR still relevant? |
@NiklasGustafsson Yes, I'm thinking of uploading the suppression file to pipeline artifacts so we no longer need to generate it locally. After the suppression file getting uploaded, the workflow for processing API break change will be
|
So we won't have to wait until after merge to find out about the breakage? |
I think a better expression would be we 'shouldn't'. We should know whether a PR will break the API before merging it. If we only check that before packing and publishing, it's almost impossible to find the specific commit which changed the API and revent it. |
Hmm... are there any news about this? I'm afraid of new commits since they may break APIs which can't even be find out until packing. By the way, will the fix in #1376 fail due to this as well? |
fix #1356