test(xrayeye): keep the ellipse-ROI test items in a module-lifetime QGraphicsScene #336

Merged
holler merged 1 commits from fix/xrayeye-roi-test-gc into main 2026-10-20 15:34:37 +02:00
Member

Unparented pyqtgraph ROIs could be garbage-collected while the next ROI was being
built, which crashed PySide6 in CI with --random-order (segfault in
GraphicsObject.itemChange during garbage collection). Test logic unchanged.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01TNtKEk4jAyjebMDQFwRHJQ

Unparented pyqtgraph ROIs could be garbage-collected while the next ROI was being built, which crashed PySide6 in CI with --random-order (segfault in GraphicsObject.itemChange during garbage collection). Test logic unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TNtKEk4jAyjebMDQFwRHJQ
holler added 1 commit 2026-10-20 15:19:46 +02:00
test(xrayeye): keep the ellipse-ROI test items in a module-lifetime QGraphicsScene
CI for csaxs_bec / test (push) Successful in 4m21s
CI for csaxs_bec / test (pull_request) Successful in 4m25s
14109fc912
Unparented pyqtgraph ROIs could be garbage-collected while the next ROI was being
built, which crashed PySide6 in CI with --random-order (segfault in
GraphicsObject.itemChange during garbage collection). Test logic unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNtKEk4jAyjebMDQFwRHJQ
holler merged commit 7c6cda681c into main 2026-10-20 15:34:37 +02:00
holler deleted branch fix/xrayeye-roi-test-gc 2026-10-20 15:34:38 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#336