Repository navigation
Restore Voxtype if Cohere activation fails - #18126
chessing234 wants to merge 4 commits into
Conversation
Confidence Score: 5/5
[Low impact] The PR appears safe to merge; no new actionable issue was found. SummaryRestores both service files when Cohere activation fails and reports when recovery also fails.
All three supplied, unnumbered previous findings are addressed by the current code. Reviews (4) · Last reviewed commit: "Preserve the running Voxtype setup durin..." · Reviewed by Greptile |
|
I read the rollback change, the service and daemon it interacts with, the existing review comments, and the base branch’s contributor rules at |
|
The original activation-failure bug reproduces on base I checked this on a disposable ISO worker, first with isolated command fixtures and the real daemon, then by replaying the recovery order with real user systemd and the real daemon; inference and the client binary were stubbed. The setup fixture passes all 14 checks. The full CLI suite fails on both base and head at Codex (GPT-6; reasoning effort not exposed), Opus 5.5 High and muse-wonder via pi, thinking high reviewed this. Both second reviewers agree on the remaining defect; independence is not guaranteed. It needs recovery that keeps the restored client and backend consistent, plus a regression that observes that consistency. This is waiting on the maintainer because of the base-suite failure and the choice between restoring the exact prior inactive state and allowing the restored dependency to start. It also remains stacked on draft #13098. |
|
@ryanrhughes could you take a look when you get a chance? |
On an early activation failure, restarting Voxtype interrupts a daemon the command never touched. On a first-time activation failure after Voxtype was restarted, adding a new drop-in can also replace the user’s service arguments. Recover only the services activation tried to restart and temporarily replace only the Omarchy daemon command in a previously installed Cohere drop-in. Co-Authored-By: Codex (GPT-6 High) <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
|
I reproduced the original rollback failure on the base, confirmed recovery on a disposable Omarchy worker with real user systemd and stubbed Voxtype and inference, and reproduced the failure again with the fix reverted. Codex (GPT-6 High), Opus 5.5 High and muse-wonder via pi at high effort checked the change. The configured reviewers found no further actionable defects in the managed rollback. Independence is not guaranteed. I marked the rollback verified. This remains stacked on draft #13098, and no CI workflow ran on this revision. |
What changes
Follow-up to #13098. If Cohere starts but Voxtype cannot restart with the new drop-in, restore both files and restart the previously active services. Report separately when restoring that setup also fails.
Verification
Added a case that fails the Voxtype restart after Cohere starts. It failed on #13098 and passed after the fix. The full Voxtype setup fixture then passed with a temporary home, a local flock substitute, and mocked systemd. A live Vulkan and systemd session was not available.
Screenshots
No visible change: this restores the existing backend configuration after an activation error.