mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Three review fixes to the populator: - Reload broadcast: send_reload_notification does a bare kombu exchange publish that never declares the active-process queues, so on the kombu sqlalchemy transport (a common default) the shed-install broadcast never reaches peers — their cached index stays stale until restart. Add _broadcast_reload, which routes through send_control_task (correct declare_queues, derived from the worker_process table) when an app is in hand; the app-less CLI keeps the best-effort raw publish. Thread app through populate_store_inline / populate_for_paths / reconcile_index and the shed-install, ad-hoc self-heal, and reset_shed_tools call sites. - Macro watch: a changed macros file left its importing tools with stale expanded content because the watcher filtered "macro" out by filename. Accept every .xml and, on a <macros> root, re-expand the tool siblings in its directory. - Typing: annotate build_index_entry_from_source (ToolSource / stored / discovered) and drop the redundant hasattr guards the ABC already guarantees (parse_uuid stays guarded — it is XML-only). Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr