Repository navigation
Fix cloned service lookups - #10416
imzihuailin wants to merge 1 commit into
Conversation
|
Reviewed, nothing blocking found. Recommending this to the maintainer as the fix for the cloned-service-lookup bug. What was checked. Read the diff against Tests. Ran on a disposable VM built from the Omarchy ISO, with the compositor pointed at this branch (
Then mutated Reverse regression. Checked what happens when a user has both the original and the clone installed, since that is the normal reason to clone. Through the supported CLI the two are mutually exclusive: Second opinion. Codex at xhigh reviewed it independently and found no defect either. Its independence is not currently guaranteed — it can read this session's transcript — so where it merely agreed with a conclusion already reached, that agreement is worth less than it looks. It did contribute one mechanism that had not been reasoned about, which stands on its own: Two things for the maintainer, not for you to act on. This says |
|
Re-checked against current What fixed it. What was run. On a disposable VM built from the Omarchy ISO, with the compositor-backed tests wired to its session, this branch's own tests ran against two trees:
What is left. Two callers on Second opinion. Codex Medium reviewed the same questions against Waiting on the maintainer to decide whether to close this. Reviewed by Claude Opus 5.5 in Claude Code and by Codex Medium. |
Fixes #10404.
Cloning a service plugin registers its instance under the clone’s manifest ID, while consumers keep looking it up by the built-in ID.
serviceFor()now resolves an enabled clone before looking up the service, with the original ID retained as a compatibility fallback.Reproduced on Omarchy 4.0.2-1, the latest released build: cloning
omarchy.idleleaves the Stay Awake indicator unable to read or toggle the running service.This also fixes the same lookup path for cloned night light, notifications, and media services.
Validation: