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

[Bug] Global Webhooks do not report all possible SDK payload changes #2525

Closed
dlemaigl opened this issue May 15, 2024 · 5 comments · Fixed by #2533
Closed

[Bug] Global Webhooks do not report all possible SDK payload changes #2525

dlemaigl opened this issue May 15, 2024 · 5 comments · Fixed by #2533
Labels
bug Something isn't working

Comments

@dlemaigl
Copy link

Summary

The Global Playbooks documentation states that the webhook is triggered when the SDK payload changes, but there are some cases where this is not the case, like when the user changes the SDK to be encrypted. Creations and deletions are also not notified.

Expected Behavior

All operations that change, create, or delete SDKs in any way should be notified

Current Behavior

Only a subset of operations like feature flag changes are notified.

@dlemaigl dlemaigl added the bug Something isn't working label May 15, 2024
@jdorn jdorn linked a pull request May 15, 2024 that will close this issue
@august-growthbook
Copy link
Contributor

Hi @jdorn did the PR that closed this issue include creations and deletions of SDK Connections? The person who submitted this issue (@dlemaigl) says the creation and deletion is still not included.

@jdorn
Copy link
Member

jdorn commented May 23, 2024

Yes, this should have been fixed by this line in the PR: https://github.com/growthbook/growthbook/pull/2533/files#diff-f309a8a4f4821ef9e4a16b37dd6bbdf990b6eed36cd436bff2605ada341a20ecR76

If the bug is still happening, can you include steps to reproduce along with the build version/date you are running?

@dlemaigl
Copy link
Author

dlemaigl commented May 27, 2024

Hi @jdorn,

I am testing version a502b5d, the last one from today. The steps to reproduce the bug are the following:

  1. Configure a Global Webhook -> WEBHOOKS=[{"url":"http://XXXXX","sendPayload":true}]
  2. Create a FF
  3. Create an SDK. The Global webhook will not be triggered
  4. Change the value of the FF, The GW will be triggered
  5. Delete the SDK. The GW will not be triggered

steps

@august-growthbook
Copy link
Contributor

@dlemaigl We just merged a fix for this: #2592

Please let me know if you are still seeing any issues.

@dlemaigl
Copy link
Author

dlemaigl commented Jun 3, 2024

@august-growthbook, now it triggers correctly on create SDK but when deleting the SDK it does not trigger it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants