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

Send version information in connection parameters #29

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

benjaminwood
Copy link
Contributor

@benjaminwood benjaminwood commented Dec 29, 2023

Warning

This requires a change in the selective-ruby-rspec gem, which is not yet released: selectiveci/selective-ruby-rspec#14. The specs here will fail until that is merged.

Unfortunately we can't use the gemspec to ensure that a new version of the core gem which includes this change cannot be used with an older version of selective-ruby-rspec that does not have the dependent methods (such as #framework). This is because it's selective-ruby-rspec that has a dependency on core, not the other way around.

Given that we're in the alpha testing stage with limited users, we may get away with just releasing both gems and expecting both gems to be updated when testers bundle update selective-ruby-rspec. However, this won't be a great idea in the future when we have a more diverse install-base . The best we could do is implement changes like this in a compatible way. For example, do not add the new information if the framework wrapper gem (selective-ruby-rspec) doesn't have the methods we need.

@benjaminwood benjaminwood self-assigned this Dec 29, 2023
Copy link
Contributor

@natevick natevick left a comment

Choose a reason for hiding this comment

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

Whenever it’s green, :shipit:

This requires a change in the selective-ruby-rspec gem, which is not
yet released. We'll need to consider how to handle this scenario so that
we do not break the gem for users who are not using the latest version.

Co-authored-by: Nate Vick <nate.vick@hint.io>
@benjaminwood benjaminwood merged commit db9c4ee into main Dec 30, 2023
4 checks passed
@benjaminwood benjaminwood deleted the send-version-information branch December 30, 2023 23:13
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