Skip to content

addressing greptile comments

37777a4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(flags): support mixed targeting in local evaluation #188

addressing greptile comments
37777a4
Select commit
Loading
Failed to load commit list.
GitHub Actions / xUnit Tests succeeded Apr 29, 2026 in 0s

806 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/PostHog.AI.Tests/TestResults/test-results.trx 19βœ… 4s
tests/UnitTests.AspNetCore/TestResults/test-results.trx 26βœ… 5s
tests/UnitTests/TestResults/test-results.trx 761βœ… 2βšͺ 7s

βœ…Β tests/PostHog.AI.Tests/TestResults/test-results.trx

19 tests were completed in 4s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PostHog.AI.Tests.PostHogAIExtensionsTests 5βœ… 257ms
PostHog.AI.Tests.PostHogOpenAIHandlerTests 14βœ… 396ms

βœ…Β tests/UnitTests.AspNetCore/TestResults/test-results.trx

26 tests were completed in 5s with 26 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HttpContextFeatureFlagCacheTests.TheGetAndCacheFeatureFlagsAsyncMethod 3βœ… 33ms
HttpContextFeatureFlagCacheTests.TheGetAndCacheFlagsAsyncMethod 11βœ… 1s
PostHogConfigurationBuilderExtensionsTests.TheUseAspNetCoreMethod 1βœ… 11ms
PostHogFeatureDefinitionProviderTests.TheGetAllFeatureDefinitionsAsyncMethod 1βœ… 42ms
PostHogFeatureDefinitionProviderTests.TheGetFeatureDefinitionAsyncMethod 1βœ… 22ms
PostHogFeatureFilterTests.TheEvaluateAsyncMethod 3βœ… 34ms
PostHogVariantFeatureManagerTests.TheGetFeatureNamesAsyncMethod 1βœ… 30ms
PostHogVariantFeatureManagerTests.TheGetVariantAsyncMethod 1βœ… 1s
PostHogVariantFeatureManagerTests.TheIsEnabledAsyncMethod 1βœ… 1s
RegistrationTests.TheAddPostHogMethod 3βœ… 787ms

βœ…Β tests/UnitTests/TestResults/test-results.trx

763 tests were completed in 7s with 761 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
AsyncBatchHandlerTests.TheDisposeAsyncMethod 4βœ… 254ms
AsyncBatchHandlerTests.TheEnqueueMethod 7βœ… 38ms
CapturedEventTests.TheConstructor 11βœ… 17ms
ConfigurationBuilderTests.TheBuildMethod 1βœ… 109ms
ConfigurationBuilderTests.TheConstructor 1βœ… 0ms
ConfigurationBuilderTests.TheUseMethod 1βœ… 1ms
FallbackFeatureFlagCacheTests.TheGetAndCacheFeatureFlagsAsyncMethod 2βœ… 24ms
FeatureFlagCacheKeyTests.TheGenerateMethod 28βœ… 30ms
FeatureFlagExtensionsTests.TheIsFeatureEnabledAsyncMethod 6βœ… 29ms
FeatureFlagsTests.ETagSupportTests 8βœ… 16ms
FeatureFlagsTests.FeatureFlagErrorTracking 15βœ… 69ms
FeatureFlagsTests.TheGetAllFeatureFlagsAsyncMethod 13βœ… 569ms
FeatureFlagsTests.TheGetFeatureFlagAsyncMethod 29βœ… 158ms
FeatureFlagsTests.TheIsFeatureFlagEnabledAsyncMethod 15βœ… 50ms
FeatureFlagsTests.TheQuotaLimitBehavior 6βœ… 36ms
FeatureFlagTests.TheCreateFromFlagsApiMethod 1βœ… 0ms
FeatureFlagTests.TheCreateFromLocalEvaluationMethod 1βœ… 0ms
FeatureFlagTests.TheEqualsMethod 2βœ… 4ms
FilterSerializationTests.TheDeserializeAsyncMethod 3βœ… 13ms
FlagsApiResultTests.TheNormalizeResultMethod 2βœ… 14ms
HttpClientExtensionsTests.TheDoubleWithCapMethod 8βœ… 11ms
HttpClientExtensionsTests.TheExponentialBackoffBehavior 2βœ… 0ms
HttpClientExtensionsTests.ThePostCompressedJsonAsyncMethod 2βœ… 7ms
HttpClientExtensionsTests.ThePostJsonWithRetryAsyncMethod 21βœ… 663ms
InMemoryFeatureFlagCacheTests.TheGetAndCacheFeatureFlagsAsyncMethod 2βœ… 10ms
InMemoryFeatureFlagCacheTests.TheGetAndCacheFlagsAsyncMethodWithPropertiesAndGroups 5βœ… 34ms
JsonSerializerHelperTests.TheDeserializeFromCamelCaseJsonMethod 13βœ… 86ms
JsonSerializerHelperTests.TheSerializeToCamelCaseJsonMethod 1βœ… 3ms
LocalEvaluatorTests.TheEvaluateFeatureFlagMethod 138βœ… 20ms
LocalEvaluatorTests.TheFlagDependencyEvaluationMethod 15βœ… 27ms
LocalEvaluatorTests.TheMatchesDependencyValueMethod 15βœ… 2ms
LocalEvaluatorTests.TheMixedTargetingEvaluation 6βœ… 46ms
LocalEvaluatorTests.TheSemverOperators 80βœ… 28ms
LocalFeatureFlagsLoaderTests.TheDisposeAsyncMethod 3βœ… 66ms
PayloadExtensionsTests.TheAddToPayloadMethod 5βœ… 4ms
PeriodicTimerTests.TheWaitForNextTickAsyncMethod 5βœ… 39ms
PostHogClientTests.TheCaptureExceptionMethod 10βœ… 1s
PostHogClientTests.TheCaptureMethod 11βœ… 31ms
PostHogClientTests.TheIdentifyGroupAsyncMethod 2βœ… 8ms
PostHogClientTests.TheIdentifyPersonAsyncMethod 4βœ… 33ms
PostHogClientTests.TheLoadFeatureFlagsAsyncMethod 7βœ… 2βšͺ 48ms
PropertyFilterValueTests.TheCompareToMethod 21βœ… 1ms
PropertyFilterValueTests.TheCreateMethod 6βœ… 17ms
PropertyFilterValueTests.TheEqualsMethod 2βœ… 1ms
PropertyFilterValueTests.TheIsExactMatchMethod 27βœ… 1ms
RegistrationTests.TheAddPostHogMethod 5βœ… 50ms
RelativeDateParserTests.TheParseMethod 15βœ… 1ms
RemoteConfigTests.TheGetRemoteConfigPayloadAsyncMethod 6βœ… 189ms
SemanticVersionTests.TheCompareToMethod 14βœ… 7ms
SemanticVersionTests.TheGetCaretBoundsMethod 25βœ… 6ms
SemanticVersionTests.TheGetTildeBoundsMethod 10βœ… 12ms
SemanticVersionTests.TheOperatorOverloads 12βœ… 2ms
SemanticVersionTests.TheToStringMethod 3βœ… 0ms
SemanticVersionTests.TheTryParseMethod 42βœ… 9ms
SemanticVersionTests.TheTryParseWildcardMethod 29βœ… 2ms
StringExtensionsTests.TheTruncateByBytesMethod 10βœ… 2ms
StringExtensionsTests.TheTruncateByCharactersMethod 8βœ… 1ms
StringOrValueSerializationTests.TheDeserializeMethod 2βœ… 12ms
StringOrValueSerializationTests.TheImplicitOperators 2βœ… 20ms
StringOrValueSerializationTests.TheSerializeMethod 6βœ… 36ms
StringOrValueTests.AssignmentTests 2βœ… 9ms
StringOrValueTests.EqualityTests 3βœ… 36ms