GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: scope data source operations by project in shared registry by mango766 · Pull Request #6207 · feast-dev/feast

Conversation

@mango766

@mango766 mango766 commented Apr 1, 2026 •
edited by devin-ai-integration Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Summary

Fixes #6206

apply_data_source and delete_data_source in Registry match data sources by name only, without filtering by project. When multiple projects share the same registry and have data sources with the same name (e.g. the default vals_to_add), this causes cross-project overwrites.

Fix

Add the project filter to both methods, consistent with how apply_entity (line 349-352), apply_feature_service (line 447-451), and apply_feature_view (line 779-781) already scope their lookups.

apply_data_source: existing_data_source_proto.name == data_source.name and existing_data_source_proto.project == project

delete_data_source: data_source_proto.name == name and data_source_proto.project == project

Test plan

  • feast apply for project A with data source vals_to_add does not overwrite project B's vals_to_add
  • feast apply for the same project still correctly updates existing data sources
  • Deleting a data source only removes the one in the specified project

Open with Devin

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
easonysliu
fix: scope data source operations by project in shared registry
c39116d
apply_data_source and delete_data_source match by name only, without
filtering by project. When multiple projects share the same registry
and have data sources with the same name, this causes cross-project
overwrites.

Add the project filter to both methods, consistent with how
apply_entity, apply_feature_service, and apply_feature_view already
scope their lookups by both name and project.

Fixes feast-dev#6206
@mango766
mango766 requested a review from a team as a code owner April 1, 2026 05:07
@ntkathole

ntkathole commented Apr 1, 2026

Copy link
Copy Markdown
Member

@mango766 please include tests

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

devin-ai-integration[bot]
devin-ai-integration Bot reviewed Apr 1, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ntkathole

ntkathole commented May 1, 2026

Copy link
Copy Markdown
Member

Fixed via #6322

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ntkathole ntkathole closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@devin-ai-integration devin-ai-integration[bot] devin-ai-integration[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

apply_data_source method matches by name only, without filtering by project in shared registry scenario

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mango766 @ntkathole
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.