Skip to content

Simplify config file params#1699

Open
rtuck99 wants to merge 14 commits into
mainfrom
simplify_config_file_params
Open

Simplify config file params#1699
rtuck99 wants to merge 14 commits into
mainfrom
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.84%. Comparing base (152627f) to head (2b017ab).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           configure_config_server    #1699      +/-   ##
===========================================================
- Coverage                    92.85%   92.84%   -0.02%     
===========================================================
  Files                          156      155       -1     
  Lines                         8566     8550      -16     
===========================================================
- Hits                          7954     7938      -16     
  Misses                         612      612              
Components Coverage Δ
i24 SSX 77.15% <ø> (ø)
hyperion 98.65% <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
@rtuck99 rtuck99 force-pushed the configure_config_server branch from abea743 to 152627f Compare April 28, 2026 14:14
@rtuck99 rtuck99 force-pushed the simplify_config_file_params branch 2 times, most recently from d44597a to 2b017ab Compare April 28, 2026 14:44
Base automatically changed from configure_config_server to main May 7, 2026 15:54
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