Skip to content

feat: Add optional 'org' in feature view (#6288)#6301

Open
nquinn408 wants to merge 6 commits intofeast-dev:masterfrom
nquinn408:add-optional-org
Open

feat: Add optional 'org' in feature view (#6288)#6301
nquinn408 wants to merge 6 commits intofeast-dev:masterfrom
nquinn408:add-optional-org

Conversation

@nquinn408
Copy link
Copy Markdown
Contributor

@nquinn408 nquinn408 commented Apr 20, 2026

@nquinn408 nquinn408 self-assigned this Apr 20, 2026
@nquinn408 nquinn408 requested a review from a team as a code owner April 20, 2026 21:36
@nquinn408 nquinn408 changed the title feat: Add optional in feature view (#6288) feat: Add optional "org" in feature view (#6288) Apr 20, 2026
@nquinn408 nquinn408 changed the title feat: Add optional "org" in feature view (#6288) feat: Add optional 'org' in feature view (#6288) Apr 20, 2026
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

🐛 1 issue in files not directly in the diff

🐛 Compiled Python protobuf files not regenerated after adding org field to FeatureView.proto (sdk/python/feast/protos/feast/core/FeatureView_pb2.py:22)

The .proto file adds string org = 19 to FeatureViewSpec, but the compiled Python protobuf files (FeatureView_pb2.py and FeatureView_pb2.pyi) were not regenerated. The FeatureView_pb2.pyi shows no ORG_FIELD_NUMBER, no org attribute, and no org parameter in __init__. The serialized descriptor in FeatureView_pb2.py still only covers fields up to version (field 18).

This causes runtime failures in two places:

  1. to_proto_spec() at sdk/python/feast/feature_view.py:495 passes org=self.org to FeatureViewSpecProto(...), which will raise ValueError because the proto descriptor doesn't know about org.
  2. _from_proto_internal() at sdk/python/feast/feature_view.py:622 and sdk/python/feast/feature_view.py:645 reads feature_view_proto.spec.org, which will raise AttributeError.

This also violates the AGENTS.md rule: "Recompile protos after making changes to .proto files."

View 3 additional findings in Devin Review.

Open in Devin Review

@nquinn408 nquinn408 force-pushed the add-optional-org branch 6 times, most recently from 1c01636 to e1b4786 Compare April 25, 2026 02:06
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
owner: The owner of the on demand feature view, typically the email of the primary
maintainer.
org: The organizational unit that owns this on demand feature view (e.g. "ads",
"search"). Defaults to empty string.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

don't we want same for StreamFeatureView as well ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants