Skip to content

feat: Implement SDK spec v0.7.0 - #125

Closed
flagsmithsmith[bot] wants to merge 4 commits into
mainfrom
openhands/sdk-spec-v0.7.0
Closed

flagsmithsmith[bot] wants to merge 4 commits into
mainfrom
openhands/sdk-spec-v0.7.0

Conversation

@flagsmithsmith

@flagsmithsmith flagsmithsmith Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Implements the SDK spec's v0.7.0 in this SDK.

This pull request was opened by an AI agent (OpenHands).

renovate Bot and others added 4 commits October 29, 2026 19:54
Implements SDK spec v0.6.0's getExperimentFlag, trackEvent and
trackExposureEvent. With `enable_events: true`, the client buffers events
and sends them in batches to the Flagsmith events API (`events_api_url`).
`get_experiment_flag` records an identity's exposure to the variant it was
served when it is in the feature's running experiment, which flags now
expose as `variant` and `experiment`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3ec4437)
A slow or failing events API request held the flush lock while every
further event past the buffer limit started another flush thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2526c08)
- Stop running event processors at exit from one registry that a
  stopped processor leaves, instead of an at_exit block per start that
  kept every processor in memory.
- Drop the identifier from the duplicate exposure debug log.
- Give the accurate reason when get_experiment_flag skips an exposure
  because flags come from the environment document, which carries no
  experiment data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f829d07)
@flagsmithsmith flagsmithsmith Bot added the sdk-spec Bumps of the Flagsmith SDK behavioural spec label Nov 5, 2026
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2a0d13a5-c541-444b-a24b-149b9bd0f1e4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@flagsmithsmith

flagsmithsmith Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #127, which carries this pull request's implementation work, for the SDK spec's latest version.

@flagsmithsmith flagsmithsmith Bot closed this Nov 5, 2026
@flagsmithsmith
flagsmithsmith Bot deleted the openhands/sdk-spec-v0.7.0 branch November 5, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-spec Bumps of the Flagsmith SDK behavioural spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants