Several fixes and one new option - #402
Open
ofirgalcon wants to merge 5 commits into
Open
Conversation
Bump SUPER_VERSION/DATE and apply a set of local patches to improve reliability of softwareupdate/mist/mdm workflows. Key fixes: add --workflow-macos-minor-auto-download-deferral option; raise storage floors; robustly preserve/attach to in-progress softwareupdate --download; helpers to find/wait/kill download PIDs; softwareupdate fallback when mdmclient reports nothing; fix msu automatic-check variable bug; improve schedule/window weekday calculations; parse SOFA UTC release dates; defensive dialog FIFO handling and notifier-exit deferrals; MDM asset re-polling; install-space detection and test-mode restart handling. Updated checksum.
Add PATCHES-vs-upstream-5.1.1.md documenting all local changes (p01–p15) against stock Macjutsu v5.1.1. Add in-script #>>> LOCAL PATCH (p13) markers for previously unmarked schedule/deadline fixes. Update version string and checksum. Behavior unchanged from p14 aside from version identification. No actual code change.
Update super to 5.1.1-p16 (2026-08-07). Add SUPPORT-bug-fixes.md and update PATCHES-vs-upstream to document p16. Introduce p16 in-script fixes: queue-grace timeout, helpers to set/clear WorkflowRestartValidate prefs, MDM Deferred parsing to detect newer same-major deferred updates (avoid installing older SU), QUEUE_WATCH handling to detect "Failed to queue update and restart" and treat it as failure (clear early validate prefs, defer/retry), restart-validate land check comparing PreBuild to current build, and small restart-path pref adjustments. Update super.checksum.txt.
Author
|
I also created a doc explaining what was patched and why https://github.com/ofirgalcon/super/blob/main/SUPPORT-bug-fixes.md |
Bump local build to 5.1.1-p19 and update docs/checksum. Add p17–p19 patches to harden storage and Apple prepare handling: introduce size-aware storage formula (multipliers + soft mins), safe floors (25/35GB), pre-producer storage gate, and dialog/proceed semantics. Add live capture of Apple "snapshot prepare size" via log stream, per-run mktemp max file, FIFO parser with parent-tracked tail, and a mkdir-based lock to avoid concurrent-writer races. Implement stop-order (reap then sync-parse), fail-closed max behavior, and start/stop hooks around download/install/MDM workflows. Also add SIGTERM/SIGHUP cleanup for the prepare stream, residual skip-notify/audit when storage collapses, and a few diagnostic/verbose logs. Support docs updated to reflect p17–p19 fixes.
Owner
|
Thanks for submitting this merge. While I'm not going to merge it directly, I will manually evaluate and verify all the bug fixes to be included in a future version of As for the new option, I have another idea in mind that is more flexible. |
Update SUPER_VERSION/DATE to 5.1.1-p29 and refresh supporting docs. Add release-gate checklist link. Implement local patches p20–p29 in super: rediscover pulled OTA labels and bounded backoff (p20/p26), expire cached softwareupdate lists in mdmclient-empty path (p21), split WRV land-check prefs from LaunchDaemon gate and QUEUE_WATCH wall-clock behavior (p22/p23), refine signal handling (SIGINT vs SIGTERM/SIGHUP) (p24), clear WRV when no targets remain (p25), always notify/audit on residual low-storage (p27), install-only safe floors (p28), and cleanup/sweep Apple prepare temp files (p29). Update checksum files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Owner
|
Apple has made changes in macOS 27 the necissitate a significant re-write of core parts of |
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.
https://github.com/ofirgalcon/super/blob/main/PATCHES-vs-upstream-5.1.1.md