Skip to content

fix: Added UIServer type to wrap UI server configuration in FeatureSt… - #6727

Open
AdityaPatil22 wants to merge 2 commits into
feast-dev:masterfrom
AdityaPatil22:fix/ui-container-format-change
Open

fix: Added UIServer type to wrap UI server configuration in FeatureSt…#6727
AdityaPatil22 wants to merge 2 commits into
feast-dev:masterfrom
AdityaPatil22:fix/ui-container-format-change

Conversation

@AdityaPatil22

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Introduces a new UIServer wrapper type for the UI server configuration in the FeatureStore CRD, making it consistent with how other services (OfflineStore, OnlineStore, Registry) are structured.

Previously, the UI field in FeatureStoreServices was directly typed as *ServerConfigs, while all other services use a wrapper struct containing a Server *ServerConfigs field. This inconsistency made it harder to extend the UI configuration in the future (e.g., adding UI-specific fields beyond server configs).

Changes:

  • Added UIServer struct with a Server *ServerConfigs field in both v1 and v1alpha1 API versions
  • Updated FeatureStoreServices.UI field type from *ServerConfigs to *UIServer
  • Updated all service logic (services.go, tls.go, util.go) to access UI.Server instead of UI directly
  • Added nil-safety checks in uiOpenshiftTls() for the new nesting level
  • Updated API reference documentation (ref.md)
  • Updated sample YAML to reflect the new nesting (ui.server.logLevel instead of ui.logLevel)
  • Updated all affected tests

Which issue(s) this PR fixes:
Fixes #6725

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Misc

This is a breaking change to the CRD schema. Users with existing FeatureStore CRs that configure spec.services.ui will need to update their manifests to nest the server configuration under spec.services.ui.server.

@AdityaPatil22
AdityaPatil22 requested a review from a team as a code owner August 11, 2026 11:41
@codecov-commenter

codecov-commenter commented Aug 11, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.80%. Comparing base (39d408d) to head (67dfcd1).
⚠️ Report is 1 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6727      +/-   ##
==========================================
+ Coverage   46.79%   46.80%   +0.01%     
==========================================
  Files         415      415              
  Lines       50395    50397       +2     
  Branches     7215     7215              
==========================================
+ Hits        23581    23590       +9     
+ Misses      25162    25155       -7     
  Partials     1652     1652              
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 48.13% <ø> (+0.01%) ⬆️
see 1 file with indirect coverage changes

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39d408d...67dfcd1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AdityaPatil22
AdityaPatil22 force-pushed the fix/ui-container-format-change branch from 12a1ae7 to c1f5a08 Compare August 11, 2026 13:27
Signed-off-by: Aditya Patil <adityapatil7649@gmail.com>
@AdityaPatil22
AdityaPatil22 force-pushed the fix/ui-container-format-change branch from c1f5a08 to e219198 Compare August 11, 2026 14:10
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.

Feast UI container in a different format from ther others

2 participants