Title: check_conflicting_feature_view_names falsely flags cross-project name conflicts in shared registries · Issue #6209 · feast-dev/feast · GitHub
Open Graph Title: check_conflicting_feature_view_names falsely flags cross-project name conflicts in shared registries · Issue #6209 · feast-dev/feast
X Title: check_conflicting_feature_view_names falsely flags cross-project name conflicts in shared registries · Issue #6209 · feast-dev/feast
Description: Summary In the file-based Registry (sdk/python/feast/infra/registry/registry.py), _check_conflicting_feature_view_names builds a lookup map keyed by feature view name only, without scoping by project. In a shared registry with multiple p...
Open Graph Description: Summary In the file-based Registry (sdk/python/feast/infra/registry/registry.py), _check_conflicting_feature_view_names builds a lookup map keyed by feature view name only, without scoping by proje...
X Description: Summary In the file-based Registry (sdk/python/feast/infra/registry/registry.py), _check_conflicting_feature_view_names builds a lookup map keyed by feature view name only, without scoping by proje...
Opengraph URL: https://github.com/feast-dev/feast/issues/6209
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"check_conflicting_feature_view_names falsely flags cross-project name conflicts in shared registries","articleBody":"**Summary**\n\nIn the file-based Registry (sdk/python/feast/infra/registry/registry.py), `_check_conflicting_feature_view_names` builds a lookup map keyed by feature view name only, without scoping by project. In a shared registry with multiple projects, this causes false ConflictingFeatureViewNames errors when two different projects define feature views with the same name but of different types (e.g., a FeatureView in project A and a StreamFeatureView in project B).\n\n**Problem**\n\nThe helper `_existing_feature_view_names_to_fvs` iterates over all feature views, stream feature views, and on-demand feature views in the entire RegistryProto and builds a dict keyed by fv.spec.name:\n\n```\ndef _existing_feature_view_names_to_fvs(self) -\u003e dict[str, Message]:\n fvs = {}\n for fv in self.cached_registry_proto.feature_views:\n fvs[fv.spec.name] = fv # no project filter\n for sfv in self.cached_registry_proto.stream_feature_views:\n fvs[sfv.spec.name] = sfv # no project filter\n for odfv in self.cached_registry_proto.on_demand_feature_views:\n fvs[odfv.spec.name] = odfv # no project filter\n return fvs\n```\n\n`_check_conflicting_feature_view_names` then uses this map to detect type conflicts. Since the map is not scoped by project, a FeatureView named my_view in project_a and a StreamFeatureView named my_view in project_b will collide in the dict, and applying either one can raise a spurious ConflictingFeatureViewNames error.\n\n**Reproduction**\n\n- Configure a shared file-based registry for two projects (project_a and project_b).\n- In project_a, define a FeatureView named driver_stats.\n- In project_b, define a StreamFeatureView also named driver_stats.\n- Run feast apply for project_b — it raises ConflictingFeatureViewNames even though the two feature views belong to different projects and should not conflict.\n\n**Expected behavior**\nThe name-to-feature-view map should be scoped to the current project so that names from other projects are excluded from the conflict check:\n\n```\nfor fv in self.cached_registry_proto.feature_views:\n if fv.spec.project == project:\n fvs[fv.spec.name] = fv\n```\n\n**Impact**\n\n- Prevents legitimate multi-project deployments from using the same feature view names across projects in a shared registry.\n- Only affects the file-based registry (registry.py). The SQL and Snowflake registries perform conflict detection differently.","author":{"url":"https://github.com/ntkathole","@type":"Person","name":"ntkathole"},"datePublished":"2026-04-01T05:29:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6209/feast/issues/6209"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a06828f8-c07c-eec7-ec58-a5d66c1ba305 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB76:286F17:166770D:1F021ED:6A4DF418 |
| html-safe-nonce | 3e3237b3d95e14ab070963c577222fe7bfb263a36d97026683d363f11d08d8eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjc2OjI4NkYxNzoxNjY3NzBEOjFGMDIxRUQ6NkE0REY0MTgiLCJ2aXNpdG9yX2lkIjoiMjgxNTQ3MzgyNzM2MTcxNTIyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 80837b15f5a47ef475a773b931ed7703cde8019dedb1b6172c3dafd457af4bfb |
| hovercard-subject-tag | issue:4184234615 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6209/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0274c9dbd81f002b35477ccd1cd15f011b3bb4174856db6b7fc236509dee7160/feast-dev/feast/issues/6209 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0274c9dbd81f002b35477ccd1cd15f011b3bb4174856db6b7fc236509dee7160/feast-dev/feast/issues/6209 |
| og:image:alt | Summary In the file-based Registry (sdk/python/feast/infra/registry/registry.py), _check_conflicting_feature_view_names builds a lookup map keyed by feature view name only, without scoping by proje... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntkathole |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width