Skip to content

Add sub controller#7

Merged
LuisFSegalla merged 12 commits intomainfrom
add-sub-controller
Mar 3, 2026
Merged

Add sub controller#7
LuisFSegalla merged 12 commits intomainfrom
add-sub-controller

Conversation

@LuisFSegalla
Copy link
Copy Markdown
Contributor

Added two new sub-controllers for DTC and Scalar parameters and group some of the parameters together.

* status_controller -> scalar_controller - Contains all the scalar
information to be read and configured

* config_controller -> dtc_controller - Contains all the DTC
configurations
@LuisFSegalla LuisFSegalla linked an issue Feb 5, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@GDYendell GDYendell left a comment

Choose a reason for hiding this comment

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

The tests need updating. In the introspection from the parameter tree dump, reduce the number of parameters expected in the root controller and then check the number in the scalar and dtc sub controllers too. Extend this test to validate the scalar and dtc controllers.

Could you make a PR to fastcs-odin for the group name change? I we can make a beta release to point this at so the CI works.

* Updated xspress.json input removing duplicated elements
* Updated tests to check for sub-controllers
* Updated test_xspress_parameter_creation to
test_xspress_attribute_creation
* Capitalized adapter name
* Added command to mock response to avoid errors
Copy link
Copy Markdown
Contributor

@GDYendell GDYendell left a comment

Choose a reason for hiding this comment

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

I think we are ready to merge after these suggestions

@LuisFSegalla
Copy link
Copy Markdown
Contributor Author

I think before we merge we'll need to get FastCS-Odin and FastCS merged, right? Otherwise we'll be missing some features from both repos.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.20%. Comparing base (e511f53) to head (11f023d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   91.83%   94.20%   +2.36%     
==========================================
  Files           4        4              
  Lines          49       69      +20     
==========================================
+ Hits           45       65      +20     
  Misses          4        4              

☔ View full report in Codecov by Sentry.
📢 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.

@LuisFSegalla LuisFSegalla merged commit e4830a5 into main Mar 3, 2026
11 checks passed
@GDYendell GDYendell deleted the add-sub-controller branch March 4, 2026 09:02
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.

Tidy UI

2 participants