Skip to content

Simplify config file params#1699

Open
rtuck99 wants to merge 10 commits intoconfigure_config_serverfrom
simplify_config_file_params
Open

Simplify config file params#1699
rtuck99 wants to merge 10 commits intoconfigure_config_serverfrom
simplify_config_file_params

Conversation

@rtuck99
Copy link
Copy Markdown
Contributor

@rtuck99 rtuck99 commented Apr 16, 2026

This simplifies setup of various config file configuration points by removing redundant points of configuration, so that it is easier to fix the system tests.

Requires:

This introduces some potentially breaking changes in the parameter model but I don't believe these parameters are actually being used anywhere and are left at their defaults.

Breaking changes:

  • Remove det_dist_to_beam_converter_path and insertion_prefix from WithVisit

Other changes:

  • Remove load_panda_from_yaml() in favour of the identical dodal function
  • Remove TEST_MODE from mx_bluesky.hyperion.parameters.constants and support for HYPERION_TEST_MODE env var
  • Remove unused BEAMLINE and INSERTION_PREFIX from I03Constants
  • Make DetectorParamConstants.BEAM_XY_LUT_PATH always use the production value instead of depending on TEST_MODE
  • Remove GDA_DOMAIN_PROPERTIES_PATH

Instructions to reviewer on how to test:

  1. Tests pass

Checks for reviewer

  • Would the PR title make sense to a user on a set of release notes

@rtuck99 rtuck99 added the dev experience Changes relating to developer experience label Apr 16, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.87%. Comparing base (abea743) to head (6279503).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           configure_config_server    #1699      +/-   ##
===========================================================
- Coverage                    92.88%   92.87%   -0.02%     
===========================================================
  Files                          155      154       -1     
  Lines                         8509     8493      -16     
===========================================================
- Hits                          7904     7888      -16     
  Misses                         605      605              
Components Coverage Δ
i24 SSX 77.35% <ø> (ø)
hyperion 98.59% <100.00%> (-0.01%) ⬇️
other 98.30% <100.00%> (-0.01%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rtuck99 rtuck99 marked this pull request as ready for review April 16, 2026 15:48
@rtuck99 rtuck99 requested a review from a team as a code owner April 16, 2026 15:48
@rtuck99 rtuck99 mentioned this pull request Apr 16, 2026
1 task
@rtuck99 rtuck99 requested a review from noemifrisina April 16, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev experience Changes relating to developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant