fix(updater): pre-main hardening (dead-branch drop, reclone rung, auto-provision, klipper ownership) - #284
Open
gmmcosta15 wants to merge 6 commits into
Open
fix(updater): pre-main hardening (dead-branch drop, reclone rung, auto-provision, klipper ownership)#284gmmcosta15 wants to merge 6 commits into
gmmcosta15 wants to merge 6 commits into
Conversation
…ne dead branch can't brick updates
…ter; disown klipper from moonraker (fresh installs); actionable dead-branch status
…nd pre-main review hardening
gmmcosta15
marked this pull request as draft
July 17, 2026 14:22
…ne-line all comments and docstrings
gmmcosta15
marked this pull request as ready for review
July 21, 2026 09:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Select the type:
This PR introduces the folowing changes:
update_alldrops a component whoseorigin/<branch>no longer resolves instead of aborting the batch, so it can't block BlocksScreen (ordered last) from self-updating.provision_missing()clones aninstall_if_missingcomponent (e.g. Spoolman) at startup/poll, not only on a manual Update._reclone_component(temp-clone + atomic swap) recovers a repogit_repaircan't whenlocal == origin; wired as the deepest rung in the update and boot-reconcile paths.branch origin/<b> not found - fix components.yaml, not a generic error.components.yamlklipper ->master;bs-common.shdisownsklipperfrom Moonraker's update_manager.Tests
TestProvisionMissing(4),TestReclone(5), dead-branch status, Moonraker klipper disown; self-heal reconcile test updated for the reclone rung.