fix: user macro reload from BEC client, not dispatch
CI / lint (pull_request) Successful in 1m12s
CI / test (3.13) (pull_request) Successful in 1m40s
CI / test (3.12) (pull_request) Successful in 1m41s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m39s
CI / test (3.14) (pull_request) Successful in 1m42s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m44s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m49s
CI / test-with-coverage (pull_request) Successful in 1m58s
CI / coverage-analysis (pull_request) Failing after 3s
Docs build and publish / docker (push) Successful in 3s
CI / coverage-analysis (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 58s
CI / test (3.14) (push) Canceled after 58s
Build and Publish / release (push) Successful in 55s
CI / test (3.13) (push) Canceled after 59s
CI / test-with-coverage (push) Canceled after 59s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 59s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 58s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 59s
CI / lint (push) Canceled after 1m0s

This commit was merged in pull request #249.
This commit is contained in:
2026-10-02 11:17:07 +02:00
parent 0bbdd02bd1
commit 6ba560fc69
+2 -1
View File
@@ -317,7 +317,8 @@ class BECClientWorker:
raise self._bec_error(e, operation="load_user_macros") from e
def _load_user_macros(self):
result = self.macros.load_all_user_macros()
# load user macros is common to all clients, not part of beamline dispatch
result = self.client.macros.load_all_user_macros()
if result is None:
logger.warning("BEC load_all_user_macros returned None")
return result