fix: Read project data from the 'projects' key while loading the registry state in the Feast UI #4772
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Starting from 0.41.x releases, the Feast UI is no longer able to load the project summary in the projects overview / landing page. The reason why this is happening is that, after some changes from #4475 got merged into
master
, theRegistry
class is unable to build and persist the project's metadata to the backend used as the registry through its method_prepare_registry_for_changes
- this behavior has been observed in, at least, thefile
registry, but it might be applicable to others as well.Since project's metadata is not generated, and the
useLoadRegistry
function from the UI is expecting those metadata to exist, the UI fails to render the Project Overview page and hints that the issue might be in thefeature_store.yaml
, which is not the case.The purpose of this PR is pretty simple: make the UI extract the project information from the
projects
array instead of theprojectMetadata
object while it is refreshing the registry state. With this tiny fix in place, the UI renders components as usual.Which issue(s) this PR fixes:
Fixes #4743