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

remove errorneous error logging and db inserts in group experiment assign call #2148

Merged

Conversation

danoswaltCL
Copy link
Collaborator

const experimentToExcludeIds = experimentToExclude.map((experiment) => experiment.id);

// throw error user group not defined and add experiments which are excluded
experimentToExclude.forEach(({ id, name }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should keep the logger and comment out the insertion in the database.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's not just the insert that is a problem, when i was testing this yesterday, the log and insert both are called for no reason for most users, regardless of if they have an invalid group or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

#2147 (comment) i can demonstrate this in my local in mtg

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will spawn a ticket to revisit this to figure out what the correct warnings we actually value for the scenarios where there really is working-group / group metadata issues.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@danoswaltCL
Copy link
Collaborator Author

@VivekFitkariwala can i merge this?

bcb37
bcb37 previously approved these changes Dec 5, 2024
@danoswaltCL danoswaltCL dismissed VivekFitkariwala’s stale review December 5, 2024 16:49

discussed in mtg, spawned a new issue

@danoswaltCL danoswaltCL requested a review from bcb37 December 5, 2024 17:03
@danoswaltCL danoswaltCL merged commit fd0b44b into release/6.0 Dec 5, 2024
14 checks passed
@danoswaltCL danoswaltCL deleted the bugfix/do-not-insert-group-experiment-erros branch December 5, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants