Skip to content

feat(flags): switch local evaluation endpoint to /flags/definitions#121

Merged
patricio-posthog merged 1 commit intomainfrom
feat/flags-definitions-endpoint
Apr 21, 2026
Merged

feat(flags): switch local evaluation endpoint to /flags/definitions#121
patricio-posthog merged 1 commit intomainfrom
feat/flags-definitions-endpoint

Conversation

@patricio-posthog
Copy link
Copy Markdown
Contributor

Motivation and Context

The Rust feature flags definitions fleet now serves 100% of /api/feature_flag/local_evaluation traffic in all environments. This switches the SDK's default polling URL from the legacy Django path to the Rust endpoint's native path (/flags/definitions).

The old /api/feature_flag/local_evaluation path remains registered as a route alias on the Rust service, so older SDK versions continue to work.

How did you test it?

  • Updated all WebMock stub URLs across 5 spec files
  • The /flags/definitions endpoint has been serving production traffic since 2026-04-09

@patricio-posthog patricio-posthog requested a review from a team as a code owner April 15, 2026 19:35
@patricio-posthog patricio-posthog force-pushed the feat/flags-definitions-endpoint branch from 559fdaf to a8db8d6 Compare April 21, 2026 13:48
@patricio-posthog patricio-posthog merged commit 52f53cd into main Apr 21, 2026
14 checks passed
@patricio-posthog patricio-posthog deleted the feat/flags-definitions-endpoint branch April 21, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants