Skip to content

feat(go-feature-flag)!: Introduce in-process evaluation #1384

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

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

thomaspoignant
Copy link
Member

@thomaspoignant thomaspoignant commented May 23, 2025

This PR

This is a complete rebuild of the GO Feature Flag provider.
This version is using a webassembly module to do in-process evaluation inside the provider.

You can still use the remote evaluation if you prefer through the OFREP endpoint of GO Feature Flag.

Things to know:

  • The wasm module is download during the process-resources of maven using this script.
  • The default evaluation method is now the in-process one.
  • If you are using the remote evaluation, we are not managing any cache.
  • The provider is also now supporting tracking method

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@thomaspoignant thomaspoignant requested a review from a team as a code owner May 23, 2025 16:56
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@thomaspoignant thomaspoignant force-pushed the goff-inprocess-eval branch 2 times, most recently from a3f31fd to 3e777b2 Compare May 24, 2025 09:33
@thomaspoignant thomaspoignant marked this pull request as draft May 24, 2025 09:35
@thomaspoignant thomaspoignant force-pushed the goff-inprocess-eval branch 5 times, most recently from b328b00 to 25ecbc0 Compare May 24, 2025 10:20
@thomaspoignant thomaspoignant marked this pull request as ready for review May 24, 2025 10:33
Signed-off-by: Thomas Poignant <[email protected]>
Copy link
Member

@liran2000 liran2000 left a comment

Choose a reason for hiding this comment

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

looking good :)
Added some comments.

Adding a section to the PR and the readme on the motivation to do in-process evaluation inside the provider can be nice too.

Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@thomaspoignant thomaspoignant requested a review from liran2000 May 26, 2025 05:32
Signed-off-by: Thomas Poignant <[email protected]>
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.

2 participants