From d38367de9deaa6d8902469a3b4b2b0b97d16cdb6 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Tue, 28 Apr 2026 16:53:24 -0400 Subject: [PATCH 1/4] fix(flagd-provider): update fractional targeting test expectations for flagd v0.15.4 The fractional evaluator bucketing algorithm changed in flagd v0.15.4 (high-precision integer math replacing float-based bucketing), causing all color-palette-experiment assignments to shift. Updated expected values verified against the twmb/murmur3 + distributeValue logic used by flagd v0.15.4. Closes #73 Signed-off-by: Jonathan Norris --- .../spec/openfeature/flagd/provider_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb index 4bd1c97..175bb42 100644 --- a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb +++ b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb @@ -172,10 +172,10 @@ ) end - expect(fetch_value_with_targeting_key.call("1234")).to eq("#b91c1c") - expect(fetch_value_with_targeting_key.call("qwe")).to eq("#0284c7") - expect(fetch_value_with_targeting_key.call("abcd")).to eq("#16a34a") - expect(fetch_value_with_targeting_key.call("rfv")).to eq("#b91c1c") + expect(fetch_value_with_targeting_key.call("1234")).to eq("#4b5563") + expect(fetch_value_with_targeting_key.call("qwe")).to eq("#4b5563") + expect(fetch_value_with_targeting_key.call("abcd")).to eq("#0284c7") + expect(fetch_value_with_targeting_key.call("rfv")).to eq("#4b5563") end end From 50386f8528a6fc9a125c8f6344819b2932cbec63 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Tue, 28 Apr 2026 17:02:20 -0400 Subject: [PATCH 2/4] fix(flagd-provider): use distinct-variant targeting keys for fractional test Signed-off-by: Jonathan Norris --- .../spec/openfeature/flagd/provider_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb index 175bb42..5b4a8b7 100644 --- a/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb +++ b/providers/openfeature-flagd-provider/spec/openfeature/flagd/provider_spec.rb @@ -172,10 +172,10 @@ ) end - expect(fetch_value_with_targeting_key.call("1234")).to eq("#4b5563") - expect(fetch_value_with_targeting_key.call("qwe")).to eq("#4b5563") - expect(fetch_value_with_targeting_key.call("abcd")).to eq("#0284c7") - expect(fetch_value_with_targeting_key.call("rfv")).to eq("#4b5563") + expect(fetch_value_with_targeting_key.call("alice")).to eq("#b91c1c") + expect(fetch_value_with_targeting_key.call("bob")).to eq("#0284c7") + expect(fetch_value_with_targeting_key.call("charlie")).to eq("#16a34a") + expect(fetch_value_with_targeting_key.call("dave")).to eq("#4b5563") end end From b2430307c0fb32d9e8e73865aa9b3ebf45d65353 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Tue, 12 May 2026 17:17:28 -0400 Subject: [PATCH 3/4] fix(otel-hook): update bundler to 4.0.11 for Ruby head compatibility Signed-off-by: Jonathan Norris --- hooks/openfeature-otel-hook/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/openfeature-otel-hook/Gemfile.lock b/hooks/openfeature-otel-hook/Gemfile.lock index 7e6bd3e..a03db8d 100644 --- a/hooks/openfeature-otel-hook/Gemfile.lock +++ b/hooks/openfeature-otel-hook/Gemfile.lock @@ -123,4 +123,4 @@ DEPENDENCIES standard (~> 1.0) BUNDLED WITH - 2.7.1 + 4.0.11 From d88f64988e1ba944b14fa0693e52842ceba9739d Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Wed, 13 May 2026 09:54:17 -0400 Subject: [PATCH 4/4] ci: mark test_otel_hook (head) as non-blocking Signed-off-by: Jonathan Norris --- .github/workflows/ruby.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 1a0e96f..f2d6d66 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -181,10 +181,12 @@ jobs: test_otel_hook: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.ruby-version == 'head' }} defaults: run: working-directory: ./hooks/openfeature-otel-hook strategy: + fail-fast: false matrix: ruby-version: - "3.4"