Skip to content
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

244 bump recipe should exit and save gracefully on some failures #274

Conversation

schuylermartin45
Copy link
Collaborator

@schuylermartin45 schuylermartin45 commented Dec 17, 2024

Adds a new --save-on-failure flag to crm bump-recipe to allow the tool to save partially upgraded files, in the event of an unrecoverable failure.

Also simplifies adding future flags by introducing a _CliArgs struct to easily pass new flags into all necessary functions going forward.

…o complete. I forgot to add the interval timer control for the retry mechanism in a purposefully failing test
@schuylermartin45
Copy link
Collaborator Author

Looks like rattler-build put out a new version last night, and that's causing some of the integration testing thresholds to fail. Will need to create a new issue to investigate, but this shouldn't be a blocker for this PR. There is no recipe conversion code being changed.

@JeanChristopheMorinPerso

I was about to as for that feature in private :)

@schuylermartin45 schuylermartin45 merged commit 63b33b1 into main Dec 19, 2024
12 of 13 checks passed
@schuylermartin45 schuylermartin45 deleted the 244-bump-recipe-should-exit-and-save-gracefully-on-some-failures branch December 19, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bump-recipe should exit and save gracefully on some failures
3 participants