Skip to content

Conversation

@squiishyy
Copy link
Contributor

Tracking issue

Why are the changes needed?

What changes were proposed in this pull request?

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@flyte-bot
Copy link
Collaborator

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at [email protected].


.PHONY: buf
buf: buf-dep buf-format buf-lint buf-rust buf-python buf-go buf-ts buf-ts-check
buf: buf-dep buf-format buf-lint buf-rust buf-python buf-go buf-ts buf-ts-check mocks
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding mock generation to this command as mocks gets deleted when running this, so it should also regenerate it (otherwise people will have to run another command to unblock themselves with changes)

@squiishyy squiishyy marked this pull request as ready for review November 14, 2025 22:15
@flyte-bot
Copy link
Collaborator

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at [email protected].

// ONLY ONE of the following value fields should be set.
// Only in the case of a VALUE_IN function, values may contain multiple entries.
repeated string values = 3;
repeated int32 int_values = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

You can make this a OneOf without breaking the wire format (You can even change the field name unless we are using json for requests).. Is the reason you are not so you don't break the code compilation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The main reason is we can't have

oneof values {
  repeated string strings = 3;
  repeated int32 ints = 4;
}

We'd have to wrap these lists in their own proto struct to get it to work :/

Copy link
Contributor

Choose a reason for hiding this comment

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

aaah yes yes I hate that, yes :(

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