Skip to content

fix: various custom operator conformance fixes - #1950

Merged
toddbaert merged 4 commits into
open-feature:mainfrom
open-feature-forking:fix/evaluation-edge-cases
Apr 30, 2026
Merged

toddbaert merged 4 commits into
open-feature:mainfrom
open-feature-forking:fix/evaluation-edge-cases

Conversation

@leakonvalinka

@leakonvalinka leakonvalinka commented Apr 17, 2026 •

Copy link
Copy Markdown
Member

@netlify

netlify Bot commented Apr 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for polite-licorice-3db33c canceled.

Name Link
🔨 Latest commit 9c91740
🔍 Latest deploy log https://app.netlify.com/projects/polite-licorice-3db33c/deploys/69f3547adc0e0b0008edcdc3

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request fixes an indentation issue in fractional.go and updates the semantic version parsing logic in semver.go to normalize uppercase 'V' prefixes. Additionally, a test case was added to semver_test.go to verify this normalization. I have no feedback to provide.

@leakonvalinka
leakonvalinka force-pushed the fix/evaluation-edge-cases branch 2 times, most recently from 224b4d5 to 4d2eb3b Compare April 23, 2026 13:40
@leakonvalinka
leakonvalinka marked this pull request as ready for review April 23, 2026 13:55
@leakonvalinka
leakonvalinka requested review from a team as code owners April 23, 2026 13:55
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 23, 2026
@toddbaert toddbaert changed the title fix: evaluation inconsistencies fix: various custom operator conformance fixes Apr 23, 2026
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Apr 23, 2026

@toddbaert toddbaert left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leakonvalinka Thanks!

Looks great. I made some small tweaks for consistency with other implementations with this commit:

  • used a JSON "round trip" to make the $ref replace much easier (because whitespace will be predictable)
  • renamed a func (parseSemanticVersion to normalizeVersion)

I also updated the go-flagd-provider in use, which means we could update some of the excludes here (for instance, we were still using fractional-v1). I also added a comment here explaining why a lot of the exclusions are permanent and justified.

@toddbaert
toddbaert force-pushed the fix/evaluation-edge-cases branch from 39c4820 to 9c91740 Compare April 30, 2026 13:09
@sonarqubecloud

Copy link
Copy Markdown

@toddbaert
toddbaert merged commit 670c91c into open-feature:main Apr 30, 2026
13 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 28, 2026
toddbaert added a commit that referenced this pull request Apr 30, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>flagd: 0.15.5</summary>

##
[0.15.5](flagd/v0.15.4...flagd/v0.15.5)
(2026-04-30)


### 🐛 Bug Fixes

* handle missing/null targeting keys in fractional evaluator
([#1949](#1949))
([651c7bb](651c7bb))
* override otel service name and version
([#1956](#1956))
([ec4ff12](ec4ff12))
* update jsonlogic for and/or bug
([#1957](#1957))
([6edd6e8](6edd6e8))
* various custom operator conformance fixes
([#1950](#1950))
([670c91c](670c91c))
</details>

<details><summary>flagd-proxy: 0.9.5</summary>

##
[0.9.5](flagd-proxy/v0.9.4...flagd-proxy/v0.9.5)
(2026-04-30)


### 🧹 Chore

* resolve open dependabot security alerts
([#1954](#1954))
([c5adbb7](c5adbb7))
</details>

<details><summary>core: 0.15.5</summary>

##
[0.15.5](core/v0.15.4...core/v0.15.5)
(2026-04-30)


### 🐛 Bug Fixes

* handle missing/null targeting keys in fractional evaluator
([#1949](#1949))
([651c7bb](651c7bb))
* override otel service name and version
([#1956](#1956))
([ec4ff12](ec4ff12))
* update jsonlogic for and/or bug
([#1957](#1957))
([6edd6e8](6edd6e8))
* various custom operator conformance fixes
([#1950](#1950))
([670c91c](670c91c))


### 🧹 Chore

* resolve open dependabot security alerts
([#1954](#1954))
([c5adbb7](c5adbb7))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Signed-off-by: OpenFeature Bot <[email protected]>
Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Todd Baert <[email protected]>
@toddbaert
toddbaert deleted the fix/evaluation-edge-cases branch April 30, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update flagd-testbed to v3.6.2 and fix evaluation edge cases

4 participants