From 77715f9f7330f4ba4b21342a2a83727b063fe91a Mon Sep 17 00:00:00 2001 From: rickpeters Date: Tue, 13 Oct 2026 19:06:10 +0200 Subject: [PATCH] fix: the skipped sub-option is reported as an app event, and counts as not applied Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01KkpbsMw4rQyBsxDG6ebHK2 --- lib/backend.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/backend.sh b/lib/backend.sh index f987a7c..68e4556 100644 --- a/lib/backend.sh +++ b/lib/backend.sh @@ -187,7 +187,8 @@ backend_apply() { for c in "${TO_ENABLE[@]}"; do # A sub-option of something that just failed isn't applied: it would be left on without its parent. if [[ -n "${PARENT[$c]:-}" && " ${failed[*]:-} " == *" ${PARENT[$c]} "* ]]; then - warn "Skipping ${LABEL[$c]%%:*}: ${LABEL[${PARENT[$c]}]%%:*} didn't work." + backend_event log "\"id\":$(json_str "$c"),\"line\":$(json_str "Skipped: ${LABEL[${PARENT[$c]}]%%:*} didn't work.")" + failed+=("$c") continue fi if backend_run_component "$c" enable; then is_action "$c" || feature_record "$c" enable; else failed+=("$c"); fi