You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update engine test data
* fetch flags using eval ctx for env flags
* use context for identity flags
* store and use engine eval context instead of env doc
* use eval context for getidentity segments
* Refactor: Move evaluator to engine_eval
* rename
* remove makefile trigger
* misc
* squash!
* use the new schema
* Bump major version
* Add missing operators
* remove old interface
* update engine test data
* remove go get
* use go 1.24
* refactor: create a function for processing segments
* refac: create a diff function for processing features
* refac: squash
* Don't use pointer for feature context
* refac default priority
* refac splitoperator
* use stringArry for in operator
* more refac and add reason to mv
* misc
* use any
* use generic for segment operator
* Short-Circuit conditions
* review change
* use new integration tests
* fix percentage split operator
* rename some functions
* cleanup/refac
* feat: Add support for .jsonc test files with comments using hujson
- Added github.com/tailscale/hujson dependency for parsing JSON with comments
- Updated integration tests to discover and process both .json and .jsonc files
- JSONC files are automatically standardized to JSON before parsing
- Improved test file name extraction to handle multiple extensions
* fix: Configure misspell linter
* make matching condition more dry
* bump engine test data
* move trait to it's own package to avoid circular import
* clean mappers
* use segment metadata to filter identity segments
* use v2.1.0 tag
* get rid of ValueUnion
* compare segmes
* fix: handle JSONPath fallback for non-primitive values and invalid paths
- Update engine-test-data to v2.3.0 for new test cases
- Add isPrimitive() helper to detect non-primitive JSONPath results
- Fall back to trait lookup when JSONPath returns objects/arrays
- Fall back to trait lookup when JSONPath parsing fails
- Fixes edge cases with trait keys that look like JSONPath (e.g., '$.identity')
* feat: add priority sorting for multivariate feature variants
- Add Priority field to FeatureValue struct
- Sort variants by priority before weight-based selection
- Lower priority value = higher priority when variants overlap
- Fixes multivariate feature flag variant priority sorting
* Use feature value id as priority?
* compare segment metadata
* Add env name
* use feat/variant-priority-sorting
* fix non-deterministic map iteration order
* use big int for priority
* fix mapper
* use engine-test-data v2.4.0
* implement feature metadata and bump engine-test-data
0 commit comments