docs(feature-flags): add clear_feature_flags scope API spec (1.0.2)#18660
Open
romtsn wants to merge 3 commits into
Open
docs(feature-flags): add clear_feature_flags scope API spec (1.0.2)#18660romtsn wants to merge 3 commits into
romtsn wants to merge 3 commits into
Conversation
Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
adinauer
approved these changes
Jul 8, 2026
cleptric
reviewed
Jul 8, 2026
Member
There was a problem hiding this comment.
Can we make it clear that all exposed functions mentioned on this page should be exposed on the scope?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Adds a
clear_feature_flagsscope API section to the Feature Flags SDK spec, bumping the spec to 1.0.2.What changed
SpecSectiondocumenting theclear_feature_flagsAPI on scope1.0.1 → 1.0.2with changelog entryWhy
This surfaced during sentry-cocoa feature flag work (getsentry/sentry-cocoa#8364). sentry-java already ships this API (JAVA-512). Cocoa is aligning with Java, and the spec had no entry for it, leading to inconsistency across SDKs. The Slack thread in #team-sdks confirmed the team wants this as a scope-level API (not on spans) to help users — particularly those running large numbers of experiments — discard stale evaluations before capturing an error event.
Verified
Content consistency review: frontmatter spec version and changelog entry are consistent; RFC 2119 keywords are uppercase and bold per AGENTS.md;
SpecSectionid/status/since attributes follow existing patterns.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
--
View Junior Session in Sentry