Skip to content

chore: remove bluesky emitter as it is not used anywhere#799

Open
wakonig wants to merge 1 commit intomainfrom
chore/remove_bluesky_emitter
Open

chore: remove bluesky emitter as it is not used anywhere#799
wakonig wants to merge 1 commit intomainfrom
chore/remove_bluesky_emitter

Conversation

@wakonig
Copy link
Member

@wakonig wakonig commented Mar 22, 2026

We can re-add it if we see a use case for it but in its current state it is not very useful and requires some legacy code I'd like to get rid of.

@wakonig wakonig force-pushed the chore/remove_bluesky_emitter branch from 2799898 to 14e4791 Compare March 22, 2026 10:52
@wakonig wakonig marked this pull request as ready for review March 22, 2026 10:52
Copilot AI review requested due to automatic review settings March 22, 2026 10:52
@wakonig wakonig self-assigned this Mar 22, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the unused Bluesky emitter integration from the scan bundler, along with its associated per-scan state and tests, to reduce legacy/unused code.

Changes:

  • Remove BlueskyEmitter implementation and stop initializing it in ScanBundler.
  • Remove ScanBundler.scan_motors state and related initialization/cleanup logic.
  • Delete Bluesky emitter unit tests and adjust scan bundler tests accordingly.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
bec_server/bec_server/scan_bundler/scan_bundler.py Stops importing/initializing BlueskyEmitter and removes scan_motors storage usage.
bec_server/bec_server/scan_bundler/bluesky_emitter.py Removes the unused BlueskyEmitter implementation.
bec_server/tests/tests_scan_bundler/test_bluesky_emitter.py Removes tests that only apply to the deleted emitter.
bec_server/tests/tests_scan_bundler/test_scan_bundler.py Updates tests to no longer depend on scan_motors being stored in the bundler.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wakonig wakonig force-pushed the chore/remove_bluesky_emitter branch from 14e4791 to 1ad993a Compare March 22, 2026 10:56
@wakonig wakonig requested a review from a team March 22, 2026 10:57
@wakonig wakonig force-pushed the chore/remove_bluesky_emitter branch from 97a5b43 to 1ad993a Compare March 22, 2026 11:01
@codecov
Copy link

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants