Skip to content

Conversation

@xiaofei-du
Copy link
Member

@xiaofei-du xiaofei-du commented Jan 28, 2026

Because

  • Fix user update to preserve immutable fields (UID, ID) during updates
  • Enable repository method mocking for better testability
  • Support new profile fields (metadata, full_name) in protobuf

This commit

  • Update protogen-go dependency with new profile fields
  • Sync integration test proto with protobufs
  • Refactor PBAuthenticatedUser2DBUser to accept existingUser parameter
  • Export repository methods (CreateOwner, UpdateOwner, etc.)

@xiaofei-du xiaofei-du requested a review from pinglin as a code owner January 28, 2026 08:59
Because

- metadata and full_name are EE-only features for analytics tracking
- CE should not contain these fields in datamodel or database
- Protobuf definitions are shared but CE leaves them unpopulated

This commit

- Update protogen-go dependency with new profile fields
- Sync integration test proto with protobufs
- Refactor PBAuthenticatedUser2DBUser to accept existingUser parameter
- Add unit tests for user conversion logic
- Export repository methods for EE mockability
- Remove CheckResourceID from CheckNamespace handler
@xiaofei-du xiaofei-du merged commit 6058c8c into main Jan 28, 2026
7 checks passed
@xiaofei-du xiaofei-du deleted the xiaofei/user-field branch January 28, 2026 10:01
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.

2 participants