From 6245fd918f350341ae9b4648eae2e29d88e9898e Mon Sep 17 00:00:00 2001 From: Sean Plaice Date: Sun, 16 Aug 2026 22:05:46 -0700 Subject: [PATCH 1/3] fix: exit nonzero when install or update only partially converges Required brew/mise/herdr steps record failures and keep going. The final line is PARTIAL with the failed steps, and the CLI exits 1 so automation can tell a complete run from a partial one. Closes #8. --- lib/common.sh | 30 +++++++++++++ lib/install.sh | 10 ++--- lib/update.sh | 16 ++++--- tests/run.sh | 120 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 163 insertions(+), 13 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index f6061f5..5d15e53 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -74,6 +74,36 @@ _omacase_zfuncdir() { [ -n "$bindir" ] && printf '%s\n' "${bindir%/bin}/share/zsh/site-functions" } +# --- convergence ledger ------------------------------------------------------- +# Required steps that fail are recorded (not fatal) so independent work +# continues; the entry point reports partial convergence and exits nonzero. +OMACASE_INCOMPLETE=() + +# require