Repository navigation
feat: Add evaluation tests for old user built-in attributes - #555
Merged
Merged
Conversation
Generated-by: termag
kinyoklion
pushed a commit
that referenced
this pull request
Nov 3, 2026
🤖 I have created a release *beep* *boop* --- ## [3.2.0-alpha.16](v3.2.0-alpha.15...v3.2.0-alpha.16) (2026-11-03) ### Features * Add evaluation tests for a segment referenced more than once ([#553](#553)) ([96e64a8](96e64a8)) * Add evaluation tests for clause values of the wrong type ([#550](#550)) ([e5abd40](e5abd40)) * Add evaluation tests for falsy and look-alike variation values ([#554](#554)) ([57692bd](57692bd)) * Add evaluation tests for numbers in exponent notation ([#551](#551)) ([e5788fe](e5788fe)) * Add evaluation tests for old user built-in attributes ([#555](#555)) ([411a4df](411a4df)) * Add evaluation tests for rollout bucket boundaries and seeded rollouts ([#552](#552)) ([c17486a](c17486a)) * Add flag override tests for a client whose store holds flags without the init key ([#539](#539)) ([3c1ba64](3c1ba64)) ### Bug Fixes * Make evaluation data files test what they claim ([#556](#556)) ([e3b844d](e3b844d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > **Release 3.2.0-alpha.16** bumps the harness version in `main.go`, `.release-please-manifest.json`, and documents the release in `CHANGELOG.md`. > > This alpha release **expands SDK contract coverage** rather than changing harness runtime behavior in the diff itself. New **evaluation** scenarios cover segments referenced multiple times, clause values with wrong types, falsy or look-alike variation values, exponent-notation numbers, legacy user built-in attributes, and rollout bucket boundaries with seeded rollouts. **Flag override** tests now include a client whose persistent store holds flags **without the init key**. > > A **bug fix** aligns evaluation data files with the behaviors they are meant to exercise ([#556](#556)), which may surface new failures in SDKs that were passing mismatched fixtures. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 046db1b. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Ports #546 from
v2tov3. It adds server-side evaluation cases for clauses on the old user model's built-in attributes.Testing: all new cases pass on the v3 suite with each SDK's CI suppressions, against Go, Java, Node, Python (sync and async), Ruby, .NET, Rust and C++ (both network backends). No other test result changed.
Opened from termag
Note
Overview
Adds
old-user-builtin-attrs.ymlto the server-side evaluation harness, porting coverage from v2 (#546).The file parameterizes over the legacy user fields firstName, lastName, email, avatar, country, and ip, with a single
in-clause rule per attribute. For each field it asserts rule match, fallthrough on a wrong value, and fallthrough when the attribute is absent. The harness is expected to run the same scenarios for context-style users and equivalent old-style users (top-level properties), with identical results.Reviewed by Cursor Bugbot for commit 8bad42e. Bugbot is set up for automated code reviews on this repo. Configure here.