Skip to content

chore: add blueapi version to metadata - #1822

Merged
shree-iyengar-dls merged 2 commits into
mainfrom
1749_add_blueapi_version_to_metadata
Dec 2, 2026
Merged

shree-iyengar-dls merged 2 commits into
mainfrom
1749_add_blueapi_version_to_metadata

Conversation

@shree-iyengar-dls

@shree-iyengar-dls shree-iyengar-dls commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1749

What and why

Currently, ophyd, bluesky, event_model and ophyd_async versions can be seen (these are generated by Bluesky's RE). In response to a DAQ engineer's issues when requesting plans, this PR adds the blueapi version to the metadata which can be useful for debugging

Instructions to reviewer on how to test:

  1. Run uv run python -c "from blueapi.core.context import BlueskyContext; print(BlueskyContext().run_engine.md.get('versions'))"
  2. The above command should return: {'ophyd': '1.11.2', 'ophyd_async': '0.21.3', 'bluesky': '1.16.0', 'event_model': '1.24.0', 'blueapi': '1.22.1.dev37+g32e1cf10f.d20261201'}

Breaking changes

Checks for author

  • Tests added or updated, and coverage has not dropped
  • Docs updated if behaviour, config or the API changed

Checks for reviewer

  • Would the PR title make sense to a user on a set of release notes
  • Are breaking changes clearly described above

@shree-iyengar-dls
shree-iyengar-dls requested a review from a team as a code owner December 1, 2026 14:51
@DiamondLightSource DiamondLightSource deleted a comment from coderabbitai Bot Dec 1, 2026
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.32%. Comparing base (8de6657) to head (737193e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1822   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          50       50           
  Lines        3832     3833    +1     
=======================================
+ Hits         3691     3692    +1     
  Misses        141      141           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shree-iyengar-dls
shree-iyengar-dls added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit c10eeb8 Dec 2, 2026
21 checks passed
@shree-iyengar-dls
shree-iyengar-dls deleted the 1749_add_blueapi_version_to_metadata branch December 2, 2026 11:21
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.

Include blueapi version in metadata

2 participants