-
Notifications
You must be signed in to change notification settings - Fork 4
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
Script to fix s3 backup errors #1612
base: main
Are you sure you want to change the base?
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
44b0b17
to
8e906a5
Compare
Quality Gate passedIssues Measures |
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.
J'avais oublié d'envoyer le commentaire que j'avais fait sur cette PR :)
"upload_file_uuid": parts[1], | ||
} | ||
|
||
def _get_conv_upload_fields(self) -> list[str]: |
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.
Pour s'assurer qu'on modifie le champ et lui seul, on peut lever une exception si la fonction renvoie plus de 1 ou 0 champ
Le dernier backup S3 sur le CI est Ok => https://github.com/MTES-MCT/apilos/actions/runs/11884777719 |
Implémentation d'un script (oneshot) pour fixer les problèmes de backup s3, depuis le log issue de la commande de sync.