fix(flomni): avoid XRayEye GUI RPC timeouts #208
Open
wyzula_j
wants to merge 1 commits from
fix/temp-xray-eye-timeout-fix into main
pull from: fix/temp-xray-eye-timeout-fix
merge into: :main
:main
:fix/dap-recursion
:2axis_npoint_controller-backup
:feat/add-error-handling-to-on-complete-eiger
:fix/temp-xray-eye-timeout-fix
:fix-jfj-preview-client-log-spam-error
:fix-jungfraujoch_previev-client
:fix/hexapod-integration-attempt-ophyd
:fix-jfjoch-client-version
:fix/update_lamni
:fix/setpoint_init
:feat/add-simulated-bl-endstation-devices
:doku_fix2
:fix/lamni_scan_fix
:scans-v4-fly-scan-line-and-grid
:fix/lamni_fly_scan
:feature/pseudo_positioner_flighttube
:feat/diagnostics
:config_and_fixes
:test_pseudo_device_implementierung
:csaxs_nexus_format
:feat-csaxs-file-writer
:fix/shutter-signal
:fix/flomni_async_readout
:fixflomni-gui-tools-timeout
:fix/fixes_flomni_testing
:fix/mcs-card-extra-point-on-stop
:fix/online_fix_mcs_ddg_flomni
:fix/flomni_alarm
:back/lamni_commissioning
:fix/remove-info-logging-overloads
:feat/add_panda_csaxs
:fix/remove-socket-cached-readings
:refactor/module-structure
:fixes/lamni_improvements
:add/rio-galil-set-gain
:fix/fj_integration
:feat/eps_device
:feat/add_flomni_ext_en
:fix/socket-readback-timeout-test
:feat/add_galil_rio
:smaract_implementation_ES
:refactor/mcs_card_refactoring
:fix/controller_destroy
:fix/controller_ensure_wait_for_connection_called
:fix/deprecate_pilatus_migrate_falcon
:fix/rate_limit_warning_in_live_mode
:sastt_config
:fix/controller-migration
:fix/remove_bl_check
:feat/allied_vision_camera
:fix/compare_transition_status
:fix/refactor_controller_ophyd_devices
:ids_monochrome
:fix/async_signal_refactoring
:flomni_heater
:test_gitea
:x12sa_test_20251006T161237
:test_branch
:copier-upgrade
:feat/add_jungfrau_joch_integration
:test_branch_gitea
:x12sa_test_20250822T141018
:gac-x12sa_20250710T162233
:refactor/ids_camera
:fix/omny_alignment_type_hints
:feat/add_eiger_jjf
:refactor/refactored_ddg_csaxs
:gac-x12sa_20241004T141251
:docs/csaxs_docs
:progress
:ci/update_with_pkg_job
:ci/security_detection
:update_bl_repos
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
issue::not confirmed
issue::not reproducible
issue::reproducible
priority::critical
priority::needed
priority::nice to have
scope::backend
scope::frontend
stage::in development
stage::on hold
stage::pre_release
stage::ready for review
stage::selected for development
stage::weekly backlog
type::bug
type::discussion
type::doc
type::feature
type::improvement
type::test
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Used if an issue has not yet been confirmed by a developer
Used if an issue is not reproducible
Used if a developer was able to reproduce the issue
Should be done as soon as possible
An important update to the code base
Not really needed but a good improvement
An issue regarding the backend services
An issue regarding the user-facing services
This issue is currently being worked on
Something is blocking the development
For issues that have been merged into a pre-release branch and are waiting for their release.
For issues that have been resolved and are ready for review
This issue has been selected for development but has not been scheduled yet
This issue has been selected for development for the next development cycle
It's a bug!
A discussion is wanted/needed
Improvements to the documentation
A new feature
Neither a feature nor a bug but an improvement to the code base
Missing tests or improvements to the test suite
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
acerbo_a (acerbo_a)
appel_c (appel_c)
bec-gitea
celcer_t (celcer_t)
debenjak_l (debenjak_l)
diaz (diaz)
divall_e (divall_e)
guizar_m (guizar_m)
haghta_s (haghta_s)
holler (holler)
lombosi_c (lombosi_c)
menzel (menzel)
perl_d (perl_d)
usov_i (usov_i)
wakonig_k (wakonig_k)
wang_x1 (wang_x1)
wyzula_j (wyzula_j)
zamofing_t (zamofing_t)
Clear assignees
No Assignees
wyzula_j
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bec/csaxs_bec#208
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "fix/temp-xray-eye-timeout-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
##Description
This is a narrow hotfix for RPC timeouts seen during flOMNI XRayEye alignment gui.
XRayEye now avoids doing potentially blocking BEC/device operations directly on the Qt GUI thread. Those operations are moved to a small background thread path, while the GUI-facing methods return faster to the RPC caller. Live-view setup and Fit tab initialization are also deferred so widget construction and common alignment calls are less likely to block the GUI event loop.
Additional Comments
This is not the final architecture. The new background thread reduces the immediate beamline timeout risk, but it still has lifecycle limitations: running device calls cannot be forcibly interrupted, and shutdown can only wait briefly for them to finish. The proper fix should come from the upcoming
bec_widgetsworker/thread infrastructure.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.