-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[paymentservice] Add paymentServiceFailure & paymentServiceUnreachable featureflags #1383
Conversation
Hey @EislM0203, nice to see you here 👋🏽 Before we check your PR, could you sign the EasyCLA? |
Hey there @julianocosta89, its also nice to see you 👋 ! Regarding the CLA, I am working on it |
2c0f7a4
to
4df9ce8
Compare
@julianocosta89 Done 🥳 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, quick question though.
Why are we adding 2 environment variables if the error is the same?
I mean, the msg is different, but all the rest is the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make a similar comment to the one I made for #1382 -- these are fairly blunt failure scenarios (I'm more inclined to favor them since we don't have payment service flags yet iirc) but I'm curious as to the desired observability scenarios we're enabling here.
@julianocosta89 @austinlparker There is an exception with the payment provider For some reason the service is unavailable Also, the main difference in the implementation of the two featureflags is the location in which the error is thrown. For the I hope this clears up your questions :) |
I like the idea of a service being unreachable, thus I struggle to see the value from the |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@puckpuck Regarding the Regarding the I hope this answers your questions/comments. |
@EislM0203 we have just merged a PR that removed the current FeatureFlagService in favour of OpenFeature and FlagD. |
@julianocosta89 Sure, I will look into it |
Changes
Add the featureflags
paymentServiceFailure
&paymentServiceUnreachable
.Added
grpc-ff-client.js
for communication with the featureflagservice.Merge Requirements
For new features contributions please make sure you have completed the following
essential items:
CHANGELOG.md
updated to document new feature additions