Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we have protocol version on actor def reads #18206

Merged
merged 3 commits into from
Oct 20, 2022

Conversation

gosusnp
Copy link
Contributor

@gosusnp gosusnp commented Oct 20, 2022

What

Connectors that have not been updated for a long time may not have a protocol version which can lead to some issues.
This is probably a corner case for older deploys but worth protecting.

How

Make sure we at least have a default version when reading actor defs.

Copy link
Contributor

@jdpgrailsdev jdpgrailsdev left a comment

Choose a reason for hiding this comment

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

:shipit: I really wish that we could mix in a SupportsProtocolVersion interface to apply to the StandardSourceDefinition and StandardDestinationDefinition to reduce the code duplication. Perhaps at some point we need to revisit the consolidation of the two into Actors to help with this, but definitely way out of the scope of this PR.

@gosusnp gosusnp temporarily deployed to more-secrets October 20, 2022 14:04 Inactive
@gosusnp
Copy link
Contributor Author

gosusnp commented Oct 20, 2022

@jdpgrailsdev, I agree, consolidating sounds like a good idea, one thing on my list for some down time refactoring.

@gosusnp gosusnp temporarily deployed to more-secrets October 20, 2022 15:43 Inactive
@gosusnp gosusnp temporarily deployed to more-secrets October 20, 2022 17:53 Inactive
@gosusnp gosusnp merged commit 9d20fa3 into master Oct 20, 2022
@gosusnp gosusnp deleted the gosusnp/add-version-default-on-read branch October 20, 2022 18:48
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
* Ensure we have protocol version on actor def reads

* Fix null ref
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