Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PostHog/posthog-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.1
Choose a base ref
...
head repository: PostHog/posthog-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.10.0
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Jun 5, 2026

  1. feat(feature-flags): support early_exit in local evaluation (#126)

    * feat(feature-flags): support early_exit in local evaluation
    
    Read the `early_exit` boolean from a feature flag's `filters` (default false)
    and short-circuit local evaluation to a definitive disabled result when a
    condition group's property filters match (or there are none) but the rollout
    percentage excludes the user. A property-filter mismatch always falls through,
    regardless of `early_exit`, preserving existing semantics when the option is
    unset or false.
    
    Models the per-group outcome with a tri-state `ConditionMatch` enum
    (Match / NoMatch / OutOfRolloutBound) so rollout exclusion is distinguished
    from property mismatch, mirroring the PostHog Rust evaluation engine and the
    posthog-node/posthog-python ports.
    
    Generated-By: PostHog Code
    Task-Id: 707b13a5-0e5d-4764-915a-21e1f2a80c63
    
    * fix(feature-flags): guard early_exit on !is_inconclusive, add with_context tests
    
    * test(feature-flags): parameterise early_exit tests and add inconclusive guard coverage
    gustavohstrassburger authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    b4a60a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3b61c7 View commit details
    Browse the repository at this point in the history
Loading