detect_os_deployment() shells out to bootc status --booted --json on every call. In the GrubFallback path it fires at least 3× (via get_booted_deployment_id, handle_rollback, generate_motd_message). It is a contrast with running_in_container() which uses OnceLock. It is not a functional issue, but I wanted to point the consistency concern out.
Originally posted by @knecasov in #181 (comment)
detect_os_deployment()shells out tobootc status --booted --jsonon every call. In the GrubFallback path it fires at least 3× (viaget_booted_deployment_id,handle_rollback,generate_motd_message). It is a contrast withrunning_in_container()which usesOnceLock. It is not a functional issue, but I wanted to point the consistency concern out.Originally posted by @knecasov in #181 (comment)