Repository navigation
feat: Every SDK includes reason in responses for identity and environment flags - #327
Conversation
Flags already carry the reason Flagsmith or the local evaluation engine evaluated them with. Pass it to the spec, and cover local evaluation reasons for environment and identity flags with unit tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed bdd9a29 to pass SDK spec v0.10.0, which now checks each flag's Cause of the failure: the SDK already sets Changes:
Locally, the full vitest suite passes (505 tests). I did not run the spec itself locally. |
There was a problem hiding this comment.
No issues found across 5 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds reason to environment and identity flag outputs in the sdk-spec harness, bumps the spec workflow to v0.10.0, and adds tests pinning local-evaluation reasons. Bounded spec-conformance change with clear motivation and test coverage.
Turn on auto-fix | Re-trigger cubic
🤖 I have created a release *beep* *boop* --- ## [9.5.0](v9.4.0...v9.5.0) (2026-11-20) ### Features * Every SDK includes `reason` in responses for identity and environment flags ([#327](#327)) ([957b1e8](957b1e8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Contributes to Flagsmith/sdk-spec#27
Closes #293