Skip to content

fix(flags): Add local_evaluation_only option to prevent remote API fallback#83

Merged
dmarticus merged 1 commit intomainfrom
dmarticus/fix-gzip-capture
Mar 27, 2026
Merged

fix(flags): Add local_evaluation_only option to prevent remote API fallback#83
dmarticus merged 1 commit intomainfrom
dmarticus/fix-gzip-capture

Conversation

@dmarticus
Copy link
Copy Markdown
Contributor

When enable_local_evaluation is true, get_feature_flag falls back to an HTTP POST if local evaluation is inconclusive. This new option lets latency-sensitive callers opt out of that fallback, returning Ok(None) instead of making a network call.

Fixes #75

When enable_local_evaluation is true, get_feature_flag falls back to an
HTTP POST if local evaluation is inconclusive. This new option lets
latency-sensitive callers opt out of that fallback, returning Ok(None)
instead of making a network call.

Fixes #75
@dmarticus dmarticus requested a review from a team March 26, 2026 21:11
@marandaneto
Copy link
Copy Markdown
Member

missing the release bits https://github.com/PostHog/posthog-rs#releasing

@dmarticus dmarticus merged commit 987e83d into main Mar 27, 2026
10 checks passed
@dmarticus dmarticus deleted the dmarticus/fix-gzip-capture branch March 27, 2026 15:33
@dmarticus dmarticus mentioned this pull request Mar 27, 2026
2 tasks
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.

Local evaluation falls back to remote API on inconclusive results

2 participants