You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(stop): rely on bus bridge for legacy mycroft.stop; drain active_skills
Address CodeRabbit review on #777 (OVOS-STOP-1 conformance):
- handle_global_stop: drop the hand-rolled `mycroft.stop` emit. The
spec-tools MIGRATION_MAP bridges `ovos.stop -> mycroft.stop` and the bus
re-emits the legacy counterpart by default (emit_legacy ON during the
migration window), so the manual emit double-delivered to anyone on both
topics. Same fix as ovos-audio #171. Also switch the bare
`ovos.utterance.handled` string to `SpecMessage.UTTERANCE_HANDLED` for a
single source of truth (the only other spec-topic member in this file;
`mycroft.*` / `ovos.skills.converse.force_timeout` are not SpecMessage
members and stay as strings).
- _drain_global_stop_session: also clear `session.active_skills` (the
legacy recency list `get_active_skills` reads for stop-target routing),
atomically with active_handlers/converse_handlers/response_mode. Left
stale, a committed global_stop could route a later targeted stop to a
skill it already drained.
The two CI/pyproject nitpicks (dead bus-client git-ref + floor bump) were
already resolved upstream by 851c6e1 + 87b940d.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments