Skip to content

Conversation

nunogois
Copy link
Member

@nunogois nunogois commented Sep 16, 2024

https://linear.app/unleash/issue/2-2644/correctly-resolve-variant-stickiness-from-strategy-in-ruby-sdk

When bumping the client spec in #197 to the latest version I noticed we were not being 100% compliant. The reason for it seemed to be the fact that we're not respecting custom strategy stickiness when resolving variants, as running the spec tests multiple times sometimes returned the wrong variant in those tests.

See:

This PR applies a similar change to the Ruby SDK, bumping the client spec to the latest version.

@coveralls
Copy link

coveralls commented Sep 16, 2024

Pull Request Test Coverage Report for Build 10885454224

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 97.198%

Totals Coverage Status
Change from base Build 10885424797: 0.04%
Covered Lines: 2567
Relevant Lines: 2641

💛 - Coveralls

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

Nice!

Base automatically changed from chore-variants-feature-enabled to main September 16, 2024 14:01
@nunogois nunogois force-pushed the chore-variant-custom-strategy-stickiness branch from 76c673b to 1403548 Compare September 16, 2024 14:02
@nunogois nunogois merged commit ca92e2a into main Sep 17, 2024
39 checks passed
@nunogois nunogois deleted the chore-variant-custom-strategy-stickiness branch September 17, 2024 07:32
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