René's URL Explorer Experiment


Title: REST feature server drops `feature_view_metadata` when `include_feature_view_version_metadata` is set · Issue #6922 · feast-dev/feast · GitHub

Open Graph Title: REST feature server drops `feature_view_metadata` when `include_feature_view_version_metadata` is set · Issue #6922 · feast-dev/feast

X Title: REST feature server drops `feature_view_metadata` when `include_feature_view_version_metadata` is set · Issue #6922 · feast-dev/feast

Description: Expected Behavior POST /get-online-features (and /search / /retrieve-online-documents with api_version: 2) accepts include_feature_view_version_metadata: true. With that flag set, the response metadata should contain feature_view_metadat...

Open Graph Description: Expected Behavior POST /get-online-features (and /search / /retrieve-online-documents with api_version: 2) accepts include_feature_view_version_metadata: true. With that flag set, the response meta...

X Description: Expected Behavior POST /get-online-features (and /search / /retrieve-online-documents with api_version: 2) accepts include_feature_view_version_metadata: true. With that flag set, the response meta...

Opengraph URL: https://github.com/feast-dev/feast/issues/6922

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"REST feature server drops `feature_view_metadata` when `include_feature_view_version_metadata` is set","articleBody":"## Expected Behavior\n\n`POST /get-online-features` (and `/search` / `/retrieve-online-documents` with `api_version: 2`) accepts `include_feature_view_version_metadata: true`. With that flag set, the response `metadata` should contain `feature_view_metadata`, a list of `{name, version}` entries, like the Python SDK and gRPC paths return. Three things support this:\n\n- `ServingService.proto`: `repeated FeatureViewMetadata feature_view_metadata = 2;  // Only populated when requested`.\n- The `feast/feature_server_utils.py` docstring says `convert_response_to_dict` matches `MessageToDict(proto, preserving_proto_field_name=True)`. The only exception it documents is `double_val` precision. `MessageToDict` does emit `feature_view_metadata`.\n- `RemoteOnlineStore` sends the flag to the server, and its unit test says it does so \"so versioned reads work end-to-end\".\n\n## Current Behavior\n\nThe flag reaches `store.get_online_features(...)`, and `metadata.feature_view_metadata` is filled on the response proto. It is then dropped during JSON serialization. The HTTP response metadata only ever contains `feature_names`, so over REST the flag has no effect.\n\nThe field is lost in three places:\n\n1. `feature_server_utils._metadata_to_dict` only reads `metadata.feature_names`.\n2. `OnlineFeaturesMetadataResponse` in `feature_server.py` has no `feature_view_metadata` field. Before #6015, the endpoint returned a dict through `response_model=OnlineFeaturesResponse`, so this model already filtered the field out. In practice the field has not been returned over REST since the flag was added in #6101.\n3. `RemoteOnlineStore._build_online_response_from_json` (`infra/online_stores/remote.py`) rebuilds the metadata from `feature_names` only. Even if the server returned the field, a client using a remote online store would still lose it.\n\n## Steps to reproduce\n\nMinimal, no server needed (master @ 810391f):\n\n```python\nfrom google.protobuf.json_format import MessageToDict\nfrom feast import proto_json\nfrom feast.feature_server_utils import convert_response_to_dict\nfrom feast.protos.feast.serving.ServingService_pb2 import GetOnlineFeaturesResponse\n\nproto_json.patch()\nr = GetOnlineFeaturesResponse()\nr.metadata.feature_names.val.append(\"trips_today\")\nr.metadata.feature_view_metadata.add(name=\"driver_stats\", version=2)\n\nprint(convert_response_to_dict(r)[\"metadata\"])\n# {'feature_names': ['trips_today']}\nprint(MessageToDict(r, preserving_proto_field_name=True)[\"metadata\"])\n# {'feature_names': ['trips_today'], 'feature_view_metadata': [{'name': 'driver_stats', 'version': 2}]}\n```\n\nEnd to end, with `feast serve` on any repo. The PR's `test_get_online_features_returns_feature_view_version_metadata` checks the same thing through the FastAPI test client:\n\n```bash\ncurl -s -X POST localhost:6566/get-online-features -H 'Content-Type: application/json' -d '{\n  \"features\": [\"driver_hourly_stats:conv_rate\"],\n  \"entities\": {\"driver_id\": [1001]},\n  \"include_feature_view_version_metadata\": true\n}' | jq .metadata\n# {\"feature_names\": [\"driver_id\", \"conv_rate\"]}   \u003c- no feature_view_metadata\n```\n\n### Specifications\n\n- Version: master (810391f), 0.66.x dev\n- Platform: macOS 26.5 arm64, Python 3.11 (not platform specific)\n- Subsystem: Python feature server (REST), remote online store\n\n## Possible Solution\n\n- In `_metadata_to_dict`, emit `feature_view_metadata` when it is non-empty, in the same shape `MessageToDict` uses (default-valued `name`/`version` are omitted).\n- Add `feature_view_metadata: List[FeatureViewMetadataResponse]` to `OnlineFeaturesMetadataResponse` so the OpenAPI schema documents it.\n- In `RemoteOnlineStore._build_online_response_from_json`, parse the field back into the proto.\n\nI have a small PR with regression tests ready and will link it here.\n\n---\n_AI assistance: drafted with an AI coding assistant (Claude). The reproduction above was run locally against the current default branch._\n","author":{"url":"https://github.com/Zhuoxi2000","@type":"Person","name":"Zhuoxi2000"},"datePublished":"2026-10-01T15:00:10Z","url":"https://github.com/feast-dev/feast/issues/6922"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:20a1c663-b620-391a-1dbb-a56d04940252
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D8E:6B7A6:EFCC56:13BC704:6AFE9816
html-safe-nonce5a03062726435ccbeb0b500ec9d202b2046b850f632165c209d1d4d7dfaa6c01
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDhFOjZCN0E2OkVGQ0M1NjoxM0JDNzA0OjZBRkU5ODE2IiwidmlzaXRvcl9pZCI6IjQ3MjkyMjc4NzE5NzU4MDY5OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfba654e80035b2c4fb86434b10c090821c452fa0cbd55e1636a6613f2509d497
hovercard-subject-tagissue:5664299313
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6922/issue_layout
twitter:imagehttps://opengraph.githubassets.com/52df0814b859c995859be1eb12e940dc3065d5092339937db645b490a36aeec7/feast-dev/feast/issues/6922
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52df0814b859c995859be1eb12e940dc3065d5092339937db645b490a36aeec7/feast-dev/feast/issues/6922
og:image:altExpected Behavior POST /get-online-features (and /search / /retrieve-online-documents with api_version: 2) accepts include_feature_view_version_metadata: true. With that flag set, the response meta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZhuoxi2000
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/6922#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6922
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%2Fissues%2F6922
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/6922
Reloadhttps://github.com/feast-dev/feast/issues/6922
Reloadhttps://github.com/feast-dev/feast/issues/6922
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
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6922
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6922
#6927https://github.com/feast-dev/feast/pull/6927
REST feature server drops feature_view_metadata when include_feature_view_version_metadata is sethttps://github.com/feast-dev/feast/issues/6922#top
#6927https://github.com/feast-dev/feast/pull/6927
https://github.com/Zhuoxi2000
Zhuoxi2000https://github.com/Zhuoxi2000
on Oct 1, 2026https://github.com/feast-dev/feast/issues/6922#issue-5664299313
perf: Replace MessageToDict with optimized custom dict builder #6015https://github.com/feast-dev/feast/pull/6015
feat: Add version tracking to FeatureView #6101https://github.com/feast-dev/feast/pull/6101
810391fhttps://github.com/feast-dev/feast/commit/810391f3c028a93254eee5326413b4b9f8e1c5a2
810391fhttps://github.com/feast-dev/feast/commit/810391f3c028a93254eee5326413b4b9f8e1c5a2
https://github.com/Zhuoxi2000
Zhuoxi2000https://github.com/Zhuoxi2000
on Oct 1, 2026https://github.com/feast-dev/feast/issues/6922#issuecomment-5942916341
ntkatholehttps://github.com/ntkathole
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6927https://github.com/feast-dev/feast/pull/6927
on Oct 2, 2026https://github.com/feast-dev/feast/issues/6922#event-32323796645
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/6922
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6922
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.