Skip to content

feat: Add fractional evaluation for segments #849

feat: Add fractional evaluation for segments

feat: Add fractional evaluation for segments #849

Triggered via pull request March 26, 2026 02:15
Status Failure
Total duration 56s
Artifacts

main.yml

on: pull_request
test-build-and-publish
52s
test-build-and-publish
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
test-build-and-publish
Process completed with exit code 1.
Octopus.OpenFeature.Provider.SpecificationTests.FixtureEvaluationTests.Evaluate: src/Octopus.OpenFeature.Provider.SpecificationTests/FixtureEvaluationTests.cs#L32
Expected returns error when evaluating a toggle that returns a value of true but missing clientRolloutPercentage to be ErrorType.General {value: 5}, but found ErrorType.ParseError {value: 3}.
Octopus.OpenFeature.Provider.SpecificationTests.FixtureEvaluationTests.Evaluate: src/Octopus.OpenFeature.Provider.SpecificationTests/FixtureEvaluationTests.cs#L32
Expected returns error when evaluating a toggle that returns a value of true but missing segments to be ErrorType.General {value: 5}, but found ErrorType.ParseError {value: 3}.
Octopus.OpenFeature.Provider.SpecificationTests.FixtureEvaluationTests.Evaluate: src/Octopus.OpenFeature.Provider.SpecificationTests/FixtureEvaluationTests.cs#L32
Expected returns error when evaluating a toggle that returns a value of true but missing evaluationKey to be ErrorType.General {value: 5}, but found ErrorType.ParseError {value: 3}.
test-build-and-publish: src/Octopus.OpenFeature.Provider/OctopusFeatureContext.cs#L96
Dereference of a possibly null reference.
test-build-and-publish: src/Octopus.OpenFeature.Provider/OctopusFeatureContext.cs#L90
Possible null reference argument for parameter 'evaluationKey' in 'int OctopusFeatureContext.GetNormalizedNumber(string evaluationKey, string targetingKey)'.
test-build-and-publish: src/Octopus.OpenFeature.Provider/OctopusFeatureContext.cs#L96
Dereference of a possibly null reference.
test-build-and-publish: src/Octopus.OpenFeature.Provider/OctopusFeatureContext.cs#L90
Possible null reference argument for parameter 'evaluationKey' in 'int OctopusFeatureContext.GetNormalizedNumber(string evaluationKey, string targetingKey)'.