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

Move URL check higher up SDK _run chain #1883

Merged
merged 5 commits into from Jan 17, 2024
Merged

Move URL check higher up SDK _run chain #1883

merged 5 commits into from Jan 17, 2024

Conversation

bttf
Copy link
Collaborator

@bttf bttf commented Nov 27, 2023

This fixes a bug occurring with visual experiments and preview links when the experiment had multiple pages.

It effectively moves our URL targeting check up in the series of checks in _run so that we exit earlier for experiments that do not have applicable URL targeting.

Tested locally and works as expected

Copy link

Your preview environment pr-1883-bttf has been deployed.

Preview environment endpoints are available at:

@bttf bttf marked this pull request as ready for review November 30, 2023 20:35
@jdorn
Copy link
Member

jdorn commented Dec 5, 2023

We should add a unit test for this - one that fails on main and passes on this branch. We're going to make other changes near here soon and want to make sure we don't have a regression.

@bttf
Copy link
Collaborator Author

bttf commented Dec 13, 2023

We should add a unit test for this - one that fails on main and passes on this branch. We're going to make other changes near here soon and want to make sure we don't have a regression.

Tests added for existing and new functionality re: preview links in the SDK

@bttf bttf merged commit 6111123 into main Jan 17, 2024
3 checks passed
@bttf bttf deleted the adnan/fix-preview-links branch January 17, 2024 21:19
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.

None yet

2 participants