-
Notifications
You must be signed in to change notification settings - Fork 70
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
[Task] Add unpublish mechanism on release test failure — just python left. #2735
Comments
@acarbonetto Is it relevant for Java? |
This feature is already implemented in Java. The release pipeline will pull the release candidate from maven/staging if tests fail. See: drop-deployment-if-validation-fails |
Always one step ahead 😉 |
in PyPi- Unfortunately, there's no reliable command-line method to delete packages, as this is intentionally restricted for security reasons. need to find another way |
@adarovadya did we close this one? |
Description
Currently, our mechanism is to publish, then test, and if fail the version stay up there broken. After a while, it looks like that:
![image](https://private-user-images.githubusercontent.com/55848801/388674971-34f48b1d-0169-441a-8eca-26552e0290c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTg1MzIsIm5iZiI6MTczOTgxODIzMiwicGF0aCI6Ii81NTg0ODgwMS8zODg2NzQ5NzEtMzRmNDhiMWQtMDE2OS00NDFhLThlY2EtMjY1NTJlMDI5MGMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE4NTAzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhMzViMTc2ZmE5MDdkNDg5NjZjMDJjMzNlZDRmMGMwNGVhZDk2YjhhYmJjZjk4YTg0M2M1MTZhMDBiZDU4NTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KYWaPql2ErqUFNJnUMbEVt-KYdf84h1VGQH_qI7Defc)
One problem is that looks bad, the second is that if a version is broken, we need to run and manually unpublish, so no user get something broken.
The process needs to be tested, and in case of failure, immediately unpublish.
Checklist
The text was updated successfully, but these errors were encountered: