Skip to content

chore: Remove unused UI wrapper app from the Python SDK - #7184

Merged
ntkathole merged 1 commit into
feast-dev:masterfrom
patelchaitany:chore/remove-ui-wrapper-files
Nov 22, 2026
Merged

ntkathole merged 1 commit into
feast-dev:masterfrom
patelchaitany:chore/remove-ui-wrapper-files

Conversation

@patelchaitany

@patelchaitany patelchaitany commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Removes the unused React wrapper app from sdk/python/feast/ui and switches Dockerfile.dev to make build-ui.

sdk/python/feast/ui held a small wrapper app (package.json, yarn.lock, .yarnrc, src/, public/, README.md) around the published @feast-dev/feast-ui package. feast ui never reads these files. It only serves sdk/python/feast/ui/build, which make build-ui builds from the root ui/ folder. The wrapper still pins old npm packages (@feast-dev/feast-ui 0.57.0, react-scripts 5 and their lockfile), and security scanners flag them as CVEs in the shipped Python package.

Changes:

  • Delete the wrapper files. Only sdk/python/feast/ui/__init__.py stays. build/ is still created by make build-ui and shipped through MANIFEST.in, as before.
  • Dockerfile.dev: this was the only thing still using the wrapper (through yalc). It now runs make build-ui, the same step the wheel build uses. yalc is dropped and make is added. It also installs Node 22 from the UBI nodejs:22 module stream to match ui/.nvmrc. UBI9's default npm package brings Node 16, which yarn rejects for the root ui/ dependencies. The old flow got past that only because npm install warns on engine mismatches instead of failing.
  • .releaserc.js: remove the deleted package.json and yarn.lock from the release commit assets.
  • ui/CONTRIBUTING.md: stop pointing at the wrapper folder and describe the make build-ui flow.

The regular multicloud/Dockerfile needs no change. It installs feast from PyPI, and that wheel already ships the built UI.

Which issue(s) this PR fixes:

N/A

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

Manual tests:

  • Python SDK: ran make build-ui from a clean UI build, then built the wheel from a clean clone. The wheel's feast/ui/ contains only __init__.py and build/ (1,041 files). Installed it in a fresh venv and ran feast init, feast apply and feast ui. The UI loaded the demo project and listed its feature views from the registry, with no console errors.
  • Dockerfile.dev: built the image (linux/arm64) from a clean clone, so no local build output could leak into the context. Inside the image, feast/ui/ contains only __init__.py and build/, and no node_modules is left behind. Ran feast ui in the container against a demo repo. The UI loaded with the same data and no console errors.

Misc

Downstream forks that carry their own edits to Dockerfile.dev will get a small merge conflict when they sync this change. To resolve it, keep both sets of lines.


Devin Review

@patelchaitany
patelchaitany requested a review from a team as a code owner November 19, 2026 09:37

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@codecov-commenter

codecov-commenter commented Nov 19, 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 53.67%. Comparing base (7e7208b) to head (95fc98b).
⚠️ 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    #7184   +/-   ##
=======================================
  Coverage   53.67%   53.67%           
=======================================
  Files         462      462           
  Lines       58549    58549           
  Branches     8634     8634           
=======================================
  Hits        31424    31424           
  Misses      24988    24988           
  Partials     2137     2137           
Flag Coverage Δ
go-feature-server 30.96% <ø> (ø)
python-unit 55.25% <ø> (ø)

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 7e7208b...95fc98b. 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.

@haoxu0 haoxu0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. The unused wrapper removal and updated UI build path look sound. Unit, integration, Docker smoke, and packaging checks provide good coverage for the change.

The files in sdk/python/feast/ui (package.json, yarn.lock, .yarnrc,
src/, public/, README.md) were a small React wrapper around the
published @feast-dev/feast-ui package. `feast ui` never reads them: it
only serves sdk/python/feast/ui/build, which `make build-ui` produces
from the root ui/ folder. The wrapper still pinned old npm packages,
which security scanners flag as CVEs in the shipped package.

Dockerfile.dev was the only thing still using the wrapper (through
yalc). Switch it to `make build-ui`, the same step the wheel build
uses, and drop the wrapper files from the release commit assets.
Dockerfile.dev now installs Node 22 from the UBI nodejs:22 module
stream to match ui/.nvmrc, because yarn rejects the default Node 16.

Also update ui/CONTRIBUTING.md, which still pointed at the wrapper.

Signed-off-by: Chaitany Patel <patelchaitany93@gmail.com>
@ntkathole
ntkathole force-pushed the chore/remove-ui-wrapper-files branch from 6f22d23 to 95fc98b Compare November 22, 2026 04:24
@ntkathole
ntkathole merged commit 5693421 into feast-dev:master Nov 22, 2026
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants