René's URL Explorer Experiment


Title: fix: Provision online store infra for remote feast apply by RishabhCodezZz · Pull Request #6772 · feast-dev/feast · GitHub

Open Graph Title: fix: Provision online store infra for remote feast apply by RishabhCodezZz · Pull Request #6772 · feast-dev/feast

X Title: fix: Provision online store infra for remote feast apply by RishabhCodezZz · Pull Request #6772 · feast-dev/feast

Description: What this PR does / why we need it: feast apply against online_store: type: remote registers feature views in the registry but never creates their backing tables. A subsequent feast materialize fails with HTTP 500 (sqlite3.OperationalError: no such table). Root cause: RemoteOnlineStore.update() and teardown() were both pass — no provisioning call was ever forwarded to the server. The feature server refreshes the registry via async_refresh() but never calls update_infra(). Since table DDL lives exclusively in each concrete store's update() method, this affects every online store behind type: remote, not just SQLite. Fix: RemoteOnlineStore.update() and teardown() now call two new feature server endpoints (/update-infra and /teardown-infra) that run the real provisioning against the server's online store. Objects travel in the request body as base64-encoded protobufs rather than being looked up by name, because FeatureStore.apply() calls update_infra() before registry.commit() — at that point the server can't see them yet. Authorization reuses existing CREATE/DELETE actions (no new permissions). Changes: File Change feast/infra/online_stores/remote.py Implemented update() and teardown(); added encode/decode helpers and HTTP functions feast/feature_server.py Added POST /update-infra and POST /teardown-infra endpoints with request models tests/integration/.../test_remote_online_store_provisioning.py New end-to-end regression test covering both endpoints tests/unit/.../test_remote_online_store.py +7 unit tests (serialization roundtrip, success/error/rejection paths) docs/reference/feature-servers/python-feature-server.md Documented new endpoints Why the existing test didn't catch this: test_remote_online_store_read_write applies driver_hourly_stats, which the server already provisioned during its own setup. The table exists before the remote client touches it. The new test applies a name the server has never seen, and asserts against the server's own SQLite file rather than inferring success from a write returning 200. Notes for reviewers Two deliberate choices worth calling out, both easy to change if you would rather go the other way: 1. The endpoints call provider.update_infra() / provider.teardown_infra(), not just the online store. PassthroughProvider.update_infra() also invokes batch_engine.update(). For the default engine that is a no-op, but for engines that provision real resources this means a remote feast apply now provisions batch-engine infra server-side too. I think that is right — in remote mode the server is the side that actually holds the infra config — but it is broader than the "online store" framing in the title, so say the word if you would prefer it narrowed to online_store.update(). 2. Version skew is now a loud failure instead of a silent one. A client on this version talking to a feature server that predates these endpoints gets a 404, which surfaces as a RuntimeError out of feast apply. Previously the call silently did nothing and the problem only showed up later as no such table during materialization. Failing at apply time seems strictly better, but it is a behaviour change for mixed-version deployments and probably deserves a release note. Which issue(s) this PR fixes: Fixes #6693 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 Design choice approved by @yuan1j in #6693 — Option A (client-driven, synchronous provisioning via new endpoints). The first two commits are ordered red-then-green: the failing test lands first, the fix second, so the git history itself proves the test catches the bug. The third commit addresses review feedback — entity-level authorization on both endpoints, caching the lazily-built type map, and extending the integration test to assert the table is present after apply and gone after teardown, so both new endpoints are covered end to end.

Open Graph Description: What this PR does / why we need it: feast apply against online_store: type: remote registers feature views in the registry but never creates their backing tables. A subsequent feast materialize fai...

X Description: What this PR does / why we need it: feast apply against online_store: type: remote registers feature views in the registry but never creates their backing tables. A subsequent feast materialize fai...

Opengraph URL: https://github.com/feast-dev/feast/pull/6772

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:01706272-28e0-e733-350a-6a425a65504f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9020:18C54E:10FA67F:1670606:6AFEA26D
html-safe-nonce42a23fd3d3d5f8bcdb92358880ea1a4083ff84eaec8368c695c483139ea1415a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDIwOjE4QzU0RToxMEZBNjdGOjE2NzA2MDY6NkFGRUEyNkQiLCJ2aXNpdG9yX2lkIjoiNDg4NzQ3NTg3NjU0ODIwNDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3a8c2789c8aa9bc36b374a5586c71451b75a278b6efb011f257e6b96933989e6
hovercard-subject-tagpull_request:4333501031
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6772/files
twitter:imagehttps://avatars.githubusercontent.com/u/158596025?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/158596025?s=400&v=4
og:image:altWhat this PR does / why we need it: feast apply against online_store: type: remote registers feature views in the registry but never creates their backing tables. A subsequent feast materialize fai...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3f25273206cd841171bca0002261ae4c9757d934
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6772/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6772%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6772%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6772/files
Reloadhttps://github.com/feast-dev/feast/pull/6772/files
Reloadhttps://github.com/feast-dev/feast/pull/6772/files
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
RishabhCodezZzhttps://github.com/RishabhCodezZz
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
RishabhCodezZz:fix/6693-remote-online-store-provisioninghttps://github.com/RishabhCodezZz/feast/tree/fix/6693-remote-online-store-provisioning
Conversation 13 https://github.com/feast-dev/feast/pull/6772
Commits 10 https://github.com/feast-dev/feast/pull/6772/commits
Checks 1 https://github.com/feast-dev/feast/pull/6772/checks
Files changed https://github.com/feast-dev/feast/pull/6772/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6772/files
fix: Provision online store infra for remote feast apply https://github.com/feast-dev/feast/pull/6772/files#top
Show all changes 10 commits https://github.com/feast-dev/feast/pull/6772/files
e17717b test: Add failing regression test for remote online store provisioning RishabhCodezZz Aug 19, 2026 https://github.com/feast-dev/feast/pull/6772/commits/e17717b5c977348c619e0c48988c3f68ecc096aa
bd367e4 fix: Provision online store infra for remote feast apply RishabhCodezZz Aug 19, 2026 https://github.com/feast-dev/feast/pull/6772/commits/bd367e48d8f412d6ea65f2c04cd20d6e58ddfa2e
70459ce fix: Authorize entities on infra endpoints and cover teardown end to end RishabhCodezZz Aug 22, 2026 https://github.com/feast-dev/feast/pull/6772/commits/70459ce8b7ef39cd05ab7ecea956dd7b1a6a9014
0b4f414 Merge branch 'master' into fix/6693-remote-online-store-provisioning RishabhCodezZz Aug 22, 2026 https://github.com/feast-dev/feast/pull/6772/commits/0b4f414e18088f1c831129ae93fde578d4f94ccb
1b49643 Merge branch 'master' into fix/6693-remote-online-store-provisioning RishabhCodezZz Aug 25, 2026 https://github.com/feast-dev/feast/pull/6772/commits/1b496434a938d36cc97fc394052d31f618cb8917
f24aadf fix: Never unpickle or exec a UDF from an infra-provisioning payload RishabhCodezZz Sep 15, 2026 https://github.com/feast-dev/feast/pull/6772/commits/f24aadf144e5a40c39a7b01a177656f76cd95618
51813b8 docs: List Entity as an authorized resource on infra endpoints RishabhCodezZz Sep 15, 2026 https://github.com/feast-dev/feast/pull/6772/commits/51813b8b45c8edf662f5e168650e768bb0764e90
e12d944 Merge branch 'master' into fix/6693-remote-online-store-provisioning RishabhCodezZz Sep 20, 2026 https://github.com/feast-dev/feast/pull/6772/commits/e12d94428f4afdc0b8a03a48beb283d3426d31d7
ec1c38e Merge branch 'master' into fix/6693-remote-online-store-provisioning RishabhCodezZz Sep 21, 2026 https://github.com/feast-dev/feast/pull/6772/commits/ec1c38e14d42be41a2ef98395a157496cb66ed58
bc3c19a fix: Harden remote online store provisioning RishabhCodezZz Oct 19, 2026 https://github.com/feast-dev/feast/pull/6772/commits/bc3c19a7bf7c68e55f8c1de88320c77c71b2014d
Clear filters https://github.com/feast-dev/feast/pull/6772/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6772/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6772/files
python-feature-server.md https://github.com/feast-dev/feast/pull/6772/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
feature_server.py https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
remote.py https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
test_remote_online_store.py https://github.com/feast-dev/feast/pull/6772/files#diff-beab92b9d6c966ff5f8911a97b744554e64cd9e0c8d66b1a3122a751e2e46967
test_remote_online_store_provisioning.py https://github.com/feast-dev/feast/pull/6772/files#diff-c099fd9449851df70acaf5c0942ee403cfdff729be981984a3ff43b76975a87c
test_remote_online_store.py https://github.com/feast-dev/feast/pull/6772/files#diff-8da3cbcb06e433272082c1f54769c3b28c2c0e950ff1e9bfb0aa7e94d6858095
test_feature_server_provisioning.py https://github.com/feast-dev/feast/pull/6772/files#diff-b5552d41c82018e6b73c1ff000fb6baf47d8d71a7ae052dd3acff4fa3d43168f
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L4
docs/reference/feature-servers/python-feature-server.mdhttps://github.com/feast-dev/feast/pull/6772/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
View file https://github.com/feast-dev/feast/blob/bc3c19a7bf7c68e55f8c1de88320c77c71b2014d/docs/reference/feature-servers/python-feature-server.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6772/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6772/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/feature_server.pyhttps://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
View file https://github.com/feast-dev/feast/blob/bc3c19a7bf7c68e55f8c1de88320c77c71b2014d/sdk/python/feast/feature_server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6772/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6772/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/online_stores/remote.pyhttps://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
View file https://github.com/feast-dev/feast/blob/bc3c19a7bf7c68e55f8c1de88320c77c71b2014d/sdk/python/feast/infra/online_stores/remote.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6772/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/pull/6772/files#diff-18c802bf316b380e9ad6c1f16e00416ef95fa998564e8a3a6488f1a149dcbcf6
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/integration/online_store/test_remote_online_store.pyhttps://github.com/feast-dev/feast/pull/6772/files#diff-beab92b9d6c966ff5f8911a97b744554e64cd9e0c8d66b1a3122a751e2e46967
View file https://github.com/feast-dev/feast/blob/bc3c19a7bf7c68e55f8c1de88320c77c71b2014d/sdk/python/tests/integration/online_store/test_remote_online_store.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6772/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6772/files#diff-beab92b9d6c966ff5f8911a97b744554e64cd9e0c8d66b1a3122a751e2e46967
https://github.com/feast-dev/feast/pull/6772/files#diff-beab92b9d6c966ff5f8911a97b744554e64cd9e0c8d66b1a3122a751e2e46967
Please reload this pagehttps://github.com/feast-dev/feast/pull/6772/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.