Repository navigation
feat: Every SDK includes reason in responses for identity and environment flags - #114
Conversation
Flagsmith returns a reason for every flag from /flags/ and /identities/, and Flag already parses and stores it. Pass it through the spec steps so SDK spec v0.10.0 can check it, cover reasons for environment and identity flags in client tests, and document the field. Contributes to Flagsmith/sdk-spec#27 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Pushed 5645f9a, which makes the SDK spec v0.10.0 checks pass. Why CI was red. v0.10.0 checks each flag's
What changed.
Verified locally. |
There was a problem hiding this comment.
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds the existing nullable flag reason to the sdk-spec output, documents it in the README, pins the spec workflow to v0.10.0, and adds tests covering environment, identity, cache, and null cases. The change is bounded, additive, and well-tested.
Turn on auto-fix | Re-trigger cubic
The SDK spec checks flag reasons end to end, and SDKs are documented on the docs site. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds the existing nullable reason field to sdk-spec flag output and bumps the sdk-spec workflow from v0.9.0 to v0.10.0 in sync. Both changes are spec/tooling-only and additive, with no production behavior or public API impact.
Turn on auto-fix | Re-trigger cubic
🤖 I have created a release *beep* *boop* --- ## [6.4.0](v6.3.0...v6.4.0) (2026-11-20) ### Features * Every SDK includes `reason` in responses for identity and environment flags ([#114](#114)) ([6fe215e](6fe215e)) --- 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 #93