fix: Build embedded UI from local source by franciscojavierarceo · Pull Request #6525 · feast-dev/feast
What changed
- Update
make build-uito build the checked-outui/source and copy the generated build intosdk/python/feast/ui/build. - Keep
build-ui-localas an alias for the same build path.
Why
feast ui packages the embedded React app from sdk/python/feast/ui/build. The previous release build target pulled @feast-dev/feast-ui --latest from npm, but npm's latest published package is still 0.57.0. That stale UI treats registryPath as a monolithic registry blob URL, so with the newer Python server generating /api/v1, it requests GET /api/v1 and receives a 404.
Building the embedded UI from the repo-local ui/ source keeps the frontend bundle aligned with the REST-backed Python UI server.
Fixes #6519.
Validation
make -n build-ui
I could not run the full UI build locally because yarn is not installed in this shell.