Skip to content

Conversation

@khvn26
Copy link
Member

@khvn26 khvn26 commented Oct 20, 2025

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Closes #6192.

In this PR, we:

  • Remove FeatureContext.feature_key. Engine implementations should now use FeatureContext.name to match overrides.
  • Remove FlagResult.feature_key.
  • Remove SegmentResult.key as segment metadata is now used by SDKs to present the segment IDs in get_segment_result return values.
  • Improve documentation for the remaining key fields.

How did you test this code?

engine-test-data PR: Flagsmith/engine-test-data#33

@khvn26 khvn26 requested a review from a team as a code owner October 20, 2025 12:13
@khvn26 khvn26 requested review from gagantrivedi and removed request for a team October 20, 2025 12:13
@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
docs Ignored Ignored Preview Oct 22, 2025 10:42am
flagsmith-frontend-preview Ignored Ignored Preview Oct 22, 2025 10:42am
flagsmith-frontend-staging Ignored Ignored Preview Oct 22, 2025 10:42am

@github-actions github-actions bot added the chore label Oct 20, 2025
@github-actions github-actions bot added chore and removed chore labels Oct 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2025

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith:pr-6176 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-6176 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api-test:pr-6176 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-6176 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-6176 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-6176 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-6176 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-6176 Finished ✅ Results

@khvn26 khvn26 requested a review from Zaimwa9 October 21, 2025 15:21
@github-actions github-actions bot added chore and removed chore labels Oct 22, 2025
cursor[bot]

This comment was marked as outdated.

@khvn26
Copy link
Member Author

khvn26 commented Oct 23, 2025

I'm not merging this before Flagsmith/flagsmith-java-client#184 is merged since the latter relies heavily on code generation.

@khvn26 khvn26 dismissed Zaimwa9’s stale review October 24, 2025 14:41

The outstanding comment was addressed.

@khvn26 khvn26 merged commit 7b4f3b2 into main Oct 24, 2025
29 checks passed
@khvn26 khvn26 deleted the chore/evaluation-context0key branch October 24, 2025 14:41
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.

Remove FeatureContext.feature_key, SegmentResult.key

4 participants