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

fix: force get variant is back #493

Merged
merged 2 commits into from
Jul 19, 2023
Merged

fix: force get variant is back #493

merged 2 commits into from
Jul 19, 2023

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Jul 19, 2023

About the changes

forceGetVariant should still be used in proxy/frontend API because it's not emitting impression events. The only difference is that it now evaluates the toggle under the hood (for the strategy variants support) because the experiments confirmed it's not skewing % distribution. I'm afraid that if we switch proxy and frontend SDK to getVariant the impression event will be emitted twice from the client SDK AND frontend API/proxy

Important files

Discussion points

@sonatype-lift
Copy link

sonatype-lift bot commented Jul 19, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@github-actions
Copy link

github-actions bot commented Jul 19, 2023

Coverage Status

coverage: 91.295%. remained the same when pulling 2d77519 on force-get-variant into 69ddeef on main.

thomasheartman
thomasheartman previously approved these changes Jul 19, 2023
Copy link
Contributor

@thomasheartman thomasheartman left a comment

Choose a reason for hiding this comment

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

Looks nice 😄

@kwasniew kwasniew merged commit 548c9af into main Jul 19, 2023
5 checks passed
@kwasniew kwasniew deleted the force-get-variant branch July 19, 2023 08:02
renovate bot added a commit to Unleash/unleash that referenced this pull request Aug 1, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [unleash-client](https://togithub.com/Unleash/unleash-client-node) |
[`4.1.0-beta.5` ->
`4.1.0`](https://renovatebot.com/diffs/npm/unleash-client/4.1.0-beta.5/4.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/unleash-client/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unleash-client/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unleash-client/4.1.0-beta.5/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unleash-client/4.1.0-beta.5/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v4.1.0`](https://togithub.com/Unleash/unleash-client-node/releases/tag/v4.1.0)

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v4.1.0-beta.5...v4.1.0)

#### What's Changed

- feat: strategy variants by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#482
- fix: remove unused segment fields by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#489
- feat: expose config type by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#491
- fix:fetch lib with its deps by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#492
- fix: force get variant is back by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#493
- refactor: strategy variants inside strategy by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#494
- feat: variant on enabled toggle metrics by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#495
- chore(deps): update dependency nock to v13.3.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#488
- chore(deps): update dependency eslint to v8.45.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#490
- chore(deps): update typescript-eslint monorepo to v5.62.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#483
- chore(deps): update dependency eslint-config-airbnb-typescript to
v17.1.0 by [@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#487
- chore(deps): update dependency eslint-plugin-prettier to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#485
- feat: version bump non beta by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[Unleash/unleash-client-node#496

**Full Changelog**:
Unleash/unleash-client-node@v4.0.2...v4.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants